diff --git a/.buildkite/scripts/steps/functional/serverless_ftr.sh b/.buildkite/scripts/steps/functional/serverless_ftr.sh index 80b32dddfbd23..49c597ff065d5 100755 --- a/.buildkite/scripts/steps/functional/serverless_ftr.sh +++ b/.buildkite/scripts/steps/functional/serverless_ftr.sh @@ -20,6 +20,7 @@ elif [[ "$SERVERLESS_ENVIRONMENT" == "security" ]]; then SERVERLESS_CONFIGS=( "x-pack/test_serverless/api_integration/test_suites/security/config.ts" "x-pack/test_serverless/functional/test_suites/security/config.ts" + "x-pack/test_serverless/functional/test_suites/security/cypress/config_headless.ts" ) fi diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 00dd762c71601..86f29c620b829 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -871,6 +871,9 @@ x-pack/plugins/infra/server/lib/alerting @elastic/actionable-observability /x-pack/test/functional/services/uptime @elastic/uptime /x-pack/test/api_integration/apis/uptime @elastic/uptime /x-pack/test/api_integration/apis/synthetics @elastic/uptime +/x-pack/test/alerting_api_integration/observability/synthetics_rule.ts @elastic/uptime +/x-pack/test/alerting_api_integration/observability/index.ts @elastic/uptime + # Client Side Monitoring / Uptime (lives in APM directories but owned by Uptime) /x-pack/plugins/apm/public/application/uxApp.tsx @elastic/uptime diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 458a5e8c9a600..6afc14acb1efd 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2023-07-05 +date: 2023-07-06 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 d9b48790601d4..68838ac4ed30d 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2023-07-05 +date: 2023-07-06 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 af01029abd03c..4f20eb3e724f9 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2023-07-05 +date: 2023-07-06 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 c967aa3c52c1b..ed55cb1c61a0c 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -2404,6 +2404,443 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule", + "type": "Interface", + "tags": [], + "label": "Rule", + "description": [], + "signature": [ + { + "pluginId": "alerting", + "scope": "server", + "docId": "kibAlertingPluginApi", + "section": "def-server.Rule", + "text": "Rule" + }, + "" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "alerting", + "id": "def-server.Rule.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.tags", + "type": "Array", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.alertTypeId", + "type": "string", + "tags": [], + "label": "alertTypeId", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.consumer", + "type": "string", + "tags": [], + "label": "consumer", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.schedule", + "type": "Object", + "tags": [], + "label": "schedule", + "description": [], + "signature": [ + "{ readonly interval: string; }" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.actions", + "type": "Array", + "tags": [], + "label": "actions", + "description": [], + "signature": [ + "Readonly<{ frequency?: Readonly<{} & { throttle: string | null; notifyWhen: \"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"; summary: boolean; }> | undefined; alertsFilter?: Readonly<{ query?: Readonly<{ dsl?: string | undefined; } & { kql: string; filters: Readonly<{ query?: Record | undefined; state$?: Readonly<{} & { store: string; }> | undefined; } & { meta: Record; }>[]; }> | undefined; timeframe?: Readonly<{} & { days: (2 | 7 | 6 | 5 | 4 | 3 | 1)[]; hours: Readonly<{} & { start: string; end: string; }>; timezone: string; }> | undefined; } & {}> | undefined; uuid?: string | undefined; } & { id: string; params: Record; actionTypeId: string; group: string; }>[]" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.params", + "type": "Uncategorized", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "Params" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.mapped_params", + "type": "Object", + "tags": [], + "label": "mapped_params", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.scheduledTaskId", + "type": "string", + "tags": [], + "label": "scheduledTaskId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.createdBy", + "type": "CompoundType", + "tags": [], + "label": "createdBy", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.updatedBy", + "type": "CompoundType", + "tags": [], + "label": "updatedBy", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.createdAt", + "type": "Object", + "tags": [], + "label": "createdAt", + "description": [], + "signature": [ + "Date" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.updatedAt", + "type": "Object", + "tags": [], + "label": "updatedAt", + "description": [], + "signature": [ + "Date" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.apiKeyOwner", + "type": "CompoundType", + "tags": [], + "label": "apiKeyOwner", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.apiKeyCreatedByUser", + "type": "CompoundType", + "tags": [], + "label": "apiKeyCreatedByUser", + "description": [], + "signature": [ + "boolean | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.throttle", + "type": "CompoundType", + "tags": [], + "label": "throttle", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.muteAll", + "type": "boolean", + "tags": [], + "label": "muteAll", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.notifyWhen", + "type": "CompoundType", + "tags": [], + "label": "notifyWhen", + "description": [], + "signature": [ + "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\" | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.mutedInstanceIds", + "type": "Array", + "tags": [], + "label": "mutedInstanceIds", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.executionStatus", + "type": "Object", + "tags": [], + "label": "executionStatus", + "description": [], + "signature": [ + "RuleExecutionStatus" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.monitoring", + "type": "Object", + "tags": [], + "label": "monitoring", + "description": [], + "signature": [ + "Readonly<{} & { run: Readonly<{} & { history: Readonly<{ outcome?: Readonly<{ warning?: \"execute\" | \"license\" | \"validate\" | \"timeout\" | \"unknown\" | \"read\" | \"decrypt\" | \"disabled\" | \"maxExecutableActions\" | \"maxAlerts\" | null | undefined; outcomeOrder?: number | undefined; outcomeMsg?: string[] | null | undefined; } & { outcome: \"warning\" | \"succeeded\" | \"failed\"; alertsCount: Readonly<{ recovered?: number | null | undefined; active?: number | null | undefined; new?: number | null | undefined; ignored?: number | null | undefined; } & {}>; }> | undefined; duration?: number | undefined; } & { timestamp: number; success: boolean; }>[]; calculated_metrics: Readonly<{ p50?: number | undefined; p95?: number | undefined; p99?: number | undefined; } & { success_ratio: number; }>; last_run: Readonly<{} & { timestamp: string; metrics: Readonly<{ duration?: number | undefined; total_search_duration_ms?: number | null | undefined; total_indexing_duration_ms?: number | null | undefined; total_alerts_detected?: number | null | undefined; total_alerts_created?: number | null | undefined; gap_duration_s?: number | null | undefined; } & {}>; }>; }>; }> | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.snoozeSchedule", + "type": "Array", + "tags": [], + "label": "snoozeSchedule", + "description": [], + "signature": [ + "Readonly<{ id?: string | undefined; skipRecurrences?: string[] | undefined; } & { duration: number; rRule: Readonly<{ count?: number | undefined; interval?: number | undefined; freq?: 0 | 2 | 6 | 5 | 4 | 3 | 1 | undefined; until?: string | undefined; wkst?: \"MO\" | \"TU\" | \"WE\" | \"TH\" | \"FR\" | \"SA\" | \"SU\" | undefined; byweekday?: (string | number)[] | undefined; bymonth?: number[] | undefined; bysetpos?: number[] | undefined; } & { dtstart: string; tzid: string; bymonthday: number[]; byyearday: number[]; byweekno: number[]; byhour: number[]; byminute: number[]; bysecond: number[]; }>; }>[] | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.activeSnoozes", + "type": "Array", + "tags": [], + "label": "activeSnoozes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.isSnoozedUntil", + "type": "CompoundType", + "tags": [], + "label": "isSnoozedUntil", + "description": [], + "signature": [ + "Date | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.lastRun", + "type": "CompoundType", + "tags": [], + "label": "lastRun", + "description": [], + "signature": [ + "Readonly<{ warning?: \"execute\" | \"license\" | \"validate\" | \"timeout\" | \"unknown\" | \"read\" | \"decrypt\" | \"disabled\" | \"maxExecutableActions\" | \"maxAlerts\" | null | undefined; outcomeOrder?: number | undefined; outcomeMsg?: string[] | null | undefined; } & { outcome: \"warning\" | \"succeeded\" | \"failed\"; alertsCount: Readonly<{ recovered?: number | null | undefined; active?: number | null | undefined; new?: number | null | undefined; ignored?: number | null | undefined; } & {}>; }> | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.nextRun", + "type": "CompoundType", + "tags": [], + "label": "nextRun", + "description": [], + "signature": [ + "Date | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.revision", + "type": "number", + "tags": [], + "label": "revision", + "description": [], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.running", + "type": "CompoundType", + "tags": [], + "label": "running", + "description": [], + "signature": [ + "boolean | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.Rule.viewInAppRelativeUrl", + "type": "CompoundType", + "tags": [], + "label": "viewInAppRelativeUrl", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "alerting", "id": "def-server.RuleExecutorOptions", @@ -2798,6 +3235,10 @@ "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/alerting/metric_anomaly/metric_anomaly_executor.ts" }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/alerts/base_rule.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/notifications/legacy_rules_notification_alert_type.ts" @@ -2806,10 +3247,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/route.ts" }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/alerts/base_rule.ts" - }, { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts" @@ -4151,7 +4588,7 @@ "text": "RuleTypeParams" }, " = never>(params: ", - "CreateOptions", + "CreateRuleParams", ") => Promise<", { "pluginId": "alerting", @@ -7952,7 +8389,7 @@ "label": "status", "description": [], "signature": [ - "\"ok\" | \"error\" | \"active\" | \"pending\" | \"unknown\" | \"warning\"" + "\"ok\" | \"error\" | \"active\" | \"warning\" | \"pending\" | \"unknown\"" ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -10024,7 +10461,7 @@ "signature": [ "Omit<", "Options", - ", \"wkst\" | \"byweekday\" | \"dtstart\" | \"until\"> & { dtstart: string; byweekday?: (string | number)[] | undefined; wkst?: ", + ", \"dtstart\" | \"until\" | \"wkst\" | \"byweekday\"> & { dtstart: string; byweekday?: (string | number)[] | undefined; wkst?: ", { "pluginId": "@kbn/rrule", "scope": "common", @@ -10142,7 +10579,7 @@ "label": "RuleAlertingOutcome", "description": [], "signature": [ - "\"unknown\" | \"warning\" | \"failure\" | \"success\"" + "\"warning\" | \"unknown\" | \"success\" | \"failure\"" ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -10157,7 +10594,7 @@ "label": "RuleExecutionStatuses", "description": [], "signature": [ - "\"ok\" | \"error\" | \"active\" | \"pending\" | \"unknown\" | \"warning\"" + "\"ok\" | \"error\" | \"active\" | \"warning\" | \"pending\" | \"unknown\"" ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index e676fa9012982..623e667b11dc8 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 619 | 1 | 595 | 47 | +| 651 | 1 | 627 | 48 | ## Client diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index 7731ac7692b96..c0a2cf1ec5e30 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -124,7 +124,7 @@ "section": "def-common.LocatorPublic", "text": "LocatorPublic" }, - "<{ serviceName: undefined; } | ({ serviceName: string; } & { serviceOverviewTab?: \"errors\" | \"traces\" | \"metrics\" | \"logs\" | undefined; } & { query: { environment: \"ENVIRONMENT_NOT_DEFINED\" | \"ENVIRONMENT_ALL\" | ", + "<{ serviceName: undefined; } | ({ serviceName: string; } & { serviceOverviewTab?: \"errors\" | \"metrics\" | \"traces\" | \"logs\" | undefined; } & { query: { environment: \"ENVIRONMENT_NOT_DEFINED\" | \"ENVIRONMENT_ALL\" | ", "Branded", " Promise<", + " | undefined; assignees?: string | string[] | undefined; reporters?: string | string[] | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; from?: string | undefined; search?: string | undefined; searchFields?: \"description\" | \"title\" | \"closed_by.username\" | \"closed_by.full_name\" | \"closed_by.email\" | \"closed_by.profile_uid\" | \"created_by.username\" | \"created_by.full_name\" | \"created_by.email\" | \"created_by.profile_uid\" | \"connector.name\" | \"connector.type\" | \"external_service.pushed_by.username\" | \"external_service.pushed_by.full_name\" | \"external_service.pushed_by.email\" | \"external_service.pushed_by.profile_uid\" | \"external_service.connector_name\" | \"external_service.external_id\" | \"external_service.external_title\" | \"external_service.external_url\" | \"title.keyword\" | \"updated_by.username\" | \"updated_by.full_name\" | \"updated_by.email\" | \"updated_by.profile_uid\" | (\"description\" | \"title\" | \"closed_by.username\" | \"closed_by.full_name\" | \"closed_by.email\" | \"closed_by.profile_uid\" | \"created_by.username\" | \"created_by.full_name\" | \"created_by.email\" | \"created_by.profile_uid\" | \"connector.name\" | \"connector.type\" | \"external_service.pushed_by.username\" | \"external_service.pushed_by.full_name\" | \"external_service.pushed_by.email\" | \"external_service.pushed_by.profile_uid\" | \"external_service.connector_name\" | \"external_service.external_id\" | \"external_service.external_title\" | \"external_service.external_url\" | \"title.keyword\" | \"updated_by.username\" | \"updated_by.full_name\" | \"updated_by.email\" | \"updated_by.profile_uid\")[] | undefined; rootSearchFields?: string[] | undefined; sortField?: string | undefined; sortOrder?: \"asc\" | \"desc\" | undefined; to?: string | undefined; owner?: string | string[] | undefined; category?: string | string[] | undefined; } & Partial<", + "Pagination", + ">, signal?: AbortSignal | undefined) => Promise<", { "pluginId": "cases", "scope": "common", diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 732a105f75e1a..14c820e7d9d93 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 80 | 0 | 65 | 26 | +| 80 | 0 | 65 | 27 | ## Client diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 7ec5590bc8cea..7cb8f39d3c0f1 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 750dbc1f0843d..b86b750b0aabc 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index d1e2e01d8026d..e28c7adec6313 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_chat_provider.mdx b/api_docs/cloud_chat_provider.mdx index d56a91c08416a..fdc696c783c84 100644 --- a/api_docs/cloud_chat_provider.mdx +++ b/api_docs/cloud_chat_provider.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChatProvider title: "cloudChatProvider" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChatProvider plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChatProvider'] --- import cloudChatProviderObj from './cloud_chat_provider.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 0f5aa80fa2e39..4c2dbf5b98d1d 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index bbab50b2fcb67..965c9cac2039a 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index 864b49b9dca8d..8d034d2aa6ffb 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 30f67a44a0545..224168ec584e1 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 758799ddfb73f..48bfabd16ca2b 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index d191620df4054..7e89a3f43b7dd 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'contentManagement'] --- import contentManagementObj from './content_management.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 1a6ed1ab648bf..67d3fbc080954 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 48fb0d4a13824..a8c18e7ddfbd9 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.devdocs.json b/api_docs/dashboard.devdocs.json index 954acf956d942..41f6716edf3a9 100644 --- a/api_docs/dashboard.devdocs.json +++ b/api_docs/dashboard.devdocs.json @@ -1838,14 +1838,6 @@ "section": "def-common.Query", "text": "Query" }, - " | undefined; refreshInterval?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.RefreshInterval", - "text": "RefreshInterval" - }, " | undefined; filters?: ", { "pluginId": "@kbn/es-query", @@ -1854,7 +1846,15 @@ "section": "def-common.Filter", "text": "Filter" }, - "[] | undefined; executionContext?: ", + "[] | undefined; refreshInterval?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.RefreshInterval", + "text": "RefreshInterval" + }, + " | undefined; executionContext?: ", { "pluginId": "@kbn/core-execution-context-common", "scope": "common", diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 5ad5c977a1182..44a55b178dfca 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 9899d1c60a960..94ff19fdcfc9d 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index d46b463e72cfa..96f9a3585ba9d 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -8815,6 +8815,22 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/logs.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/flights.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts" @@ -8903,22 +8919,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/logs.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/flights.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" - }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" @@ -10589,7 +10589,9 @@ "SearchResponse", ">>; setField: >>; history: ", + "SearchRequest", + "[]; setField: void; removeField: void; removeField: string; save: () => Promise; clear: () => void; destroy: () => void; readonly state$: ", + "{ start: () => string; readonly state$: ", "Observable", "<", { @@ -277,7 +277,7 @@ "section": "def-public.SearchSessionState", "text": "SearchSessionState" }, - ">; readonly sessionMeta$: ", + ">; save: () => Promise; clear: () => void; destroy: () => void; readonly sessionMeta$: ", "Observable", "<", "SessionMeta", @@ -703,7 +703,7 @@ "\nCurrent session management\n{@link ISessionService}" ], "signature": [ - "{ start: () => string; save: () => Promise; clear: () => void; destroy: () => void; readonly state$: ", + "{ start: () => string; readonly state$: ", "Observable", "<", { @@ -713,7 +713,7 @@ "section": "def-public.SearchSessionState", "text": "SearchSessionState" }, - ">; readonly sessionMeta$: ", + ">; save: () => Promise; clear: () => void; destroy: () => void; readonly sessionMeta$: ", "Observable", "<", "SessionMeta", @@ -1360,7 +1360,7 @@ "label": "ISessionService", "description": [], "signature": [ - "{ start: () => string; save: () => Promise; clear: () => void; destroy: () => void; readonly state$: ", + "{ start: () => string; readonly state$: ", "Observable", "<", { @@ -1370,7 +1370,7 @@ "section": "def-public.SearchSessionState", "text": "SearchSessionState" }, - ">; readonly sessionMeta$: ", + ">; save: () => Promise; clear: () => void; destroy: () => void; readonly sessionMeta$: ", "Observable", "<", "SessionMeta", @@ -7229,7 +7229,9 @@ "SearchResponse", ">>; setField: >>; history: ", + "SearchRequest", + "[]; setField: void; removeField: void; removeField: >>; setField: >>; history: ", + "SearchRequest", + "[]; setField: void; removeField: void; removeField: | stackAlerts, ml | - | -| | ruleRegistry, observability, ml, infra, securitySolution, monitoring, stackAlerts, synthetics, transform, uptime | - | +| | ruleRegistry, observability, ml, infra, monitoring, securitySolution, stackAlerts, synthetics, transform, uptime | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | stackAlerts, infra, graph, inputControlVis, securitySolution, savedObjects | - | | | dashboard, stackAlerts, dataVisualizer, expressionPartitionVis | - | -| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, dataViews, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, infra, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, dataVisualizer, fleet, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega, data | - | +| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, dataViews, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, logsShared, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, fleet, dataVisualizer, infra, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega, data | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | -| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, dataViews, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, infra, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, dataVisualizer, fleet, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega, data | - | -| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, data, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, infra, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, dataVisualizer, fleet, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega | - | +| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, dataViews, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, logsShared, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, fleet, dataVisualizer, infra, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega, data | - | +| | @kbn/es-query, visualizationUiComponents, observability, securitySolution, timelines, lists, threatIntelligence, data, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, eventAnnotation, lens, aiops, ml, logsShared, visTypeTimeseries, apm, triggersActionsUi, exploratoryView, stackAlerts, fleet, dataVisualizer, infra, canvas, enterpriseSearch, graph, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, presentationUtil, visTypeTimelion, visTypeVega | - | | | home, data, esUiShared, savedObjectsManagement, exploratoryView, fleet, observability, ml, apm, indexLifecycleManagement, observabilityOnboarding, synthetics, upgradeAssistant, uptime, ux, kibanaOverview | - | -| | encryptedSavedObjects, actions, data, ml, securitySolution, logstash, cloudChat | - | +| | encryptedSavedObjects, actions, data, ml, logstash, securitySolution, cloudChat | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core, savedObjects, embeddable, presentationUtil, visualizations, aiops, ml, dataVisualizer, dashboardEnhanced, graph, uptime, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core, savedObjects, embeddable, visualizations, canvas, graph, ml, @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, actions, alerting, savedSearch, enterpriseSearch, securitySolution, taskManager, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | | | observability, @kbn/securitysolution-data-table, securitySolution | - | | | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjects, savedObjectsManagement, visualizations, savedObjectsTagging, eventAnnotation, lens, graph, dashboard, savedObjectsTaggingOss, kibanaUtils, expressions, dataViews, data, embeddable, controls, uiActionsEnhanced, cases, maps, canvas, dashboardEnhanced, globalSearchProviders, infra | - | +| | monitoring | - | | | alerting, discover, securitySolution | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, home, fleet, osquery, securitySolution, graph, lists, alerting | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, home, fleet, osquery, securitySolution, graph, lists, alerting | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, home, fleet, graph, lists, osquery, securitySolution, alerting | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, home, fleet, graph, lists, osquery, securitySolution, alerting | - | | | alerting, discover, securitySolution | - | | | securitySolution | - | | | @kbn/securitysolution-data-table, securitySolution | - | @@ -43,11 +44,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/securitysolution-data-table, securitySolution | - | | | securitySolution | - | | | securitySolution | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, data, savedObjectsTagging, canvas, savedObjects, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, securitySolution, lists, upgradeAssistant, savedObjectsManagement, synthetics, @kbn/core-ui-settings-server-internal | - | -| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, lens, cases, savedObjectsTagging, visualizations, savedSearch, canvas, lists, securitySolution, graph, maps, dashboard, @kbn/core-test-helpers-so-type-serializer | - | -| | securitySolution, lists, @kbn/securitysolution-io-ts-list-types | - | -| | securitySolution, lists, @kbn/securitysolution-io-ts-list-types | - | -| | securitySolution, lists, @kbn/securitysolution-io-ts-list-types | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, data, savedObjectsTagging, canvas, savedObjects, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, lists, securitySolution, upgradeAssistant, savedObjectsManagement, synthetics, @kbn/core-ui-settings-server-internal | - | +| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, lens, cases, savedObjectsTagging, visualizations, savedSearch, canvas, graph, lists, maps, securitySolution, dashboard, @kbn/core-test-helpers-so-type-serializer | - | +| | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | +| | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | +| | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | securitySolution | - | | | securitySolution | - | | | securitySolution | - | @@ -57,8 +58,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | securitySolution | - | | | securitySolution | - | -| | monitoring | - | -| | exploratoryView, dataVisualizer, fleet, cloudSecurityPosture, discoverEnhanced, osquery, synthetics | - | +| | exploratoryView, fleet, dataVisualizer, cloudSecurityPosture, discoverEnhanced, osquery, synthetics | - | | | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, dataViews, home, data, savedObjects, unifiedSearch, presentationUtil, visualizations, dashboard, lens, fileUpload, dashboardEnhanced, transform, discover, dataVisualizer | - | | | @kbn/core-lifecycle-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, dashboard, exploratoryView, transform, @kbn/core-saved-objects-browser-mocks | - | | | actions, alerting | - | @@ -137,9 +137,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, console | - | | | @kbn/core-plugins-server-internal | - | | | security, licenseManagement, ml, apm, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher, profiling | 8.8.0 | -| | spaces, security, actions, alerting, ml, remoteClusters, osquery, securitySolution, graph, indexLifecycleManagement, mapsEms, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | 8.8.0 | -| | apm, security, securitySolution | 8.8.0 | -| | apm, security, securitySolution | 8.8.0 | +| | spaces, security, actions, alerting, ml, remoteClusters, graph, indexLifecycleManagement, mapsEms, osquery, painlessLab, rollup, searchprofiler, securitySolution, snapshotRestore, transform, upgradeAssistant | 8.8.0 | +| | apm, fleet, security, securitySolution | 8.8.0 | +| | apm, fleet, security, securitySolution | 8.8.0 | | | spaces, security, alerting | 8.8.0 | | | embeddable, presentationUtil, dashboard, lens, discover, graph | 8.8.0 | | | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview, @kbn/core | 8.8.0 | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 9b3c748b49241..fe025e2253990 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -381,7 +381,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [plugin.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | | | [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/usage/task.ts#:~:text=index) | - | -| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes)+ 44 more | - | +| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes)+ 54 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | @@ -718,6 +718,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [query_bar.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=title) | - | | | [use_get_logs_discover_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx#:~:text=indexPatternId) | - | | | [tutorial_directory_header_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx#:~:text=RedirectAppLinks), [tutorial_directory_header_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx#:~:text=RedirectAppLinks), [tutorial_directory_header_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx#:~:text=RedirectAppLinks), [custom_assets_accordion.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx#:~:text=RedirectAppLinks), [custom_assets_accordion.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx#:~:text=RedirectAppLinks), [custom_assets_accordion.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx#:~:text=RedirectAppLinks), [agent_logs.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx#:~:text=RedirectAppLinks), [agent_logs.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx#:~:text=RedirectAppLinks), [agent_logs.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx#:~:text=RedirectAppLinks), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/app.tsx#:~:text=RedirectAppLinks)+ 5 more | - | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | | | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion) | - | @@ -793,9 +795,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | ---------------|-----------|-----------| | | [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [metric_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts#:~:text=alertFactory), [inventory_metric_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts#:~:text=alertFactory), [metric_anomaly_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/metric_anomaly/metric_anomaly_executor.ts#:~:text=alertFactory) | - | | | [use_kibana_index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts#:~:text=indexPatterns) | - | -| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title), [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title)+ 8 more | - | -| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title), [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title)+ 8 more | - | -| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title) | - | +| | [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title)+ 6 more | - | +| | [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title)+ 6 more | - | +| | [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title) | - | | | [log_threshold_references_manager.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts#:~:text=SavedObjectReference), [log_threshold_references_manager.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts#:~:text=SavedObjectReference), [log_threshold_references_manager.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts#:~:text=SavedObjectReference), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts#:~:text=SavedObjectReference), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts#:~:text=SavedObjectReference), [line_chart.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/line_chart.ts#:~:text=SavedObjectReference), [line_chart.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/line_chart.ts#:~:text=SavedObjectReference), [metric_chart.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts#:~:text=SavedObjectReference), [metric_chart.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts#:~:text=SavedObjectReference), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/common/visualizations/types.ts#:~:text=SavedObjectReference)+ 3 more | - | @@ -874,6 +876,16 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] +## logsShared + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts#:~:text=title), [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts#:~:text=title) | - | +| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts#:~:text=title), [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts#:~:text=title) | - | +| | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts#:~:text=title) | - | + + + ## logstash | Deprecated API | Reference location(s) | Remove By | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index dcd422b44a67f..5521e19ed0584 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -36,6 +36,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | | fleet | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 1290792db63e6..d74d06e619a9d 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.devdocs.json b/api_docs/discover.devdocs.json index f8b77f6000a6b..23266058834e4 100644 --- a/api_docs/discover.devdocs.json +++ b/api_docs/discover.devdocs.json @@ -1196,6 +1196,10 @@ "plugin": "exploratoryView", "path": "x-pack/plugins/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx" @@ -1204,10 +1208,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" - }, { "plugin": "cloudSecurityPosture", "path": "x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 894901004224e..f1d7849cc5c18 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 545838989fcef..14e267c1b589b 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index 456815253add3..e1c351e2e52e7 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 3c60597cb2aa2..1d70eb437ad87 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 3edd67dc167ff..fb76acf3234f6 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index ab3b8aef1a4aa..2aa1875aca99d 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.devdocs.json b/api_docs/enterprise_search.devdocs.json index b19bfd8945790..17434038d906a 100644 --- a/api_docs/enterprise_search.devdocs.json +++ b/api_docs/enterprise_search.devdocs.json @@ -45,21 +45,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "enterpriseSearch", - "id": "def-server.CONNECTORS_ACCESS_CONTROL_INDEX_PREFIX", - "type": "string", - "tags": [], - "label": "CONNECTORS_ACCESS_CONTROL_INDEX_PREFIX", - "description": [], - "signature": [ - "\".search-acl-filter-\"" - ], - "path": "x-pack/plugins/enterprise_search/server/index.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "enterpriseSearch", "id": "def-server.CONNECTORS_INDEX", diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 99cf9558d581d..1f616f818407c 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/te | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 10 | 0 | 10 | 0 | +| 9 | 0 | 9 | 0 | ## Client diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 3ce1723b5ef7d..7385becb58a72 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 44608654af5f9..173a89491a97b 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.devdocs.json b/api_docs/event_log.devdocs.json index 90cda1aa61629..a04dd9eefb80a 100644 --- a/api_docs/event_log.devdocs.json +++ b/api_docs/event_log.devdocs.json @@ -1514,7 +1514,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" + "(Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; timezone?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, @@ -1534,7 +1534,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; timezone?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -1549,7 +1549,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined" + "Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; category?: string | undefined; uuid?: string | undefined; version?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ action?: Readonly<{ id?: string | undefined; name?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; rule_type_id?: string | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; uuid?: string | undefined; flapping?: boolean | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; version?: string | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; id?: string | undefined; start?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; kind?: string | undefined; duration?: string | number | undefined; url?: string | undefined; timezone?: string | undefined; code?: string | undefined; provider?: string | undefined; severity?: string | number | undefined; created?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index e194316b7cea7..21a1c2cc5e0f1 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 3f0fc93227986..659aea18b2700 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 6f91122bf3972..50c4d365b3140 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 8f1352f3dd437..bb6a2ba879afa 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 1b2d4b7cd7932..6984eb3dc35b5 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 7a430e93b5ca0..ec03af5bdb597 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 06598f58ad8c5..8e6b4748e640d 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 4b1bb925243c7..53ea98d21430d 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 9cf2c80067ba2..15114b651ecc0 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index bb2f0bec92f7f..30a54cda821c0 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 2a403a81ce883..d9db3930fb911 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 78fc76e45c6d6..9eb1d97cc4893 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 5780d1614c206..5b67667518745 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index bf4a68d0decfb..53fbbbf355cef 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 8f8e4b5650720..7a53074b64b20 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 2e145b784ee3a..b8eaf602f21ab 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.devdocs.json b/api_docs/features.devdocs.json index 1079256dbb711..3f329d7f351b6 100644 --- a/api_docs/features.devdocs.json +++ b/api_docs/features.devdocs.json @@ -64,7 +64,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -954,7 +954,7 @@ "\nDenotes which Primary Feature Privilege this sub-feature privilege should be included in.\n`read` is also included in `all` automatically." ], "signature": [ - "\"none\" | \"all\" | \"read\"" + "\"none\" | \"read\" | \"all\"" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -1272,7 +1272,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -2969,7 +2969,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -3233,7 +3233,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }>" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -3270,7 +3270,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -3314,7 +3314,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; disabled?: boolean | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"read\" | \"all\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; push?: readonly string[] | undefined; create?: readonly string[] | undefined; read?: readonly string[] | undefined; update?: readonly string[] | undefined; delete?: readonly string[] | undefined; }> | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; ui: readonly string[]; catalogue?: readonly string[] | undefined; app?: readonly string[] | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; description?: string | undefined; }" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -4171,7 +4171,7 @@ "\nDenotes which Primary Feature Privilege this sub-feature privilege should be included in.\n`read` is also included in `all` automatically." ], "signature": [ - "\"none\" | \"all\" | \"read\"" + "\"none\" | \"read\" | \"all\"" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, diff --git a/api_docs/features.mdx b/api_docs/features.mdx index a412b86858f8d..48e88416a571b 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 064abd699fcc1..3b1c708ececc1 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 49cd766fb154c..86b6b46c7c55d 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index a12f1527b7bd6..b3b527518e785 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/files_management.mdx b/api_docs/files_management.mdx index caa3f6999359d..cb5e68f1774fa 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 8208e3d11b0a1..a937c2378238d 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 453c2c521f93b..966b12f1e9de6 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2023-07-05 +date: 2023-07-06 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 8ced8b4d94d65..ca5302d2e234b 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2023-07-05 +date: 2023-07-06 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 a26b1a8bfb7a3..3548dcc8eb884 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/image_embeddable.mdx b/api_docs/image_embeddable.mdx index 7cfa3c26ffc0f..efa848fd7efb2 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'imageEmbeddable'] --- import imageEmbeddableObj from './image_embeddable.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index f18e468e26e83..58446e43a5b5d 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2023-07-05 +date: 2023-07-06 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 9405afd666b00..98298b228a1db 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.devdocs.json b/api_docs/infra.devdocs.json index 28ccc0b48df5d..8e89a67df15ec 100644 --- a/api_docs/infra.devdocs.json +++ b/api_docs/infra.devdocs.json @@ -2,95 +2,8 @@ "id": "infra", "client": { "classes": [], - "functions": [ - { - "parentPluginId": "infra", - "id": "def-public.LazyLogStreamWrapper", - "type": "Function", - "tags": [], - "label": "LazyLogStreamWrapper", - "description": [], - "signature": [ - "(props: ", - { - "pluginId": "infra", - "scope": "public", - "docId": "kibInfraPluginApi", - "section": "def-public.LogStreamProps", - "text": "LogStreamProps" - }, - ") => JSX.Element" - ], - "path": "x-pack/plugins/infra/public/components/log_stream/lazy_log_stream_wrapper.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "infra", - "id": "def-public.LazyLogStreamWrapper.$1", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - { - "pluginId": "infra", - "scope": "public", - "docId": "kibInfraPluginApi", - "section": "def-public.LogStreamProps", - "text": "LogStreamProps" - } - ], - "path": "x-pack/plugins/infra/public/components/log_stream/lazy_log_stream_wrapper.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "infra", - "id": "def-public.LogStreamProps", - "type": "Interface", - "tags": [], - "label": "LogStreamProps", - "description": [], - "signature": [ - { - "pluginId": "infra", - "scope": "public", - "docId": "kibInfraPluginApi", - "section": "def-public.LogStreamProps", - "text": "LogStreamProps" - }, - " extends LogStreamContentProps" - ], - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "infra", - "id": "def-public.LogStreamProps.height", - "type": "CompoundType", - "tags": [], - "label": "height", - "description": [], - "signature": [ - "string | number | undefined" - ], - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - } - ], + "functions": [], + "interfaces": [], "enums": [ { "parentPluginId": "infra", @@ -337,20 +250,6 @@ "deprecated": false, "trackAdoption": false }, - { - "parentPluginId": "infra", - "id": "def-public.InfraClientStartExports.logViews", - "type": "Object", - "tags": [], - "label": "logViews", - "description": [], - "signature": [ - "LogViewsServiceStart" - ], - "path": "x-pack/plugins/infra/public/types.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "infra", "id": "def-public.InfraClientStartExports.metricsExplorerViews", @@ -673,13 +572,27 @@ }, { "parentPluginId": "infra", - "id": "def-server.InfraPluginSetup.logViews", - "type": "Object", + "id": "def-server.InfraPluginSetup.inventoryViews", + "type": "Uncategorized", "tags": [], - "label": "logViews", + "label": "inventoryViews", "description": [], "signature": [ - "LogViewsServiceSetup" + "void" + ], + "path": "x-pack/plugins/infra/server/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "infra", + "id": "def-server.InfraPluginSetup.metricsExplorerViews", + "type": "Uncategorized", + "tags": [], + "label": "metricsExplorerViews", + "description": [], + "signature": [ + "void" ], "path": "x-pack/plugins/infra/server/types.ts", "deprecated": false, @@ -714,20 +627,6 @@ "deprecated": false, "trackAdoption": false }, - { - "parentPluginId": "infra", - "id": "def-server.InfraPluginStart.logViews", - "type": "Object", - "tags": [], - "label": "logViews", - "description": [], - "signature": [ - "LogViewsServiceStart" - ], - "path": "x-pack/plugins/infra/server/types.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "infra", "id": "def-server.InfraPluginStart.metricsExplorerViews", diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index eb30834e29d5e..b3481c444fda0 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/inf | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 49 | 0 | 46 | 14 | +| 44 | 0 | 41 | 11 | ## Client @@ -31,12 +31,6 @@ Contact [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/inf ### Objects -### Functions - - -### Interfaces - - ### Enums diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 19168524c29ba..94beeb63651d5 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2023-07-05 +date: 2023-07-06 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 67e1b7f02158f..62f81d01c487b 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2023-07-05 +date: 2023-07-06 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 45cf012204d6e..034f5a3d3d26f 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2023-07-05 +date: 2023-07-06 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 c17512a5f0b68..a915d31a2aaa1 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2023-07-05 +date: 2023-07-06 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 00832a2176ad9..f658cb3a18301 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 81f5d6b6ecabe..7d5841dd5a469 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index af7edc0d8a497..6afc41b05646a 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 55907ec366571..92a055aa3c62c 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-ui-shared'] --- import kbnAlertsUiSharedObj from './kbn_alerts_ui_shared.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 7291da859af3a..c37e5948291e9 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.devdocs.json b/api_docs/kbn_analytics_client.devdocs.json index f1ccb7fbee547..88e2702e0c82f 100644 --- a/api_docs/kbn_analytics_client.devdocs.json +++ b/api_docs/kbn_analytics_client.devdocs.json @@ -115,7 +115,7 @@ "\nSpecify if the shippers should send their data to the production or staging environments." ], "signature": [ - "\"staging\" | \"production\"" + "\"production\" | \"staging\"" ], "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, @@ -731,28 +731,28 @@ "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" }, { "plugin": "securitySolution", @@ -767,28 +767,28 @@ "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, { "plugin": "@kbn/core-analytics-browser-mocks", diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index d4b446a4feb9f..0b8a5320be35a 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json index ce89b234bfcae..49d27f916b6cf 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json @@ -379,7 +379,7 @@ "\nProvide it to override the Analytics client's default configuration." ], "signature": [ - "\"staging\" | \"production\" | undefined" + "\"production\" | \"staging\" | undefined" ], "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index cd833eb9c0c7d..1b35211ab7a97 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json index 2e718139d6717..c4c37433bc481 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json @@ -387,7 +387,7 @@ "Whether to send it to production or staging." ], "signature": [ - "\"staging\" | \"production\"" + "\"production\" | \"staging\"" ], "path": "packages/analytics/shippers/elastic_v3/common/src/build_url.ts", "deprecated": false, @@ -458,7 +458,7 @@ "\nProvide it to override the Analytics client's default configuration." ], "signature": [ - "\"staging\" | \"production\" | undefined" + "\"production\" | \"staging\" | undefined" ], "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index a80d36504c5f8..13a885280c207 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json index c74c4ff79cfc9..ad58b596dde46 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json @@ -379,7 +379,7 @@ "\nProvide it to override the Analytics client's default configuration." ], "signature": [ - "\"staging\" | \"production\" | undefined" + "\"production\" | \"staging\" | undefined" ], "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 0a11917654e18..8544a17ad1248 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2023-07-05 +date: 2023-07-06 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 989a7c56c4e02..bfcb93161588e 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2023-07-05 +date: 2023-07-06 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 653fb639d5118..9eba485b42cbe 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2023-07-05 +date: 2023-07-06 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 71f6d6887ca2f..f1fbe3824dc2a 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2023-07-05 +date: 2023-07-06 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 90eeda70308da..14a79becc66e0 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2023-07-05 +date: 2023-07-06 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 a061cd8d5b950..1ce732482f6ab 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2023-07-05 +date: 2023-07-06 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 7169cbfa902dc..44ab4f5a784a2 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 0d4bd7daabd64..90d23527dd98d 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2023-07-05 +date: 2023-07-06 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 6aec3f4c21c56..646f89bd441f0 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.devdocs.json b/api_docs/kbn_cell_actions.devdocs.json index bb7d9ec6611ff..dcc406e62c1d0 100644 --- a/api_docs/kbn_cell_actions.devdocs.json +++ b/api_docs/kbn_cell_actions.devdocs.json @@ -1277,7 +1277,7 @@ "label": "CellActionFieldValue", "description": [], "signature": [ - "string[] | undefined[] | boolean[] | ", + "string[] | undefined[] | boolean[] | number[] | ", { "pluginId": "@kbn/utility-types", "scope": "common", @@ -1285,7 +1285,7 @@ "section": "def-common.Serializable", "text": "Serializable" }, - " | number[] | null[]" + " | null[]" ], "path": "packages/kbn-cell-actions/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index 39aa5e354040a..b209df44ddb6d 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cell-actions'] --- import kbnCellActionsObj from './kbn_cell_actions.devdocs.json'; diff --git a/api_docs/kbn_chart_expressions_common.mdx b/api_docs/kbn_chart_expressions_common.mdx index 845c13ed3d5ff..678e24d11e5e7 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-expressions-common'] --- import kbnChartExpressionsCommonObj from './kbn_chart_expressions_common.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 922efdf36bebf..63ed3ed7f26de 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2023-07-05 +date: 2023-07-06 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 ccb99fbe2c75a..a58ba72d63a84 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2023-07-05 +date: 2023-07-06 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 6080c4b114768..b0e26cf95f8d9 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2023-07-05 +date: 2023-07-06 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 c410b8266abdb..a8b4b73ba44c3 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2023-07-05 +date: 2023-07-06 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 c6ad6c25c5899..fceabc153fc8b 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index 94e1ccec124a0..27e50143156a2 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mocks.mdx b/api_docs/kbn_code_editor_mocks.mdx index 1215355cd87c7..c25007f531cf3 100644 --- a/api_docs/kbn_code_editor_mocks.mdx +++ b/api_docs/kbn_code_editor_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mocks title: "@kbn/code-editor-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mocks'] --- import kbnCodeEditorMocksObj from './kbn_code_editor_mocks.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 3984da8b0fc33..b771ed39ab3f5 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2023-07-05 +date: 2023-07-06 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 8a2db1c927fb4..d6262d13fad25 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2023-07-05 +date: 2023-07-06 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 462dfab3c9a2c..1d6cd5fef5358 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 cdf1e277d3d40..445c2e7975ddd 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2023-07-05 +date: 2023-07-06 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 70f1c79666d8f..f32a08d2d254c 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-editor'] --- import kbnContentManagementContentEditorObj from './kbn_content_management_content_editor.devdocs.json'; diff --git a/api_docs/kbn_content_management_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index 936c643770e70..2026d9ef026b6 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-tabbed-table-list-view'] --- import kbnContentManagementTabbedTableListViewObj from './kbn_content_management_tabbed_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view.mdx b/api_docs/kbn_content_management_table_list_view.mdx index 49f1f8754acaa..d2d0a151f06e7 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index 4f96ce3f3326d..f956935894347 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 890c6416b9405..6cb1bc259aa47 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-utils'] --- import kbnContentManagementUtilsObj from './kbn_content_management_utils.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 6ceaee7d6b2ef..dfb459eda7914 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 51c64ffe9dd2d..c7fef41e02907 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 5bf8c63c71e01..ba3049a02b0a6 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 651a6e4da1abb..f2243be65e93c 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2023-07-05 +date: 2023-07-06 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 5407846be8d2e..a1da6ed384099 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 48a3087decd9f..01ec923f47b4b 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 eb2314d674462..53680b00552f2 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 1c35027756a2f..77835fe7cfdd0 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 b73ae9f06c746..4c32f22b59643 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 2a67df9211aa2..b3a1aa2f111cf 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2023-07-05 +date: 2023-07-06 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 d2a25f38fb4d2..12a3dd7beb888 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 2acbf08a4c62e..86e5af9b8a4f0 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 12041897dce02..909c812933bdd 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 488c71d92b97d..81335cb77c190 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 064cec1a5eed8..59934dbe36cbf 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2023-07-05 +date: 2023-07-06 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 c583484c2cdf6..6765caee2ac43 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 6f76e1d155eb8..cc5deac168049 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 c1f11e04df7a6..53e0c1a7d07a5 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 4191ddb733757..d19d50ef1bc76 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2023-07-05 +date: 2023-07-06 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 66f3a1bb801d3..b4a8fd3993df3 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2023-07-05 +date: 2023-07-06 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 2d5e5ff1e96a4..7d33bddf5cdeb 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 b3c10ca9a18b5..2113798b89b31 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 644b075c9c3b3..34ce403bfd249 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 d69c3b7926792..150df55c7ac74 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser.mdx b/api_docs/kbn_core_custom_branding_browser.mdx index 24372e4bbdbcd..52e11548ecb31 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser'] --- import kbnCoreCustomBrandingBrowserObj from './kbn_core_custom_branding_browser.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_internal.mdx b/api_docs/kbn_core_custom_branding_browser_internal.mdx index 2cb8f66c49c4c..467eac7738ccb 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-internal'] --- import kbnCoreCustomBrandingBrowserInternalObj from './kbn_core_custom_branding_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_mocks.mdx b/api_docs/kbn_core_custom_branding_browser_mocks.mdx index 95e58fc0c9777..26e58e46ad1b2 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-mocks'] --- import kbnCoreCustomBrandingBrowserMocksObj from './kbn_core_custom_branding_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_common.mdx b/api_docs/kbn_core_custom_branding_common.mdx index d3dbd54ad9279..2d81adf7de803 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-common'] --- import kbnCoreCustomBrandingCommonObj from './kbn_core_custom_branding_common.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server.mdx b/api_docs/kbn_core_custom_branding_server.mdx index 9b1e7a8745949..67873a4f60258 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server'] --- import kbnCoreCustomBrandingServerObj from './kbn_core_custom_branding_server.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_internal.mdx b/api_docs/kbn_core_custom_branding_server_internal.mdx index 77edb606cd11a..98511104d5a63 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-internal'] --- import kbnCoreCustomBrandingServerInternalObj from './kbn_core_custom_branding_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_mocks.mdx b/api_docs/kbn_core_custom_branding_server_mocks.mdx index 0e196b2bd08ae..a12b3361c6178 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-mocks'] --- import kbnCoreCustomBrandingServerMocksObj from './kbn_core_custom_branding_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 8d8feab21d924..737ad3a2e2f81 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 2c6385fe8c91e..774bcababc855 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 1bd4110d334f0..6f25c059f8ee0 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 2c427d5efea09..cf20f49fdadd9 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2023-07-05 +date: 2023-07-06 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 a1284fa96f99b..b89b62c056033 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2023-07-05 +date: 2023-07-06 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 be8722ffae792..d4a11a3ea76d6 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f10a0ed1c2066..e9c1706546f8d 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 64c3a41cadc0f..cf8d639135233 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 bf5b7f4a564db..fe0e91fc87e46 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 4221cacdfd20c..d71acabd149d9 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2023-07-05 +date: 2023-07-06 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 1c815d6ecedc1..5ad56add179a3 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 bb9f2e2927c07..92ce6d6a34bf3 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 ec38221f328ea..1a08e7c7495f1 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 11d66e6acf880..3c71ed05dd57a 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2023-07-05 +date: 2023-07-06 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 7f8038073112b..5488dd6fb1c1e 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 3d3459d0d270f..45565d8f703dc 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 de0ccf46b3def..01e73d472eae3 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f11befc3b2955..50f5ddefdcb67 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 510a3c7ac009f..c851207543880 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 e8532585f92b9..13b2f13881c67 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 26435a1ad1913..77f7baa696065 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 d89a5b6b08229..d866e5398e31b 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2023-07-05 +date: 2023-07-06 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 a5e9e261771f9..ad5d77b4a14ec 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2023-07-05 +date: 2023-07-06 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 c05397383fd58..4915a7719fa7f 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 a55127e548af9..96993122bbe99 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 c43348023f87c..aeeaa9b9ac8a8 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 44dd7858a0f8c..027d85bd316be 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 36b96d513bc87..7cf57054781ad 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 925fbf6464446..16367136b26ba 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f615bcb7abdaa..3e2651cbe1c43 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_http_common.devdocs.json index 04efb33e966ff..00c50cae8e9f2 100644 --- a/api_docs/kbn_core_http_common.devdocs.json +++ b/api_docs/kbn_core_http_common.devdocs.json @@ -120,6 +120,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/core-http-common", + "id": "def-common.ELASTIC_HTTP_VERSION_QUERY_PARAM", + "type": "string", + "tags": [], + "label": "ELASTIC_HTTP_VERSION_QUERY_PARAM", + "description": [], + "signature": [ + "\"apiVersion\"" + ], + "path": "packages/core/http/core-http-common/src/constants.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/core-http-common", "id": "def-common.X_ELASTIC_INTERNAL_ORIGIN_REQUEST", diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 7da6ed3f8cbb9..978ec702836da 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 7 | 0 | 2 | 0 | +| 8 | 0 | 3 | 0 | ## Common diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index ba262b7bb2b84..d6bbc7f91d08b 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 10f606bdfd339..f984349f26d25 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2023-07-05 +date: 2023-07-06 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 22d4e70d3173e..d861078d66730 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2023-07-05 +date: 2023-07-06 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 19ca707814d45..121d34cbbd2ef 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 4c9af7f15ace0..277a26083adce 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 2ba02ad258c15..abd34cf1ee849 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_http_router_server_mocks.devdocs.json index 819bcb68b96bf..ddb2cbc8b1b18 100644 --- a/api_docs/kbn_core_http_router_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_router_server_mocks.devdocs.json @@ -80,7 +80,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index ffa0dbee6531d..120e41feac0b0 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index dfbbfb44b2ab6..95968407ffd87 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -4215,6 +4215,50 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/get.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/get.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/privileges.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/documents.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts" + }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/find_endpoint_list_item_route.ts" @@ -4271,6 +4315,58 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/summary_exception_list_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/cluster/load.ts" + }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/pipeline/load.ts" + }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/pipelines/list.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/plugin.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/flamechart.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/functions.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/setup.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/setup.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/topn.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/indices/register_get_route.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_get_route.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_monitoring/api/detection_engine_health/get_cluster_health/get_cluster_health_route.ts" @@ -4375,102 +4471,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/file_download_handler.ts" }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/get.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/get.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/privileges.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/documents.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/cluster/load.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/load.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/list.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/flamechart.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/functions.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/topn.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/indices/register_get_route.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_get_route.ts" - }, { "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" @@ -6315,7 +6315,7 @@ }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.ts" + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.ts" }, { "plugin": "alerting", @@ -6901,6 +6901,58 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/routes/search.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/routes/explore.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/create.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/simulate.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/parse_csv.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.ts" + }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/create_endpoint_list_item_route.ts" @@ -6957,6 +7009,58 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/internal/create_exceptions_list_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/pipelines/delete.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/plugin.ts" + }, + { + "plugin": "painlessLab", + "path": "x-pack/plugins/painless_lab/server/routes/api/execute.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/profiling/server/routes/setup.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_delete_route.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_stop_route.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/search/register_search_route.ts" + }, + { + "plugin": "searchprofiler", + "path": "x-pack/plugins/searchprofiler/server/routes/profile.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_monitoring/api/detection_engine_health/get_cluster_health/get_cluster_health_route.ts" @@ -7113,110 +7217,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/risk_engine/routes/risk_score_preview_route.ts" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/search.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/explore.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/create.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/simulate.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/parse_csv.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/delete.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, - { - "plugin": "painlessLab", - "path": "x-pack/plugins/painless_lab/server/routes/api/execute.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_delete_route.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_stop_route.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/search/register_search_route.ts" - }, - { - "plugin": "searchprofiler", - "path": "x-pack/plugins/searchprofiler/server/routes/profile.ts" - }, { "plugin": "serverless", "path": "x-pack/plugins/serverless/server/plugin.ts" @@ -7583,35 +7583,7 @@ }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/clone_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/create_rule.test.ts" + "path": "x-pack/plugins/alerting/server/routes/clone_rule.test.ts" }, { "plugin": "alerting", @@ -7969,6 +7941,34 @@ "plugin": "remoteClusters", "path": "x-pack/plugins/remote_clusters/server/routes/api/add_route.test.ts" }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts" + }, { "plugin": "crossClusterReplication", "path": "x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts" @@ -8775,6 +8775,14 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/update.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/server/routes/api/license/register_license_route.ts" + }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/update_endpoint_list_item_route.ts" @@ -8795,6 +8803,22 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/update_list_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/plugin.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + }, + { + "plugin": "rollup", + "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_create_route.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_update_rules/route.ts" @@ -8819,30 +8843,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/tags/routes/create_tag.ts" }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/update.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/server/routes/api/license/register_license_route.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" - }, - { - "plugin": "rollup", - "path": "x-pack/plugins/rollup/server/routes/api/jobs/register_create_route.ts" - }, { "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts" @@ -9851,6 +9851,14 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/server/routes/api/delete.ts" + }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/delete_endpoint_list_item_route.ts" @@ -9875,6 +9883,14 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/delete_list_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/plugins/logstash/server/routes/pipeline/delete.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_delete_rules/route.ts" @@ -9903,22 +9919,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/risk_score/stored_scripts/delete_script_route.ts" }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/server/routes/api/delete.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/delete.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" - }, { "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts" @@ -13970,6 +13970,10 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/management.ts" }, + { + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -14030,6 +14034,46 @@ "plugin": "cloudSecurityPosture", "path": "x-pack/plugins/cloud_security_posture/server/routes/csp_rule_template/get_csp_rule_template.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/server/routes.ts" + }, + { + "plugin": "kubernetesSecurity", + "path": "x-pack/plugins/kubernetes_security/server/routes/aggregate.ts" + }, + { + "plugin": "kubernetesSecurity", + "path": "x-pack/plugins/kubernetes_security/server/routes/count.ts" + }, + { + "plugin": "kubernetesSecurity", + "path": "x-pack/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/routes.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts" @@ -14138,46 +14182,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/list.ts" }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "kubernetesSecurity", - "path": "x-pack/plugins/kubernetes_security/server/routes/aggregate.ts" - }, - { - "plugin": "kubernetesSecurity", - "path": "x-pack/plugins/kubernetes_security/server/routes/count.ts" - }, - { - "plugin": "kubernetesSecurity", - "path": "x-pack/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" - }, { "plugin": "sessionView", "path": "x-pack/plugins/session_view/server/routes/alerts_route.ts" @@ -14381,7 +14385,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -14486,6 +14490,10 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/trained_models.ts" }, + { + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -14561,7 +14569,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -14774,14 +14782,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/job_service.ts" @@ -14974,6 +14974,10 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/alerting.ts" }, + { + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -14994,6 +14998,30 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/routes/workpad/import.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/server/routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts" @@ -15058,30 +15086,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/suggestions/index.ts" }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, { "plugin": "transform", "path": "x-pack/plugins/transform/server/routes/api/field_histograms.ts" @@ -15185,7 +15189,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -15230,6 +15234,10 @@ "plugin": "@kbn/core-http-router-server-mocks", "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, + { + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -15265,7 +15273,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -15366,6 +15374,10 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/trained_models.ts" }, + { + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -15378,6 +15390,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/routes/workpad/delete.ts" }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts" @@ -15386,10 +15402,6 @@ "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/pack/delete_pack_route.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, { "plugin": "@kbn/core-http-router-server-internal", "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.ts" @@ -15433,7 +15445,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -17917,7 +17929,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, @@ -17987,7 +17999,7 @@ "section": "def-common.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"access\"> | undefined; access: \"internal\" | \"public\"; }" + ", \"access\"> | undefined; access: \"internal\" | \"public\"; enableQueryVersion?: boolean | undefined; }" ], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 0a7c4cebfbf5b..61c30fb3fdd6c 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2023-07-05 +date: 2023-07-06 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 990cd120d005d..6b073fb3ab194 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 0a32bbd81f22e..ee233f39dd564 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 5d486e605e5d9..29fd864971c95 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 53c2079403431..f8d03c7d04ae4 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 fd637cf169891..41b5987ebc053 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2023-07-05 +date: 2023-07-06 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 663505c4f9d59..0872fd4251d33 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 7e54e17279400..1573278ae12ec 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 b61ff43c5b540..6bf1dd597f26c 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 9dc6a88194b85..5f5c39a35d973 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 58fb313d243e2..58380dded5de1 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 e903f08994ded..f15203c40fe6d 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 fe7be83756d28..474067dfc1f08 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 3addbfc94941f..1bc732f6754b2 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2023-07-05 +date: 2023-07-06 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 1e4aca3b887cf..9a191d68907ad 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 eed6ea4e108d5..38b75cb633a2e 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 63e02d42af553..1f9eebef65af5 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 0eba98df374b5..7647e9652861f 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2023-07-05 +date: 2023-07-06 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 4da2a009012cc..97cc72285dff5 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 1b2a36ee8af4c..e6cc842c7d5e4 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 12aa4833fa682..c014ed7f9e96f 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f0ddb326d4b89..cbb3c85b2c54f 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 5615047cd64a6..cb25c73306aa8 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2023-07-05 +date: 2023-07-06 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 0b0bb11d0bfc5..f15dd50208780 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 0d0f7a04f1de5..09f0cff419ad4 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 5f038e86d92dc..a9dc030097414 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 807bab424b2d7..ca1499d1f57ea 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2023-07-05 +date: 2023-07-06 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 0049ea05bae51..c6ba4255bfe7c 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 ef0ed68bd3577..64bb36503e5e8 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 29fff33334979..9502f4cbd876b 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 35e8dc6b2ba2f..58be16047c4f1 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f8a3e9a121e1f..76fdab7ea93b7 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 3f3fe477b5a01..82d14e5c7c33b 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 53dcf1ad9aac0..c52f4f54326b2 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 c6b969274388a..1cacd8f8b6c7c 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 516617eea9696..4b267d5bbb4e2 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 12ee8f08e3411..ee234aca66cbd 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 576d45988c503..5b82fd90adb01 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2023-07-05 +date: 2023-07-06 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 cbae006cbe3f5..0fd97009be661 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 347a157cd85ba..fae2461e26d96 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2023-07-05 +date: 2023-07-06 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 2ed786d7e5d5d..831de64a2826d 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 a91692e09d9fd..00eb8e611649d 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 73bb0667dc436..170e2aaa044dc 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 6e914a5a786eb..44d04b2eac300 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 93332ea1f401b..4df14a0645ed4 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 0d5927b0ee018..d588eda0b25c2 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_saved_objects_api_server.devdocs.json index 93700c7aaeabf..fc0d4c83fdcab 100644 --- a/api_docs/kbn_core_saved_objects_api_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server.devdocs.json @@ -2366,6 +2366,22 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/logs.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/flights.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts" @@ -2454,22 +2470,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/logs.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/flights.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" - }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" @@ -2734,6 +2734,26 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index b83e74136bc2e..595248cc3d751 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 928b33d7d50e4..30e2cb3045ec0 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 d9fc5e6bbea9e..be24cc7975ca1 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 4902d8d31c73a..cf0305db18dd1 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 bafd0df0fdce0..8b02c911a3311 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 92665b7bcb74c..7a8cae3f01db7 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 b01436ed5928a..a3d7d6f8ec35c 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index fbc383d88c59c..7e16d7a04af2e 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1369,22 +1369,6 @@ "plugin": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/public/utils.ts" }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -1417,6 +1401,22 @@ "plugin": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" + }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/common/types.ts" diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 893ac78382639..07d7927036644 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2023-07-05 +date: 2023-07-06 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 ad40ac69d5eba..d580705724387 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 0be9a0e8206d2..edc0ad0f2461a 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 8371af4f13cd8..dcb7342956115 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 663dc071f28f2..8ef37ca83b732 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_saved_objects_server.devdocs.json index 2c2cee40c0058..82301de4e7e56 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -5831,6 +5831,22 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/logs.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/sample_data/flights.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts" @@ -5919,22 +5935,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/logs.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/ecommerce.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/sample_data/flights.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" - }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" @@ -6199,6 +6199,26 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" @@ -10364,10 +10384,18 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/saved_objects/exception_list.ts" }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts" @@ -10384,14 +10412,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_saved_object_mappings.ts" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 24e76ceb5f53a..063d7026a4c1a 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2023-07-05 +date: 2023-07-06 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 e945f00f884ae..d31ba0cde6b5b 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 168156da1ddb9..84d5677f50431 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 1c5232d33b214..efbe05b957f5e 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_status_common.devdocs.json index 9f812b6cacb3d..10cab0bc06263 100644 --- a/api_docs/kbn_core_status_common.devdocs.json +++ b/api_docs/kbn_core_status_common.devdocs.json @@ -211,7 +211,7 @@ "\nPossible values for the ID of a {@link ServiceStatusLevel}\n" ], "signature": [ - "\"degraded\" | \"unavailable\" | \"critical\" | \"available\"" + "\"degraded\" | \"unavailable\" | \"available\" | \"critical\"" ], "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 98b0249f8e054..4b82bce8c4e5c 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_status_common_internal.devdocs.json index ee881532c5b66..819813f5db06c 100644 --- a/api_docs/kbn_core_status_common_internal.devdocs.json +++ b/api_docs/kbn_core_status_common_internal.devdocs.json @@ -212,7 +212,7 @@ "label": "level", "description": [], "signature": [ - "\"degraded\" | \"unavailable\" | \"critical\" | \"available\"" + "\"degraded\" | \"unavailable\" | \"available\" | \"critical\"" ], "path": "packages/core/status/core-status-common-internal/src/status.ts", "deprecated": false, diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index 2dbdc902c77e2..cdd1b105ec6f9 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_core_status_server.devdocs.json index f417cc31259e8..b345658f08790 100644 --- a/api_docs/kbn_core_status_server.devdocs.json +++ b/api_docs/kbn_core_status_server.devdocs.json @@ -398,7 +398,7 @@ "\nPossible values for the ID of a {@link ServiceStatusLevel}\n" ], "signature": [ - "\"degraded\" | \"unavailable\" | \"critical\" | \"available\"" + "\"degraded\" | \"unavailable\" | \"available\" | \"critical\"" ], "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 0650139c640af..5fee4347810e8 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2023-07-05 +date: 2023-07-06 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 a1dccd271d397..f3113ffbbecad 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 b0abaa8abedf4..45017dbd791c7 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 1940f37349838..faf971c38e25a 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2023-07-05 +date: 2023-07-06 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 bd42702bb7617..f0f1b48b64a52 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 475de1f36a366..ac10f5d1cef79 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2023-07-05 +date: 2023-07-06 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 4f91385037bca..0b695c2bc5241 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2023-07-05 +date: 2023-07-06 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 96534af7d163a..ef8f11674cc95 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 2f2122a4c41cc..b47bf1577b7bc 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 f3596e6c9b442..e0186c1c7c36b 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 7a72019e2a24c..b486308f6ee89 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 9323f3c818db8..7095eecea24ed 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 8b3058b3c42b4..8b04a3b4052e8 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 d39b2db40ed50..2bbab964972e8 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 938efa0a423a7..1a07fa93a3f7e 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2023-07-05 +date: 2023-07-06 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 416334f6351b9..4686044a7d612 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2023-07-05 +date: 2023-07-06 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 2283b43fc865b..ffed0dcd9e6bc 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f6852008c9996..3aff72c9e2786 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 b6967380d8820..137d9a0fabfdd 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2023-07-05 +date: 2023-07-06 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 bd939750029ce..dc12b4a715bd8 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 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 f9412de052cf4..2858882e98b80 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index a3cd79cb0f2a2..534a95aa96bc6 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server'] --- import kbnCoreUserSettingsServerObj from './kbn_core_user_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_internal.mdx b/api_docs/kbn_core_user_settings_server_internal.mdx index 193e7472a6022..d90a3b344552b 100644 --- a/api_docs/kbn_core_user_settings_server_internal.mdx +++ b/api_docs/kbn_core_user_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-internal title: "@kbn/core-user-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-internal plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-internal'] --- import kbnCoreUserSettingsServerInternalObj from './kbn_core_user_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_mocks.mdx b/api_docs/kbn_core_user_settings_server_mocks.mdx index 657bd8444eef1..3aa49e131ecce 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-mocks'] --- import kbnCoreUserSettingsServerMocksObj from './kbn_core_user_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 8116a3f0da0ff..f0bd69f3f6f39 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2023-07-05 +date: 2023-07-06 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 50c1bc8a38b2e..44c002cd6299c 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2023-07-05 +date: 2023-07-06 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 b4e7d659b4b7f..d412a2e55658c 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_data_service.mdx b/api_docs/kbn_data_service.mdx index ccf31fc5b622f..2c7e250b3a9a8 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 631882a8f5a2b..6dbe7f922e41b 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_analytics.mdx b/api_docs/kbn_deeplinks_analytics.mdx index 6431eb586768a..8e626acb0ff8d 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-analytics'] --- import kbnDeeplinksAnalyticsObj from './kbn_deeplinks_analytics.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_devtools.mdx b/api_docs/kbn_deeplinks_devtools.mdx index a0f5ab936f828..6ad0931e3185b 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index cf43a8b6cdd8c..5f96b19dbeed1 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 0517bf418e899..9d1c8bb1d2362 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.devdocs.json b/api_docs/kbn_deeplinks_observability.devdocs.json index fbb81a96f0d22..51a50d02fa1b1 100644 --- a/api_docs/kbn_deeplinks_observability.devdocs.json +++ b/api_docs/kbn_deeplinks_observability.devdocs.json @@ -30,7 +30,7 @@ "label": "AppId", "description": [], "signature": [ - "\"apm\" | \"metrics\" | \"logs\" | \"observability-overview\" | \"observabilityOnboarding\"" + "\"metrics\" | \"apm\" | \"logs\" | \"observability-overview\" | \"observabilityOnboarding\"" ], "path": "packages/deeplinks/observability/deep_links.ts", "deprecated": false, diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index 3e428f46cae50..efcfeb74199a1 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index edb11e1ef6bbd..fbcba2b7185d8 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index 81d527ce01372..e63028c310eba 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-analytics'] --- import kbnDefaultNavAnalyticsObj from './kbn_default_nav_analytics.devdocs.json'; diff --git a/api_docs/kbn_default_nav_devtools.mdx b/api_docs/kbn_default_nav_devtools.mdx index d1c9856de5f31..20d940c0bfd55 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-devtools'] --- import kbnDefaultNavDevtoolsObj from './kbn_default_nav_devtools.devdocs.json'; diff --git a/api_docs/kbn_default_nav_management.mdx b/api_docs/kbn_default_nav_management.mdx index a65dba1592e6a..40046d9990146 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index c4f24d090c74d..d74e3144e1384 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-ml'] --- import kbnDefaultNavMlObj from './kbn_default_nav_ml.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 1510d767c6bf8..929a951b9a51e 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2023-07-05 +date: 2023-07-06 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 d28350f75cb2f..13527f1c66919 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2023-07-05 +date: 2023-07-06 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 1bf6c89dfe937..b51f953c60295 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2023-07-05 +date: 2023-07-06 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 c95a7feb12ecc..33707d968e6e0 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.devdocs.json b/api_docs/kbn_doc_links.devdocs.json index 33436d8bacdca..eea1dfb78693e 100644 --- a/api_docs/kbn_doc_links.devdocs.json +++ b/api_docs/kbn_doc_links.devdocs.json @@ -300,7 +300,7 @@ "label": "enterpriseSearch", "description": [], "signature": [ - "{ readonly apiKeys: string; readonly behavioralAnalytics: string; readonly behavioralAnalyticsCORS: string; readonly behavioralAnalyticsEvents: string; readonly buildConnector: string; readonly bulkApi: string; readonly configuration: string; readonly connectors: string; readonly connectorsAzureBlobStorage: string; readonly connectorsClients: string; readonly connectorsConfluence: string; readonly connectorsContentExtraction: string; readonly connectorsDropbox: string; readonly connectorsGoogleCloudStorage: string; readonly connectorsJira: string; readonly connectorsMicrosoftSQL: string; readonly connectorsMongoDB: string; readonly connectorsMySQL: string; readonly connectorsNative: string; readonly connectorsNetworkDrive: string; readonly connectorsOracle: string; readonly connectorsPostgreSQL: string; readonly connectorsS3: string; readonly connectorsServiceNow: string; readonly connectorsSharepoint: string; readonly connectorsSharepointOnline: string; readonly connectorsWorkplaceSearch: string; readonly crawlerExtractionRules: string; readonly crawlerManaging: string; readonly crawlerOverview: string; readonly deployTrainedModels: string; readonly documentLevelSecurity: string; readonly elser: string; readonly engines: string; readonly esre: string; readonly esreFaq: string; readonly esreHelp: string; readonly esreLearn: string; readonly indexApi: string; readonly ingestionApis: string; readonly ingestPipelines: string; readonly knnSearch: string; readonly knnSearchCombine: string; readonly languageAnalyzers: string; readonly languageClients: string; readonly licenseManagement: string; readonly machineLearningStart: string; readonly mailService: string; readonly mlDocumentEnrichment: string; readonly searchApplicationsTemplates: string; readonly searchApplicationsSearchApi: string; readonly searchApplications: string; readonly searchApplicationsGettingStarted: string; readonly searchTemplates: string; readonly start: string; readonly supportedNlpModels: string; readonly syncRules: string; readonly trainedModels: string; readonly textEmbedding: string; readonly troubleshootSetup: string; readonly usersAccess: string; }" + "{ readonly apiKeys: string; readonly behavioralAnalytics: string; readonly behavioralAnalyticsCORS: string; readonly behavioralAnalyticsEvents: string; readonly buildConnector: string; readonly bulkApi: string; readonly configuration: string; readonly connectors: string; readonly connectorsAzureBlobStorage: string; readonly connectorsClients: string; readonly connectorsConfluence: string; readonly connectorsContentExtraction: string; readonly connectorsDropbox: string; readonly connectorsGoogleCloudStorage: string; readonly connectorsJira: string; readonly connectorsMicrosoftSQL: string; readonly connectorsMongoDB: string; readonly connectorsMySQL: string; readonly connectorsNative: string; readonly connectorsNetworkDrive: string; readonly connectorsOracle: string; readonly connectorsPostgreSQL: string; readonly connectorsS3: string; readonly connectorsServiceNow: string; readonly connectorsSharepoint: string; readonly connectorsSharepointOnline: string; readonly connectorsWorkplaceSearch: string; readonly crawlerExtractionRules: string; readonly crawlerManaging: string; readonly crawlerOverview: string; readonly deployTrainedModels: string; readonly documentLevelSecurity: string; readonly elser: string; readonly engines: string; readonly esre: string; readonly esreFaq: string; readonly esreHelp: string; readonly esreLearn: string; readonly indexApi: string; readonly ingestionApis: string; readonly ingestPipelines: string; readonly knnSearch: string; readonly knnSearchCombine: string; readonly languageAnalyzers: string; readonly languageClients: string; readonly licenseManagement: string; readonly machineLearningStart: string; readonly mailService: string; readonly mlDocumentEnrichment: string; readonly searchApplicationsTemplates: string; readonly searchApplicationsSearchApi: string; readonly searchApplications: string; readonly searchApplicationsSearch: string; readonly searchTemplates: string; readonly start: string; readonly supportedNlpModels: string; readonly syncRules: string; readonly trainedModels: string; readonly textEmbedding: string; readonly troubleshootSetup: string; readonly usersAccess: string; }" ], "path": "packages/kbn-doc-links/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index ae81cabcc0fd8..e816293e6994c 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2023-07-05 +date: 2023-07-06 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 d72e51b1ab038..b3e1fc951d991 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_dom_drag_drop.mdx b/api_docs/kbn_dom_drag_drop.mdx index 2a2740d570c36..13af9628e84ed 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dom-drag-drop'] --- import kbnDomDragDropObj from './kbn_dom_drag_drop.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 1c35244834411..b5ce579b26a05 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2023-07-05 +date: 2023-07-06 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 0f8efd19b9a29..ea1b7f729beb5 100644 --- a/api_docs/kbn_ecs.mdx +++ b/api_docs/kbn_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs title: "@kbn/ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs'] --- import kbnEcsObj from './kbn_ecs.devdocs.json'; diff --git a/api_docs/kbn_ecs_data_quality_dashboard.mdx b/api_docs/kbn_ecs_data_quality_dashboard.mdx index 12b55452a3798..8d6a3518aa4b4 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.devdocs.json b/api_docs/kbn_elastic_assistant.devdocs.json index 7e9042123f6a9..2726990b13c37 100644 --- a/api_docs/kbn_elastic_assistant.devdocs.json +++ b/api_docs/kbn_elastic_assistant.devdocs.json @@ -379,7 +379,7 @@ "label": "type", "description": [], "signature": [ - "\"eql\" | \"json\" | \"kql\" | \"dsl\" | \"no-type\"" + "\"eql\" | \"kql\" | \"dsl\" | \"json\" | \"no-type\"" ], "path": "x-pack/packages/kbn-elastic-assistant/impl/assistant/use_conversation/helpers.ts", "deprecated": false, @@ -928,7 +928,7 @@ "label": "QueryType", "description": [], "signature": [ - "\"eql\" | \"json\" | \"kql\" | \"dsl\" | \"no-type\"" + "\"eql\" | \"kql\" | \"dsl\" | \"json\" | \"no-type\"" ], "path": "x-pack/packages/kbn-elastic-assistant/impl/assistant/use_conversation/helpers.ts", "deprecated": false, diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index d7aa33323d970..bd7340fc7a88f 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index f817ec0859dc1..c5ad506f1b5c0 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2023-07-05 +date: 2023-07-06 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 d5c755b334ed8..009153ecb7e51 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2023-07-05 +date: 2023-07-06 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 5718752bd3dd4..9c7507719f10b 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.devdocs.json b/api_docs/kbn_es_query.devdocs.json index 5155512ed1399..960dfc1192653 100644 --- a/api_docs/kbn_es_query.devdocs.json +++ b/api_docs/kbn_es_query.devdocs.json @@ -4243,6 +4243,8 @@ "FilterMetaParams", " | undefined; from?: string | number | undefined; to?: string | number | undefined; gt?: string | number | undefined; lt?: string | number | undefined; gte?: string | number | undefined; lte?: string | number | undefined; format?: string | undefined; } | { query: ", "FilterMetaParams", + " | undefined; length: number; toString(): string; toLocaleString(): string; pop(): number | undefined; push(...items: number[]): number; concat(...items: ConcatArray[]): number[]; concat(...items: (number | ConcatArray)[]): number[]; join(separator?: string | undefined): string; reverse(): number[]; shift(): number | undefined; slice(start?: number | undefined, end?: number | undefined): number[]; sort(compareFn?: ((a: number, b: number) => number) | undefined): number[]; splice(start: number, deleteCount?: number | undefined): number[]; splice(start: number, deleteCount: number, ...items: number[]): number[]; unshift(...items: number[]): number; indexOf(searchElement: number, fromIndex?: number | undefined): number; lastIndexOf(searchElement: number, fromIndex?: number | undefined): number; every(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; some(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any): void; map(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any): U[]; filter(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; find(predicate: (this: void, value: number, index: number, obj: number[]) => value is S, thisArg?: any): S | undefined; find(predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number | undefined; findIndex(predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; fill(value: number, start?: number | undefined, end?: number | undefined): number[]; copyWithin(target: number, start: number, end?: number | undefined): number[]; entries(): IterableIterator<[number, number]>; keys(): IterableIterator; values(): IterableIterator; includes(searchElement: number, fromIndex?: number | undefined): boolean; flatMap(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This | undefined): U[]; flat(this: A, depth?: D | undefined): FlatArray[]; [Symbol.iterator](): IterableIterator; [Symbol.unscopables](): { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }; at(index: number): number | undefined; } | { query: ", + "FilterMetaParams", " | undefined; $state?: { store: ", { "pluginId": "@kbn/es-query", @@ -4261,8 +4263,6 @@ }, "; } | { query: ", "FilterMetaParams", - " | undefined; length: number; toString(): string; toLocaleString(): string; pop(): number | undefined; push(...items: number[]): number; concat(...items: ConcatArray[]): number[]; concat(...items: (number | ConcatArray)[]): number[]; join(separator?: string | undefined): string; reverse(): number[]; shift(): number | undefined; slice(start?: number | undefined, end?: number | undefined): number[]; sort(compareFn?: ((a: number, b: number) => number) | undefined): number[]; splice(start: number, deleteCount?: number | undefined): number[]; splice(start: number, deleteCount: number, ...items: number[]): number[]; unshift(...items: number[]): number; indexOf(searchElement: number, fromIndex?: number | undefined): number; lastIndexOf(searchElement: number, fromIndex?: number | undefined): number; every(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; some(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any): void; map(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any): U[]; filter(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; find(predicate: (this: void, value: number, index: number, obj: number[]) => value is S, thisArg?: any): S | undefined; find(predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number | undefined; findIndex(predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; fill(value: number, start?: number | undefined, end?: number | undefined): number[]; copyWithin(target: number, start: number, end?: number | undefined): number[]; entries(): IterableIterator<[number, number]>; keys(): IterableIterator; values(): IterableIterator; includes(searchElement: number, fromIndex?: number | undefined): boolean; flatMap(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This | undefined): U[]; flat(this: A, depth?: D | undefined): FlatArray[]; [Symbol.iterator](): IterableIterator; [Symbol.unscopables](): { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }; at(index: number): number | undefined; } | { query: ", - "FilterMetaParams", " | undefined; alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type: \"range\"; key?: string | undefined; params?: (", "FilterMetaParams", " & ", diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index d59bb5ddd951d..b1081e634171c 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2023-07-05 +date: 2023-07-06 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 2081f038f43e4..0da4f622e3cbd 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2023-07-05 +date: 2023-07-06 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 fccc76a9972c2..34a8fbb8f69d7 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.devdocs.json b/api_docs/kbn_expandable_flyout.devdocs.json index 7fcd69c291a2e..89009e9d4591d 100644 --- a/api_docs/kbn_expandable_flyout.devdocs.json +++ b/api_docs/kbn_expandable_flyout.devdocs.json @@ -37,7 +37,7 @@ "section": "def-common.ExpandableFlyoutProps", "text": "ExpandableFlyoutProps" }, - ">): JSX.Element; displayName: string | undefined; }" + ">): JSX.Element | null; displayName: string | undefined; }" ], "path": "packages/kbn-expandable-flyout/src/index.tsx", "deprecated": false, diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index 5e87a772ddaa4..0db201126fcae 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/expandable-flyout'] --- import kbnExpandableFlyoutObj from './kbn_expandable_flyout.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index c76e5be48d94d..93f7142202248 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2023-07-05 +date: 2023-07-06 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 cc927d2563282..45894b1d29c32 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2023-07-05 +date: 2023-07-06 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 64285e4ea52d3..8091bf1308dba 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2023-07-05 +date: 2023-07-06 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 2a4252112f6a7..20be56388a1d8 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_generate_console_definitions.mdx b/api_docs/kbn_generate_console_definitions.mdx index d450935d31331..f4ff59c87c94e 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index bf78b04382785..82546b3279bf3 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_generate_csv_types.mdx b/api_docs/kbn_generate_csv_types.mdx index 0c18490fc9c0a..be1e4f28173f0 100644 --- a/api_docs/kbn_generate_csv_types.mdx +++ b/api_docs/kbn_generate_csv_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv-types title: "@kbn/generate-csv-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv-types plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv-types'] --- import kbnGenerateCsvTypesObj from './kbn_generate_csv_types.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index df7d4da812877..16a700fa0309e 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2023-07-05 +date: 2023-07-06 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 76e2fcedb8f6b..2c9c6094a8147 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2023-07-05 +date: 2023-07-06 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 707eb01fdfdd9..74aa78adf6460 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 41f99fbe22ff6..869bded2dbe1f 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2023-07-05 +date: 2023-07-06 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 12b114d11419d..41ff8e2f8b673 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2023-07-05 +date: 2023-07-06 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 40954ee038b46..2282e11e157ed 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2023-07-05 +date: 2023-07-06 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 1e046a3e074ee..55b88f33086df 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2023-07-05 +date: 2023-07-06 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 a09a6acb7966a..2f6f9b37d4a6a 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2023-07-05 +date: 2023-07-06 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 3aa45aea29ce6..889955267ac68 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index 69afe9c8be9d7..49097c4628f17 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/infra-forge'] --- import kbnInfraForgeObj from './kbn_infra_forge.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 3148ef143f500..3fff65006ae2f 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.devdocs.json b/api_docs/kbn_io_ts_utils.devdocs.json index ada7290e57182..dc01ec7124709 100644 --- a/api_docs/kbn_io_ts_utils.devdocs.json +++ b/api_docs/kbn_io_ts_utils.devdocs.json @@ -210,17 +210,7 @@ "signature": [ "(start: number, end: number) => ", "Type", - "<", - "Branded", - ", unknown, unknown>" + "" ], "path": "packages/kbn-io-ts-utils/src/in_range_rt/index.ts", "deprecated": false, @@ -269,18 +259,8 @@ "description": [], "signature": [ "(start: number, end: number) => ", - "BrandC", - "<", - "NumberC", - ", ", - { - "pluginId": "@kbn/io-ts-utils", - "scope": "common", - "docId": "kibKbnIoTsUtilsPluginApi", - "section": "def-common.InRangeBrand", - "text": "InRangeBrand" - }, - ">" + "Type", + "" ], "path": "packages/kbn-io-ts-utils/src/in_range_rt/index.ts", "deprecated": false, diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 2522ef4484934..ed07501598e75 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 fc145dbadb6c1..1f6f9edaca7ee 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.devdocs.json b/api_docs/kbn_journeys.devdocs.json index b0a4c65e8be13..24a4280bfdb1a 100644 --- a/api_docs/kbn_journeys.devdocs.json +++ b/api_docs/kbn_journeys.devdocs.json @@ -995,7 +995,7 @@ "label": "get", "description": [], "signature": [ - "() => { path: string; fullscreenPath: string; type: \"failure\" | \"success\"; title: string; filename: string; fullscreenFilename: string; }[]" + "() => { path: string; fullscreenPath: string; type: \"success\" | \"failure\"; title: string; filename: string; fullscreenFilename: string; }[]" ], "path": "packages/kbn-journeys/journey/journey_screenshots.ts", "deprecated": false, diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 875b50dca5058..32e5209accdb4 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_json_ast.mdx b/api_docs/kbn_json_ast.mdx index 2882e4a85d646..6a76006f7f299 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 7e3446d54e950..cec349a053f21 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2023-07-05 +date: 2023-07-06 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 f0b0dee2e59a1..699b206dddc36 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2023-07-05 +date: 2023-07-06 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 d8656d2c7b08e..83d9b23a74ee2 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2023-07-05 +date: 2023-07-06 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 b874ca581b2ed..72efc5502dd21 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 6427e57a56090..4622d7c54cc25 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_management_cards_navigation.mdx b/api_docs/kbn_management_cards_navigation.mdx index 4801a3d431dd7..7d8cb3db9dd47 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index b36c548b3a256..d42b1a991f364 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 1acfc03f758ed..fc493892421f5 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_maps_vector_tile_utils.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index 97ce255d43aff..9bb8689e28a07 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/maps-vector-tile-utils'] --- import kbnMapsVectorTileUtilsObj from './kbn_maps_vector_tile_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 4b86e5a5d91da..5ea6148659c79 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index 81b7732d7d54d..98e2b658875d4 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 67e7bebfd62ce..ed8a957fed2ea 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index eb2bda204fb60..be0d16192e67d 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index 06cc579d58af8..d233599230d6b 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index c79d46c85e15c..cdc36c4c6f981 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index 83f67640a203f..826bbc385fca5 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 8a7723e9f4b52..61c0688031b0f 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 32266a258893e..452b60ed14300 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 902e61e596883..2dcd889e00601 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index d83547a5193d6..92d3ad7e78521 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index c0bc51865d04d..38d3f2f541c02 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index 9bae59a6eacf9..816538fb3a710 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index 2b05f974f8297..39db337272286 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index 2f37f244dacfd..287185cf8506d 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index f4cffc6552377..af0f5b740aa6f 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index deb6851a6694d..b8f21093f1e5a 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 53c42072a23a0..a5af117941a5a 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index 667e781b31b2c..c4e6ba54f62c9 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 81b827e7d47b9..1d979e3d96a43 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2023-07-05 +date: 2023-07-06 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 b677020dbfd90..259432cef038e 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_object_versioning.mdx b/api_docs/kbn_object_versioning.mdx index 4c8b8c779ad23..87708cfaf5e00 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index 724aeb08bced6..416bec6df2dbe 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index fe46d23c82bf0..0edcce0923d83 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2023-07-05 +date: 2023-07-06 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 0ee301007ce39..e347da4d9cc6c 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 3de2f47c2a484..559c103f26c85 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2023-07-05 +date: 2023-07-06 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 c0a39fff7e0d9..ce8c0fc01d922 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2023-07-05 +date: 2023-07-06 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 35dadb27af453..564fd14368f7d 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2023-07-05 +date: 2023-07-06 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 f825c8a465ca3..4cadcaabf1565 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index b5fbc1b7c5f3f..6c9ff40854472 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/random-sampling'] --- import kbnRandomSamplingObj from './kbn_random_sampling.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 0b08ea7363967..bf9f2504d1174 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index 554d4dcb5af84..dcb3a535dfde3 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-file-maps'] --- import kbnRepoFileMapsObj from './kbn_repo_file_maps.devdocs.json'; diff --git a/api_docs/kbn_repo_linter.mdx b/api_docs/kbn_repo_linter.mdx index 955ef83ff1cdc..882e7a882f040 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-linter'] --- import kbnRepoLinterObj from './kbn_repo_linter.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index 2c9945dbba730..228745f1d6f92 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2023-07-05 +date: 2023-07-06 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 550a8eaf50a67..d5008dc743e9f 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_reporting_common.mdx b/api_docs/kbn_reporting_common.mdx index 43c1420846cef..6deb3737c5663 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index e259a39092f0c..f2b367ea154b0 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index 6d36cbbebda1e..5243f590ad62f 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rrule'] --- import kbnRruleObj from './kbn_rrule.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 156c11bb3eb1e..465ddba9e9bf8 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_saved_objects_settings.mdx b/api_docs/kbn_saved_objects_settings.mdx index fea62bc327b5f..b50905e1f7b3f 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index 04021ce24ff92..c39754cbe6420 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-side-nav'] --- import kbnSecuritySolutionSideNavObj from './kbn_security_solution_side_nav.devdocs.json'; diff --git a/api_docs/kbn_security_solution_storybook_config.mdx b/api_docs/kbn_security_solution_storybook_config.mdx index 00ca6215b5697..5c470c5fcf250 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-storybook-config'] --- import kbnSecuritySolutionStorybookConfigObj from './kbn_security_solution_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 1ed0c4cc1bb23..f5f7359eac66f 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_data_table.mdx b/api_docs/kbn_securitysolution_data_table.mdx index 474af441e362e..6252a4e9af0f5 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-data-table'] --- import kbnSecuritysolutionDataTableObj from './kbn_securitysolution_data_table.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_ecs.mdx b/api_docs/kbn_securitysolution_ecs.mdx index b0054b96656be..d47d709fc355b 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-ecs'] --- import kbnSecuritysolutionEcsObj from './kbn_securitysolution_ecs.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 062ff3f7fd368..4edae1b9d1b8d 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json index 4eda6d4e6ce6a..4c81017a0980b 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.devdocs.json +++ b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json @@ -834,7 +834,7 @@ "label": "formattedDateComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"summary\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" + "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"summary\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/meta/index.tsx", "deprecated": false, @@ -848,7 +848,7 @@ "label": "securityLinkAnchorComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"summary\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" + "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"summary\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/meta/index.tsx", "deprecated": false, @@ -987,7 +987,7 @@ "label": "securityLinkAnchorComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"summary\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" + "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"summary\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, @@ -1001,7 +1001,7 @@ "label": "formattedDateComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"summary\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" + "\"symbol\" | \"object\" | \"big\" | \"link\" | \"small\" | \"sub\" | \"sup\" | \"source\" | \"desc\" | \"filter\" | \"text\" | \"map\" | \"head\" | React.ComponentType | \"slot\" | \"style\" | \"title\" | \"meta\" | \"pattern\" | \"summary\" | \"template\" | \"main\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"menu\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"script\" | \"section\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"stop\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\" | \"view\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index a43b54c7e8be6..f7b9726580b23 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_grouping.mdx b/api_docs/kbn_securitysolution_grouping.mdx index 765aca6e6ccb2..e701ce6ed4dd0 100644 --- a/api_docs/kbn_securitysolution_grouping.mdx +++ b/api_docs/kbn_securitysolution_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-grouping title: "@kbn/securitysolution-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-grouping plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-grouping'] --- import kbnSecuritysolutionGroupingObj from './kbn_securitysolution_grouping.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 01b91c96f5fb8..f817e1cba2f4e 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 c6930ecbabaca..9c1a10569d043 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2023-07-05 +date: 2023-07-06 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 a49d0cf0ea181..2980b6770f5cf 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2023-07-05 +date: 2023-07-06 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 cc151193b5f4d..ce16807d7068e 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2023-07-05 +date: 2023-07-06 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 f262893b0d38e..683723abb4cc4 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 9734f0e0acad9..08b860bbf9f77 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_securitysolution_list_constants.devdocs.json index 86b382c6bc5a0..90a4d358f937e 100644 --- a/api_docs/kbn_securitysolution_list_constants.devdocs.json +++ b/api_docs/kbn_securitysolution_list_constants.devdocs.json @@ -720,14 +720,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" @@ -744,6 +736,14 @@ "plugin": "lists", "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts" @@ -776,6 +776,38 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" + }, + { + "plugin": "lists", + "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/policy/view/policy_hooks.ts" @@ -804,30 +836,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/service/api_client.ts" }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/server/saved_objects/migrations.ts" - }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/lib/artifacts/lists.ts" @@ -856,14 +864,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lists_integration/endpoint/validators/trusted_app_validator.ts" }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" - }, - { - "plugin": "lists", - "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/saved_objects/migrations.test.ts" @@ -1036,14 +1036,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/services/exception_lists/create_endpoint_trusted_apps_list.ts" @@ -1060,6 +1052,14 @@ "plugin": "lists", "path": "x-pack/plugins/lists/common/schemas/response/exception_list_schema.mock.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/trusted_apps/constants.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts" diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 4e736d97d3972..4515f2b942ed6 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2023-07-05 +date: 2023-07-06 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 5dbb710e0fc0c..b9eb4899cec01 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2023-07-05 +date: 2023-07-06 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 64601b6d4c4c9..cb9ada1da4bc3 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 6393c27aa5b16..8f8402e80a81b 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2023-07-05 +date: 2023-07-06 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 8ae592064a6ff..7483d02f468cc 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2023-07-05 +date: 2023-07-06 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 25d56bed1306c..295014ab38030 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2023-07-05 +date: 2023-07-06 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 642c8490fc15b..9a4b2c4ceed41 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2023-07-05 +date: 2023-07-06 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 09988c969aed2..b24fb81c5fe63 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index 66f94916d8283..18a74c9c6f9da 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index 9ff861f91a90d..bddbd36c66b94 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-storybook-config'] --- import kbnServerlessStorybookConfigObj from './kbn_serverless_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index b30b411128fa2..241e1bcf97862 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2023-07-05 +date: 2023-07-06 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 1c1210832eaa1..34799149a4f45 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2023-07-05 +date: 2023-07-06 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 531bc47c943a8..f01252a8e8c83 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2023-07-05 +date: 2023-07-06 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 2c912c64b30cf..ab30c07c67917 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2023-07-05 +date: 2023-07-06 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 3c07ddc4652cf..4d31d79b78f43 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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.devdocs.json b/api_docs/kbn_shared_ux_button_toolbar.devdocs.json index 40debaa698553..c7dad0c8c07b9 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.devdocs.json +++ b/api_docs/kbn_shared_ux_button_toolbar.devdocs.json @@ -29,7 +29,7 @@ "\nA button that acts to add an item from the library to a solution, typically through a modal." ], "signature": [ - "({ onClick, ...rest }: ", + "({ onClick, size, ...rest }: ", { "pluginId": "@kbn/shared-ux-button-toolbar", "scope": "common", @@ -48,7 +48,7 @@ "id": "def-common.AddFromLibraryButton.$1", "type": "Object", "tags": [], - "label": "{ onClick, ...rest }", + "label": "{ onClick, size = 'm', ...rest }", "description": [], "signature": [ { @@ -78,7 +78,7 @@ "\nA group of buttons each performing an action, represented by an icon." ], "signature": [ - "({ buttons, legend }: ", + "({ buttons, legend, buttonSize }: ", { "pluginId": "@kbn/shared-ux-button-toolbar", "scope": "common", @@ -97,7 +97,7 @@ "id": "def-common.IconButtonGroup.$1", "type": "Object", "tags": [], - "label": "{ buttons, legend }", + "label": "{ buttons, legend, buttonSize = 'm' }", "description": [], "signature": [ { @@ -176,7 +176,7 @@ "label": "ToolbarButton", "description": [], "signature": [ - "({ label, type, iconSide, ...rest }: React.PropsWithChildren<", + "({ label, type, iconSide, size, ...rest }: React.PropsWithChildren<", { "pluginId": "@kbn/shared-ux-button-toolbar", "scope": "common", @@ -195,7 +195,7 @@ "id": "def-common.ToolbarButton.$1", "type": "CompoundType", "tags": [], - "label": "{\n label,\n type = 'empty',\n iconSide = 'left',\n ...rest\n}", + "label": "{\n label,\n type = 'empty',\n iconSide = 'left',\n size = 'm',\n ...rest\n}", "description": [], "signature": [ "React.PropsWithChildren<", @@ -227,7 +227,7 @@ "\nA button which opens a popover of additional actions within the toolbar." ], "signature": [ - "({ type, label, iconType, children, ...popover }: ", + "({ type, label, iconType, size, children, ...popover }: ", { "pluginId": "@kbn/shared-ux-button-toolbar", "scope": "common", @@ -246,7 +246,7 @@ "id": "def-common.ToolbarPopover.$1", "type": "CompoundType", "tags": [], - "label": "{ type, label, iconType, children, ...popover }", + "label": "{\n type,\n label,\n iconType,\n size = 'm',\n children,\n ...popover\n}", "description": [], "signature": [ { @@ -411,6 +411,22 @@ "path": "packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/shared-ux-button-toolbar", + "id": "def-common.Props.buttonSize", + "type": "CompoundType", + "tags": [], + "label": "buttonSize", + "description": [ + "Button size" + ], + "signature": [ + "\"m\" | \"compressed\" | \"s\" | undefined" + ], + "path": "packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -434,7 +450,7 @@ }, " extends Pick<", "EuiButtonPropsForButton", - ", \"onClick\" | \"data-test-subj\" | \"iconType\" | \"iconSide\">" + ", \"onClick\" | \"data-test-subj\" | \"iconType\" | \"size\" | \"iconSide\">" ], "path": "packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.tsx", "deprecated": false, @@ -509,7 +525,7 @@ "label": "Props", "description": [], "signature": [ - "{ onClick?: React.MouseEventHandler | undefined; 'data-test-subj'?: string | undefined; iconSide?: ", + "{ onClick?: React.MouseEventHandler | undefined; 'data-test-subj'?: string | undefined; size?: \"m\" | \"s\" | undefined; iconSide?: ", "ButtonContentIconSide", "; }" ], @@ -553,7 +569,7 @@ "section": "def-common.Props", "text": "Props" }, - "> | (({ type, label, iconType, children, ...popover }: ", + "> | (({ type, label, iconType, size, children, ...popover }: ", { "pluginId": "@kbn/shared-ux-button-toolbar", "scope": "common", diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index bd70bd98c3692..18252cc2a150d 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 27 | 0 | 10 | 0 | +| 28 | 0 | 10 | 0 | ## Common diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 706bac4f59acd..eeca5df324f71 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2023-07-05 +date: 2023-07-06 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 02102583a77b0..6f8a575286882 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_chrome_navigation.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index ac8e0150cad76..70a03c2753d6c 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index 8e3c4ff5c8ec3..c39e3811257c9 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2023-07-05 +date: 2023-07-06 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 ea250c4c3a7fb..73ba9bc7ae0e9 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2023-07-05 +date: 2023-07-06 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 07b09f5f34f91..1231e18568dd5 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 1d51faf21ef34..13e98c6249474 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 b263a80e5f5d0..db49f2c45ad00 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-picker'] --- import kbnSharedUxFilePickerObj from './kbn_shared_ux_file_picker.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_types.mdx b/api_docs/kbn_shared_ux_file_types.mdx index 03137d11e0274..a9ffcbe5ef395 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-types'] --- import kbnSharedUxFileTypesObj from './kbn_shared_ux_file_types.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index 3d18c0daf5461..2658ef0adb46d 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2023-07-05 +date: 2023-07-06 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 6b4a7568839ba..a12eada185888 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2023-07-05 +date: 2023-07-06 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 b255f6230f787..ee532bdf14097 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2023-07-05 +date: 2023-07-06 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 27f167249ea83..f831cc3777529 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 bc4473a08f23f..0276fac86c73f 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2023-07-05 +date: 2023-07-06 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 886cb45856c00..f84dedb4f488c 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 811fc7c95e689..30e86230df396 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2023-07-05 +date: 2023-07-06 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 3b0e8c63569a6..741cf47f16d23 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 fd74062daae01..11b8702b6ea38 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2023-07-05 +date: 2023-07-06 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 91379e848e63e..d1daec1ad5c25 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 59ef177721ddf..703c172cf8654 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2023-07-05 +date: 2023-07-06 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 0835f6dab888c..7163a8e3df095 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 63b6cc21a36f8..6656d1933f4b2 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2023-07-05 +date: 2023-07-06 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 c7255c2077499..19c1c549b9226 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2023-07-05 +date: 2023-07-06 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 e218153d7da31..a15a90524f053 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 1a536d3315703..7e86e968ce871 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 3e70d4567cc79..93ad777370897 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2023-07-05 +date: 2023-07-06 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 8a598bc22cf94..cc2517b7f952c 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2023-07-05 +date: 2023-07-06 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 75b73b8a877b3..0b26c780e443b 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 8c72280b0a6d1..86001507896ed 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2023-07-05 +date: 2023-07-06 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 987c7d0586ca7..918afb85335d1 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2023-07-05 +date: 2023-07-06 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 c8b99990edbe9..d9d8ee1356985 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2023-07-05 +date: 2023-07-06 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 e4fbe5a4291ad..9cb0f13c316b2 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2023-07-05 +date: 2023-07-06 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 ed436ac1cd0f0..a2b64b6cb0cca 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2023-07-05 +date: 2023-07-06 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 e106b8562a601..a5c953ed66c37 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2023-07-05 +date: 2023-07-06 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 ae23535f6b45f..5d3b8fd4e9044 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2023-07-05 +date: 2023-07-06 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 67ff55eefa97d..3bf056e1c3d44 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 048c6f24c03b6..42119f277ec4d 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2023-07-05 +date: 2023-07-06 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 434f426e02a46..be8136a8be87b 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2023-07-05 +date: 2023-07-06 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 024c14d8b5033..ecf16e1154f54 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2023-07-05 +date: 2023-07-06 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 6db2677eba7ae..e384d439d81c8 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2023-07-05 +date: 2023-07-06 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 eb3509a798cda..1ab74af2be186 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2023-07-05 +date: 2023-07-06 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 1009301eb174f..b1b597e6f225d 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2023-07-05 +date: 2023-07-06 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 39bf68611d8d2..d939a8c4e68d2 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_text_based_editor.mdx b/api_docs/kbn_text_based_editor.mdx index 8923c6e8831e6..95e12f70cbf6f 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/text-based-editor'] --- import kbnTextBasedEditorObj from './kbn_text_based_editor.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 22cb1362d684a..0c65223d272c6 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index e4af602a22d07..c713635e764ed 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2023-07-05 +date: 2023-07-06 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 12fc03dc73aaa..c721b5d9ff4d8 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_actions_browser.mdx b/api_docs/kbn_ui_actions_browser.mdx index 21132d0b49eff..20ca693b90805 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-actions-browser'] --- import kbnUiActionsBrowserObj from './kbn_ui_actions_browser.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 4b91f5241febd..59d168ce07907 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2023-07-05 +date: 2023-07-06 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 4f49eeac558e5..5bdc99a3884e8 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index 60361fd6e2243..268cb1f002bc0 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_url_state.mdx b/api_docs/kbn_url_state.mdx index 3828f42063e9d..97b4c2334e6d1 100644 --- a/api_docs/kbn_url_state.mdx +++ b/api_docs/kbn_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-url-state title: "@kbn/url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/url-state plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/url-state'] --- import kbnUrlStateObj from './kbn_url_state.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 6439073eac901..934cb1cdd04a8 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2023-07-05 +date: 2023-07-06 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 ad7fcc1d9a86e..615ef378770e1 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2023-07-05 +date: 2023-07-06 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 1d3ad06f90eec..42a0246d400d7 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2023-07-05 +date: 2023-07-06 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 8d09226d8cde8..a50fe53b59337 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2023-07-05 +date: 2023-07-06 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 085cecb17cd01..4100f0898fafe 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2023-07-05 +date: 2023-07-06 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 6940bb92bfde0..2a7b17c6a910e 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index d566b58672683..109850994103e 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -1304,18 +1304,6 @@ "plugin": "observability", "path": "x-pack/plugins/observability/public/application/index.tsx" }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" - }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx" @@ -1352,6 +1340,18 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/app.tsx" }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" + }, { "plugin": "apm", "path": "x-pack/plugins/apm/public/components/routing/app_root/index.tsx" diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 88e2b49ec80e6..e4acb1dc62b0e 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2023-07-05 +date: 2023-07-06 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 fc785b8740ab7..b81fb1e6ecdd9 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2023-07-05 +date: 2023-07-06 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 86f3e74f10c56..d3b00864b24d9 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2023-07-05 +date: 2023-07-06 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 67b3a0c09834d..a2d96c729afc0 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2023-07-05 +date: 2023-07-06 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 418c7d6471634..25160f3a752f9 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2023-07-05 +date: 2023-07-06 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 f78f30f5ea87a..b63f2237eeb91 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.devdocs.json b/api_docs/licensing.devdocs.json index 327f43e2c4f79..82119945de7b6 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -542,6 +542,26 @@ "plugin": "apm", "path": "x-pack/plugins/apm/common/license_check.test.ts" }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" @@ -1827,6 +1847,26 @@ "plugin": "apm", "path": "x-pack/plugins/apm/common/license_check.test.ts" }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" @@ -2150,14 +2190,6 @@ "plugin": "remoteClusters", "path": "x-pack/plugins/remote_clusters/server/plugin.ts" }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/handlers/action/create_action_service.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/query.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/plugin.ts" @@ -2170,6 +2202,10 @@ "plugin": "mapsEms", "path": "src/plugins/maps_ems/server/index.ts" }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/handlers/action/create_action_service.ts" + }, { "plugin": "painlessLab", "path": "x-pack/plugins/painless_lab/server/services/license.ts" @@ -2182,6 +2218,10 @@ "plugin": "searchprofiler", "path": "x-pack/plugins/searchprofiler/server/plugin.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/query.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/services/license.ts" diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 57ed54ac6f483..ce10927587958 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2023-07-05 +date: 2023-07-06 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 05c5960070511..8b9456e591f15 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/logs_shared.devdocs.json b/api_docs/logs_shared.devdocs.json new file mode 100644 index 0000000000000..6d5d01ce5a739 --- /dev/null +++ b/api_docs/logs_shared.devdocs.json @@ -0,0 +1,7632 @@ +{ + "id": "logsShared", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "logsShared", + "id": "def-public.getLogViewReferenceFromUrl", + "type": "Function", + "tags": [], + "label": "getLogViewReferenceFromUrl", + "description": [], + "signature": [ + "({ logViewKey, sourceIdKey, toastsService, urlStateStorage, }: LogViewUrlStateDependencies) => { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | null" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.getLogViewReferenceFromUrl.$1", + "type": "Object", + "tags": [], + "label": "{\n logViewKey,\n sourceIdKey,\n toastsService,\n urlStateStorage,\n}", + "description": [], + "signature": [ + "LogViewUrlStateDependencies" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.initializeFromUrl", + "type": "Function", + "tags": [], + "label": "initializeFromUrl", + "description": [], + "signature": [ + "({ logViewKey, sourceIdKey, toastsService, urlStateStorage, }: LogViewUrlStateDependencies) => ", + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + ">" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.initializeFromUrl.$1", + "type": "Object", + "tags": [], + "label": "{\n logViewKey = defaultLogViewKey,\n sourceIdKey = defaultLegacySourceIdKey,\n toastsService,\n urlStateStorage,\n }", + "description": [], + "signature": [ + "LogViewUrlStateDependencies" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.listenForUrlChanges", + "type": "Function", + "tags": [], + "label": "listenForUrlChanges", + "description": [], + "signature": [ + "({ urlStateStorage, logViewKey, }: { urlStateStorage: ", + { + "pluginId": "kibanaUtils", + "scope": "public", + "docId": "kibKibanaUtilsPluginApi", + "section": "def-public.IKbnUrlStateStorage", + "text": "IKbnUrlStateStorage" + }, + "; logViewKey?: string | undefined; }) => ", + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + ">" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.listenForUrlChanges.$1", + "type": "Object", + "tags": [], + "label": "{\n urlStateStorage,\n logViewKey = defaultLogViewKey,\n }", + "description": [], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.listenForUrlChanges.$1.urlStateStorage", + "type": "Object", + "tags": [], + "label": "urlStateStorage", + "description": [], + "signature": [ + { + "pluginId": "kibanaUtils", + "scope": "public", + "docId": "kibKibanaUtilsPluginApi", + "section": "def-public.IKbnUrlStateStorage", + "text": "IKbnUrlStateStorage" + } + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.listenForUrlChanges.$1.logViewKey", + "type": "string", + "tags": [], + "label": "logViewKey", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogColumnHeader", + "type": "Function", + "tags": [], + "label": "LogColumnHeader", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogColumnHeader.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogColumnHeadersWrapper", + "type": "Function", + "tags": [], + "label": "LogColumnHeadersWrapper", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogColumnHeadersWrapper.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryColumn", + "type": "Function", + "tags": [], + "label": "LogEntryColumn", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryColumn.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryContextMenu", + "type": "Function", + "tags": [], + "label": "LogEntryContextMenu", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryContextMenu.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryFieldColumn", + "type": "Function", + "tags": [], + "label": "LogEntryFieldColumn", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryFieldColumn.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryFlyout", + "type": "Function", + "tags": [], + "label": "LogEntryFlyout", + "description": [], + "signature": [ + "({ logEntryId, onCloseFlyout, onSetFieldFilter, logViewReference, }: ", + "LogEntryFlyoutProps", + ") => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryFlyout.$1", + "type": "Object", + "tags": [], + "label": "{\n logEntryId,\n onCloseFlyout,\n onSetFieldFilter,\n logViewReference,\n}", + "description": [], + "signature": [ + "LogEntryFlyoutProps" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryMessageColumn", + "type": "Function", + "tags": [], + "label": "LogEntryMessageColumn", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryMessageColumn.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryRowWrapper", + "type": "Function", + "tags": [], + "label": "LogEntryRowWrapper", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryRowWrapper.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryTimestampColumn", + "type": "Function", + "tags": [], + "label": "LogEntryTimestampColumn", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryTimestampColumn.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogHighlightsStateProvider", + "type": "Function", + "tags": [], + "label": "LogHighlightsStateProvider", + "description": [], + "signature": [ + "React.FunctionComponent>" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogHighlightsStateProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogHighlightsStateProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogPositionStateProvider", + "type": "Function", + "tags": [], + "label": "LogPositionStateProvider", + "description": [], + "signature": [ + "React.FunctionComponent & { value: { hasLogViewIndices: \"initialized\"; }; }; logStreamPageCallbacks: ", + "LogStreamPageCallbacks", + "; }>>" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_position/use_log_position.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogPositionStateProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogPositionStateProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogStream", + "type": "Function", + "tags": [], + "label": "LogStream", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogStream.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogStreamProvider", + "type": "Function", + "tags": [], + "label": "LogStreamProvider", + "description": [], + "signature": [ + "React.FunctionComponent>" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_stream/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogStreamProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogStreamProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewProvider", + "type": "Function", + "tags": [], + "label": "LogViewProvider", + "description": [], + "signature": [ + "React.FunctionComponent | undefined; updateContextInUrl?: ((context: ", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), _event: ", + "LogViewEvent", + ") => void) | undefined; listenForUrlChanges?: ", + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + "> | undefined; }>>" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.ScrollableLogTextStreamView", + "type": "Function", + "tags": [], + "label": "ScrollableLogTextStreamView", + "description": [], + "signature": [ + "(props: any) => JSX.Element" + ], + "path": "x-pack/plugins/logs_shared/public/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.ScrollableLogTextStreamView.$1", + "type": "Any", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.updateContextInUrl", + "type": "Function", + "tags": [], + "label": "updateContextInUrl", + "description": [], + "signature": [ + "({ urlStateStorage, logViewKey }: LogViewUrlStateDependencies) => (context: ", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), _event: ", + "LogViewEvent", + ") => void" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.updateContextInUrl.$1", + "type": "Object", + "tags": [], + "label": "{ urlStateStorage, logViewKey = defaultLogViewKey }", + "description": [], + "signature": [ + "LogViewUrlStateDependencies" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useColumnWidths", + "type": "Function", + "tags": [], + "label": "useColumnWidths", + "description": [ + "\nThis hook calculates the column widths based on the given configuration. It\ndepends on the `CharacterDimensionsProbe` it returns being rendered so it can\nmeasure the monospace character size." + ], + "signature": [ + "({ columnConfigurations, scale, timeFormat, }: { columnConfigurations: ", + "LogColumnRenderConfiguration", + "[]; scale: ", + "TextScale", + "; timeFormat?: ", + "TimeFormat", + " | undefined; }) => { columnWidths: ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogEntryColumnWidths", + "text": "LogEntryColumnWidths" + }, + "; CharacterDimensionsProbe: () => JSX.Element; }" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useColumnWidths.$1", + "type": "Object", + "tags": [], + "label": "{\n columnConfigurations,\n scale,\n timeFormat = 'time',\n}", + "description": [], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useColumnWidths.$1.columnConfigurations", + "type": "Array", + "tags": [], + "label": "columnConfigurations", + "description": [], + "signature": [ + "LogColumnRenderConfiguration", + "[]" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useColumnWidths.$1.scale", + "type": "CompoundType", + "tags": [], + "label": "scale", + "description": [], + "signature": [ + "\"small\" | \"medium\" | \"large\"" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useColumnWidths.$1.timeFormat", + "type": "CompoundType", + "tags": [], + "label": "timeFormat", + "description": [], + "signature": [ + "TimeFormat", + " | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogEntryFlyout", + "type": "Function", + "tags": [], + "label": "useLogEntryFlyout", + "description": [], + "signature": [ + "(logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }) => { openLogEntryFlyout: (logEntryId: any) => void; closeLogEntryFlyout: () => void; }" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useLogEntryFlyout.$1", + "type": "CompoundType", + "tags": [], + "label": "logViewReference", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogHighlightsStateContext", + "type": "Function", + "tags": [], + "label": "useLogHighlightsStateContext", + "description": [], + "signature": [ + "() => { highlightTerms: string[]; setHighlightTerms: React.Dispatch>; logEntryHighlights: ({ topCursor: null; bottomCursor: null; entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; } | { topCursor: { time: number; tiebreaker: number; }; bottomCursor: { time: number; tiebreaker: number; }; entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; })[]; logEntryHighlightsById: Record; logSummaryHighlights: { start: number; end: number; buckets: ({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: number; tiebreaker: number; }; })[]; }[]; loadLogEntryHighlightsRequest: ", + "PromiseState", + "<{ data: ({ topCursor: null; bottomCursor: null; entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; } | { topCursor: { time: number; tiebreaker: number; }; bottomCursor: { time: number; tiebreaker: number; }; entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; })[]; }, unknown>; loadLogSummaryHighlightsRequest: ", + "PromiseState", + "<{ data: { start: number; end: number; buckets: ({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: number; tiebreaker: number; }; })[]; }[]; }, unknown>; currentHighlightKey: ", + "UniqueTimeKey", + " | null; hasPreviousHighlight: boolean; hasNextHighlight: boolean; goToPreviousHighlight: () => void; goToNextHighlight: () => void; }" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogPositionStateContext", + "type": "Function", + "tags": [], + "label": "useLogPositionStateContext", + "description": [], + "signature": [ + "() => DateRange & { targetPosition: TimeKeyOrNull; isStreaming: boolean; firstVisiblePosition: TimeKeyOrNull; pagesBeforeStart: number; pagesAfterEnd: number; visibleMidpoint: TimeKeyOrNull; visibleMidpointTime: number | null; visibleTimeInterval: { start: number; end: number; } | null; } & ", + "LogPositionCallbacks" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_position/use_log_position.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogStreamContext", + "type": "Function", + "tags": [], + "label": "useLogStreamContext", + "description": [], + "signature": [ + "() => { fetchEntries: () => void; fetchNextEntries: FetchPageCallback; fetchPreviousEntries: FetchPageCallback; fetchNewestEntries: () => void; isLoadingMore: boolean; isReloading: boolean; entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; topCursor: { time: number; tiebreaker: number; } | null; bottomCursor: { time: number; tiebreaker: number; } | null; hasMoreBefore: boolean; hasMoreAfter: boolean; lastLoadedTime?: Date | undefined; }" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_stream/index.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogSummary", + "type": "Function", + "tags": [], + "label": "useLogSummary", + "description": [], + "signature": [ + "(logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, startTimestamp: number | null, endTimestamp: number | null, filterQuery: string | null) => { buckets: { start: number; end: number; entriesCount: number; }[]; start: number | null; end: number | null; }" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useLogSummary.$1", + "type": "CompoundType", + "tags": [], + "label": "logViewReference", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogSummary.$2", + "type": "CompoundType", + "tags": [], + "label": "startTimestamp", + "description": [], + "signature": [ + "number | null" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogSummary.$3", + "type": "CompoundType", + "tags": [], + "label": "endTimestamp", + "description": [], + "signature": [ + "number | null" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogSummary.$4", + "type": "CompoundType", + "tags": [], + "label": "filterQuery", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView", + "type": "Function", + "tags": [], + "label": "useLogView", + "description": [], + "signature": [ + "({ initialLogViewReference, logViews, useDevTools, initializeFromUrl, updateContextInUrl, listenForUrlChanges, }: { initialLogViewReference?: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | undefined; logViews: ", + "ILogViewsClient", + "; useDevTools?: boolean | undefined; initializeFromUrl?: ", + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + "> | undefined; updateContextInUrl?: ((context: ", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), _event: ", + "LogViewEvent", + ") => void) | undefined; listenForUrlChanges?: ", + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + "> | undefined; }) => { logViewStateService: ", + "Interpreter", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), any, ", + "LogViewEvent", + ", ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; logViewStateNotifications: ", + "NotificationChannel", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewNotificationEvent", + "text": "LogViewNotificationEvent" + }, + ">; hasFailedLoading: boolean; hasFailedLoadingLogView: boolean; hasFailedLoadingLogViewStatus: boolean; hasFailedResolvingLogView: boolean; latestLoadLogViewFailures: Error[]; isUninitialized: boolean; isLoading: boolean; isLoadingLogView: boolean; isLoadingLogViewStatus: boolean; isResolvingLogView: boolean; logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }; logView: ({ id: string; origin: \"inline\" | \"internal\" | \"stored\" | \"infra-source-stored\" | \"infra-source-internal\" | \"infra-source-fallback\"; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } & { updatedAt?: number | undefined; version?: string | undefined; }) | undefined; resolvedLogView: ", + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.ResolvedLogView", + "text": "ResolvedLogView" + }, + " | undefined; logViewStatus: { index: \"missing\" | \"unknown\" | \"empty\" | \"available\"; } | undefined; derivedDataView: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | undefined; isInlineLogView: boolean; isPersistedLogView: boolean; load: () => ", + "State", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; retry: () => ", + "State", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; update: (logViewAttributes: Partial<{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }>) => Promise; changeLogViewReference: (logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }) => void; revertToDefaultLogView: () => void; }" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1", + "type": "Object", + "tags": [], + "label": "{\n initialLogViewReference,\n logViews,\n useDevTools = isDevMode(),\n initializeFromUrl,\n updateContextInUrl,\n listenForUrlChanges,\n}", + "description": [], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.initialLogViewReference", + "type": "CompoundType", + "tags": [], + "label": "initialLogViewReference", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.logViews", + "type": "Object", + "tags": [], + "label": "logViews", + "description": [], + "signature": [ + "ILogViewsClient" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.useDevTools", + "type": "CompoundType", + "tags": [], + "label": "useDevTools", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.initializeFromUrl", + "type": "Function", + "tags": [], + "label": "initializeFromUrl", + "description": [], + "signature": [ + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + "> | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.updateContextInUrl", + "type": "Function", + "tags": [], + "label": "updateContextInUrl", + "description": [], + "signature": [ + "((context: ", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), _event: ", + "LogViewEvent", + ") => void) | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogView.$1.listenForUrlChanges", + "type": "Function", + "tags": [], + "label": "listenForUrlChanges", + "description": [], + "signature": [ + "InvokeCreator", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, any, ", + "LogViewEvent", + "> | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.useLogViewContext", + "type": "Function", + "tags": [], + "label": "useLogViewContext", + "description": [], + "signature": [ + "() => { logViewStateService: ", + "Interpreter", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), any, ", + "LogViewEvent", + ", ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; logViewStateNotifications: ", + "NotificationChannel", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewNotificationEvent", + "text": "LogViewNotificationEvent" + }, + ">; hasFailedLoading: boolean; hasFailedLoadingLogView: boolean; hasFailedLoadingLogViewStatus: boolean; hasFailedResolvingLogView: boolean; latestLoadLogViewFailures: Error[]; isUninitialized: boolean; isLoading: boolean; isLoadingLogView: boolean; isLoadingLogViewStatus: boolean; isResolvingLogView: boolean; logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }; logView: ({ id: string; origin: \"inline\" | \"internal\" | \"stored\" | \"infra-source-stored\" | \"infra-source-internal\" | \"infra-source-fallback\"; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } & { updatedAt?: number | undefined; version?: string | undefined; }) | undefined; resolvedLogView: ", + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.ResolvedLogView", + "text": "ResolvedLogView" + }, + " | undefined; logViewStatus: { index: \"missing\" | \"unknown\" | \"empty\" | \"available\"; } | undefined; derivedDataView: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | undefined; isInlineLogView: boolean; isPersistedLogView: boolean; load: () => ", + "State", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; retry: () => ", + "State", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", any, ", + "LogViewTypestate", + ", ", + "ResolveTypegenMeta", + "<", + "TypegenDisabled", + ", ", + "LogViewEvent", + ", ", + "BaseActionObject", + ", ", + "ServiceMap", + ">>; update: (logViewAttributes: Partial<{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }>) => Promise; changeLogViewReference: (logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }) => void; revertToDefaultLogView: () => void; }" + ], + "path": "x-pack/plugins/logs_shared/public/hooks/use_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummary", + "type": "Function", + "tags": [], + "label": "WithSummary", + "description": [], + "signature": [ + "({ serializedParsedQuery, children }: ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.WithSummaryProps", + "text": "WithSummaryProps" + }, + ") => ", + "RendererResult" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummary.$1", + "type": "Object", + "tags": [], + "label": "{ serializedParsedQuery, children }", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.WithSummaryProps", + "text": "WithSummaryProps" + } + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryColumnWidths", + "type": "Interface", + "tags": [], + "label": "LogEntryColumnWidths", + "description": [], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryColumnWidths.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[columnId: string]: LogEntryColumnWidth", + "description": [], + "signature": [ + "[columnId: string]: ", + "LogEntryColumnWidth" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryColumnWidths.iconColumnId", + "type": "Object", + "tags": [], + "label": "[iconColumnId]", + "description": [], + "signature": [ + "{ baseWidth: string; growWeight: number; shrinkWeight: number; }" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryStreamItem", + "type": "Interface", + "tags": [], + "label": "LogEntryStreamItem", + "description": [], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/item.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryStreamItem.kind", + "type": "string", + "tags": [], + "label": "kind", + "description": [], + "signature": [ + "\"logEntry\"" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/item.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryStreamItem.logEntry", + "type": "Object", + "tags": [], + "label": "logEntry", + "description": [], + "signature": [ + "{ id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/item.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogEntryStreamItem.highlights", + "type": "Array", + "tags": [], + "label": "highlights", + "description": [], + "signature": [ + "{ id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]" + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/item.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientSetupDeps", + "type": "Interface", + "tags": [], + "label": "LogsSharedClientSetupDeps", + "description": [], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartDeps", + "type": "Interface", + "tags": [], + "label": "LogsSharedClientStartDeps", + "description": [], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartDeps.data", + "type": "Object", + "tags": [], + "label": "data", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataPluginApi", + "section": "def-public.DataPublicPluginStart", + "text": "DataPublicPluginStart" + } + ], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartDeps.dataViews", + "type": "Object", + "tags": [], + "label": "dataViews", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsServicePublic", + "text": "DataViewsServicePublic" + } + ], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartDeps.uiActions", + "type": "Object", + "tags": [], + "label": "uiActions", + "description": [], + "signature": [ + "{ readonly addTriggerAction: (triggerId: string, action: ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.ActionDefinition", + "text": "ActionDefinition" + }, + ") => void; readonly attachAction: (triggerId: string, actionId: string) => void; readonly detachAction: (triggerId: string, actionId: string) => void; readonly registerAction: (definition: ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.ActionDefinition", + "text": "ActionDefinition" + }, + ") => ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" + }, + "; readonly registerTrigger: (trigger: ", + { + "pluginId": "@kbn/ui-actions-browser", + "scope": "common", + "docId": "kibKbnUiActionsBrowserPluginApi", + "section": "def-common.Trigger", + "text": "Trigger" + }, + ") => void; readonly unregisterAction: (actionId: string) => void; readonly getTrigger: (triggerId: string) => ", + "TriggerContract", + "; readonly hasAction: (actionId: string) => boolean; readonly getAction: (id: string) => ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" + }, + "; readonly getTriggerActions: (triggerId: string) => ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" + }, + "[]; readonly getTriggerCompatibleActions: (triggerId: string, context: object) => Promise<", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" + }, + "[]>; readonly executeTriggerActions: (triggerId: string, context: object) => Promise; readonly clear: () => void; readonly fork: () => ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.UiActionsService", + "text": "UiActionsService" + }, + "; }" + ], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogStreamProps", + "type": "Interface", + "tags": [], + "label": "LogStreamProps", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogStreamProps", + "text": "LogStreamProps" + }, + " extends LogStreamContentProps" + ], + "path": "x-pack/plugins/logs_shared/public/components/log_stream/log_stream.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogStreamProps.height", + "type": "CompoundType", + "tags": [], + "label": "height", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "x-pack/plugins/logs_shared/public/components/log_stream/log_stream.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewContextWithError", + "type": "Interface", + "tags": [], + "label": "LogViewContextWithError", + "description": [], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewContextWithError.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "Error" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewContextWithResolvedLogView", + "type": "Interface", + "tags": [], + "label": "LogViewContextWithResolvedLogView", + "description": [], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewContextWithResolvedLogView.resolvedLogView", + "type": "Object", + "tags": [], + "label": "resolvedLogView", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.ResolvedLogView", + "text": "ResolvedLogView" + } + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummaryProps", + "type": "Interface", + "tags": [], + "label": "WithSummaryProps", + "description": [], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummaryProps.serializedParsedQuery", + "type": "CompoundType", + "tags": [], + "label": "serializedParsedQuery", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummaryProps.children", + "type": "Function", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "(args: { buckets: { start: number; end: number; entriesCount: number; }[]; start: number | null; end: number | null; }) => ", + "RendererResult" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.WithSummaryProps.children.$1", + "type": "Uncategorized", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "RenderArgs" + ], + "path": "x-pack/plugins/logs_shared/public/utils/typed_react.tsx", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "logsShared", + "id": "def-public.iconColumnId", + "type": "Uncategorized", + "tags": [], + "label": "iconColumnId", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.iconColumnId", + "text": "iconColumnId" + } + ], + "path": "x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogSummaryBuckets", + "type": "Type", + "tags": [], + "label": "LogSummaryBuckets", + "description": [], + "signature": [ + "{ start: number; end: number; entriesCount: number; }[]" + ], + "path": "x-pack/plugins/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewNotificationChannel", + "type": "Type", + "tags": [], + "label": "LogViewNotificationChannel", + "description": [], + "signature": [ + "NotificationChannel", + "<", + "LogViewContextWithReference", + " | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithResolvedLogView", + "text": "LogViewContextWithResolvedLogView" + }, + " & ", + "LogViewContextWithStatus", + ") | (", + "LogViewContextWithReference", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + ") | (", + "LogViewContextWithReference", + " & ", + "LogViewContextWithLogView", + " & ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewContextWithError", + "text": "LogViewContextWithError" + }, + "), ", + "LogViewEvent", + ", ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogViewNotificationEvent", + "text": "LogViewNotificationEvent" + }, + ">" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-public.LogViewNotificationEvent", + "type": "Type", + "tags": [], + "label": "LogViewNotificationEvent", + "description": [], + "signature": [ + "{ type: \"LOADING_LOG_VIEW_STARTED\"; logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }; } | { type: \"LOADING_LOG_VIEW_SUCCEEDED\"; resolvedLogView: ", + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.ResolvedLogView", + "text": "ResolvedLogView" + }, + "; status: { index: \"missing\" | \"unknown\" | \"empty\" | \"available\"; }; } | { type: \"LOADING_LOG_VIEW_FAILED\"; error: Error; }" + ], + "path": "x-pack/plugins/logs_shared/public/observability_logs/log_view_state/src/notifications.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [], + "setup": { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientSetupExports", + "type": "Interface", + "tags": [], + "label": "LogsSharedClientSetupExports", + "description": [], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientSetupExports.logViews", + "type": "Object", + "tags": [], + "label": "logViews", + "description": [], + "signature": [ + "LogViewsServiceSetup" + ], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "lifecycle": "setup", + "initialIsOpen": true + }, + "start": { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartExports", + "type": "Interface", + "tags": [], + "label": "LogsSharedClientStartExports", + "description": [], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-public.LogsSharedClientStartExports.logViews", + "type": "Object", + "tags": [], + "label": "logViews", + "description": [], + "signature": [ + "LogViewsServiceStart" + ], + "path": "x-pack/plugins/logs_shared/public/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "lifecycle": "start", + "initialIsOpen": true + } + }, + "server": { + "classes": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain", + "type": "Class", + "tags": [], + "label": "LogsSharedLogEntriesDomain", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "server", + "docId": "kibLogsSharedPluginApi", + "section": "def-server.LogsSharedLogEntriesDomain", + "text": "LogsSharedLogEntriesDomain" + }, + " implements ", + { + "pluginId": "logsShared", + "scope": "server", + "docId": "kibLogsSharedPluginApi", + "section": "def-server.ILogsSharedLogEntriesDomain", + "text": "ILogsSharedLogEntriesDomain" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "adapter", + "description": [], + "signature": [ + "LogEntriesAdapter" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "libs", + "description": [], + "signature": [ + "Pick<", + "LogsSharedBackendLibs", + ", \"framework\" | \"getStartServices\">" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntriesAround", + "type": "Function", + "tags": [], + "label": "getLogEntriesAround", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, params: ", + "LogEntriesAroundParams", + ", columnOverrides?: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined) => Promise<{ entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntriesAround.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntriesAround.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntriesAround.$3", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "LogEntriesAroundParams" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntriesAround.$4", + "type": "Array", + "tags": [], + "label": "columnOverrides", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntries", + "type": "Function", + "tags": [], + "label": "getLogEntries", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, params: ", + "LogEntriesParams", + ", columnOverrides?: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined) => Promise<{ entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntries.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntries.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntries.$3", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "LogEntriesParams" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntries.$4", + "type": "Array", + "tags": [], + "label": "columnOverrides", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween", + "type": "Function", + "tags": [], + "label": "getLogSummaryBucketsBetween", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, start: number, end: number, bucketSize: number, filterQuery?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined) => Promise<{ start: number; end: number; entriesCount: number; }[]>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$3", + "type": "number", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$4", + "type": "number", + "tags": [], + "label": "end", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$5", + "type": "number", + "tags": [], + "label": "bucketSize", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$6", + "type": "Object", + "tags": [], + "label": "filterQuery", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween", + "type": "Function", + "tags": [], + "label": "getLogSummaryHighlightBucketsBetween", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, startTimestamp: number, endTimestamp: number, bucketSize: number, highlightQueries: string[], filterQuery?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined) => Promise<({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: number; tiebreaker: number; }; })[][]>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$3", + "type": "number", + "tags": [], + "label": "startTimestamp", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$4", + "type": "number", + "tags": [], + "label": "endTimestamp", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$5", + "type": "number", + "tags": [], + "label": "bucketSize", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$6", + "type": "Array", + "tags": [], + "label": "highlightQueries", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$7", + "type": "Object", + "tags": [], + "label": "filterQuery", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets", + "type": "Function", + "tags": [], + "label": "getLogEntryDatasets", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", timestampField: string, indexName: string, startTime: number, endTime: number, runtimeMappings: ", + "MappingRuntimeFields", + ") => Promise" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$2", + "type": "string", + "tags": [], + "label": "timestampField", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$3", + "type": "string", + "tags": [], + "label": "indexName", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$4", + "type": "number", + "tags": [], + "label": "startTime", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$5", + "type": "number", + "tags": [], + "label": "endTime", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedLogEntriesDomain.getLogEntryDatasets.$6", + "type": "Object", + "tags": [], + "label": "runtimeMappings", + "description": [], + "signature": [ + "MappingRuntimeFields" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain", + "type": "Interface", + "tags": [], + "label": "ILogsSharedLogEntriesDomain", + "description": [], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntriesAround", + "type": "Function", + "tags": [], + "label": "getLogEntriesAround", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, params: ", + "LogEntriesAroundParams", + ", columnOverrides?: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined) => Promise<{ entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntriesAround.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntriesAround.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntriesAround.$3", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "LogEntriesAroundParams" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntriesAround.$4", + "type": "Array", + "tags": [], + "label": "columnOverrides", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntries", + "type": "Function", + "tags": [], + "label": "getLogEntries", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, params: ", + "LogEntriesParams", + ", columnOverrides?: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined) => Promise<{ entries: { id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntries.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntries.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntries.$3", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "LogEntriesParams" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntries.$4", + "type": "Array", + "tags": [], + "label": "columnOverrides", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween", + "type": "Function", + "tags": [], + "label": "getLogSummaryBucketsBetween", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, start: number, end: number, bucketSize: number, filterQuery?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined) => Promise<{ start: number; end: number; entriesCount: number; }[]>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$3", + "type": "number", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$4", + "type": "number", + "tags": [], + "label": "end", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$5", + "type": "number", + "tags": [], + "label": "bucketSize", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryBucketsBetween.$6", + "type": "Object", + "tags": [], + "label": "filterQuery", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween", + "type": "Function", + "tags": [], + "label": "getLogSummaryHighlightBucketsBetween", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", logView: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }, startTimestamp: number, endTimestamp: number, bucketSize: number, highlightQueries: string[], filterQuery?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined) => Promise<({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: number; tiebreaker: number; }; })[][]>" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$2", + "type": "CompoundType", + "tags": [], + "label": "logView", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$3", + "type": "number", + "tags": [], + "label": "startTimestamp", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$4", + "type": "number", + "tags": [], + "label": "endTimestamp", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$5", + "type": "number", + "tags": [], + "label": "bucketSize", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$6", + "type": "Array", + "tags": [], + "label": "highlightQueries", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogSummaryHighlightBucketsBetween.$7", + "type": "Object", + "tags": [], + "label": "filterQuery", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonObject", + "text": "JsonObject" + }, + " | undefined" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets", + "type": "Function", + "tags": [], + "label": "getLogEntryDatasets", + "description": [], + "signature": [ + "(requestContext: ", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + }, + ", timestampField: string, indexName: string, startTime: number, endTime: number, runtimeMappings: ", + "MappingRuntimeFields", + ") => Promise" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$1", + "type": "Object", + "tags": [], + "label": "requestContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "common", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-common.RequestHandlerContext", + "text": "RequestHandlerContext" + } + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$2", + "type": "string", + "tags": [], + "label": "timestampField", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$3", + "type": "string", + "tags": [], + "label": "indexName", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$4", + "type": "number", + "tags": [], + "label": "startTime", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$5", + "type": "number", + "tags": [], + "label": "endTime", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-server.ILogsSharedLogEntriesDomain.getLogEntryDatasets.$6", + "type": "Object", + "tags": [], + "label": "runtimeMappings", + "description": [], + "signature": [ + "MappingRuntimeFields" + ], + "path": "x-pack/plugins/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "logsShared", + "id": "def-server.logViewSavedObjectName", + "type": "string", + "tags": [], + "label": "logViewSavedObjectName", + "description": [], + "signature": [ + "\"infrastructure-monitoring-log-view\"" + ], + "path": "x-pack/plugins/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [], + "setup": { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginSetup", + "type": "Interface", + "tags": [], + "label": "LogsSharedPluginSetup", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "server", + "docId": "kibLogsSharedPluginApi", + "section": "def-server.LogsSharedPluginSetup", + "text": "LogsSharedPluginSetup" + }, + " extends ", + "LogsSharedDomainLibs" + ], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginSetup.logViews", + "type": "Object", + "tags": [], + "label": "logViews", + "description": [], + "signature": [ + "LogViewsServiceSetup" + ], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginSetup.registerUsageCollectorActions", + "type": "Function", + "tags": [], + "label": "registerUsageCollectorActions", + "description": [], + "signature": [ + "(usageCollector: ", + "UsageCollector", + ") => void" + ], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginSetup.registerUsageCollectorActions.$1", + "type": "Object", + "tags": [], + "label": "usageCollector", + "description": [], + "signature": [ + "UsageCollector" + ], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "lifecycle": "setup", + "initialIsOpen": true + }, + "start": { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginStart", + "type": "Interface", + "tags": [], + "label": "LogsSharedPluginStart", + "description": [], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-server.LogsSharedPluginStart.logViews", + "type": "Object", + "tags": [], + "label": "logViews", + "description": [], + "signature": [ + "LogViewsServiceStart" + ], + "path": "x-pack/plugins/logs_shared/server/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "lifecycle": "start", + "initialIsOpen": true + } + }, + "common": { + "classes": [ + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewError", + "type": "Class", + "tags": [], + "label": "FetchLogViewError", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.FetchLogViewError", + "text": "FetchLogViewError" + }, + " extends Error" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewError.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "cause", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewStatusError", + "type": "Class", + "tags": [], + "label": "FetchLogViewStatusError", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.FetchLogViewStatusError", + "text": "FetchLogViewStatusError" + }, + " extends Error" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewStatusError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewStatusError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-common.FetchLogViewStatusError.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "cause", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolveLogViewError", + "type": "Class", + "tags": [], + "label": "ResolveLogViewError", + "description": [], + "signature": [ + { + "pluginId": "logsShared", + "scope": "common", + "docId": "kibLogsSharedPluginApi", + "section": "def-common.ResolveLogViewError", + "text": "ResolveLogViewError" + }, + " extends Error" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.ResolveLogViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.ResolveLogViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolveLogViewError.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "cause", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "logsShared", + "id": "def-common.getLogEntryCursorFromHit", + "type": "Function", + "tags": [], + "label": "getLogEntryCursorFromHit", + "description": [], + "signature": [ + "(hit: { sort: [number, number]; }) => { time: number; tiebreaker: number; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.getLogEntryCursorFromHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.getLogEntryCursorFromHit.$1.sort", + "type": "Object", + "tags": [], + "label": "sort", + "description": [], + "signature": [ + "[number, number]" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView", + "type": "Interface", + "tags": [], + "label": "ResolvedLogView", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.indices", + "type": "string", + "tags": [], + "label": "indices", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.timestampField", + "type": "string", + "tags": [], + "label": "timestampField", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.tiebreakerField", + "type": "string", + "tags": [], + "label": "tiebreakerField", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.messageField", + "type": "Array", + "tags": [], + "label": "messageField", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.runtimeMappings", + "type": "Object", + "tags": [], + "label": "runtimeMappings", + "description": [], + "signature": [ + "{ [x: string]: ", + "MappingRuntimeField", + "; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.columns", + "type": "Array", + "tags": [], + "label": "columns", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogView.dataViewReference", + "type": "Object", + "tags": [], + "label": "dataViewReference", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "logsShared", + "id": "def-common.defaultFilterStateKey", + "type": "string", + "tags": [], + "label": "defaultFilterStateKey", + "description": [], + "signature": [ + "\"logFilter\"" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultPositionStateKey", + "type": "string", + "tags": [], + "label": "defaultPositionStateKey", + "description": [], + "signature": [ + "\"logPosition\"" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LOG_ENTRIES_HIGHLIGHTS_PATH", + "type": "string", + "tags": [], + "label": "LOG_ENTRIES_HIGHLIGHTS_PATH", + "description": [], + "signature": [ + "\"/api/log_entries/highlights\"" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LOG_ENTRIES_SUMMARY_PATH", + "type": "string", + "tags": [], + "label": "LOG_ENTRIES_SUMMARY_PATH", + "description": [], + "signature": [ + "\"/api/log_entries/summary\"" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/summary.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogColumn", + "type": "Type", + "tags": [], + "label": "LogColumn", + "description": [], + "signature": [ + "{ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogDataViewReference", + "type": "Type", + "tags": [], + "label": "LogDataViewReference", + "description": [], + "signature": [ + "{ type: \"data_view\"; dataViewId: string; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntriesSummaryBucket", + "type": "Type", + "tags": [], + "label": "LogEntriesSummaryBucket", + "description": [], + "signature": [ + "{ start: number; end: number; entriesCount: number; }" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/summary.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntriesSummaryHighlightsBucket", + "type": "Type", + "tags": [], + "label": "LogEntriesSummaryHighlightsBucket", + "description": [], + "signature": [ + "{ start: number; end: number; entriesCount: number; } & { representativeKey: { time: number; tiebreaker: number; }; }" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntry", + "type": "Type", + "tags": [], + "label": "LogEntry", + "description": [], + "signature": [ + "{ id: string; index: string; cursor: { time: number; tiebreaker: number; }; columns: ({ columnId: string; timestamp: number; } | { columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; } | { columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryAfterCursor", + "type": "Type", + "tags": [], + "label": "LogEntryAfterCursor", + "description": [], + "signature": [ + "{ after: { time: number; tiebreaker: number; } | \"first\"; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryAroundCursor", + "type": "Type", + "tags": [], + "label": "LogEntryAroundCursor", + "description": [], + "signature": [ + "{ center: { time: number; tiebreaker: number; }; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryBeforeCursor", + "type": "Type", + "tags": [], + "label": "LogEntryBeforeCursor", + "description": [], + "signature": [ + "{ before: { time: number; tiebreaker: number; } | \"last\"; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryContext", + "type": "Type", + "tags": [], + "label": "LogEntryContext", + "description": [], + "signature": [ + "{} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryCursor", + "type": "Type", + "tags": [], + "label": "LogEntryCursor", + "description": [], + "signature": [ + "{ time: number; tiebreaker: number; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryField", + "type": "Type", + "tags": [], + "label": "LogEntryField", + "description": [], + "signature": [ + "{ field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogEntryTime", + "type": "Type", + "tags": [], + "label": "LogEntryTime", + "description": [], + "signature": [ + "{ time: number; tiebreaker: number; } & { gid?: string | undefined; fromAutoReload?: boolean | undefined; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogFieldColumn", + "type": "Type", + "tags": [], + "label": "LogFieldColumn", + "description": [], + "signature": [ + "{ columnId: string; field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogIndexNameReference", + "type": "Type", + "tags": [], + "label": "LogIndexNameReference", + "description": [], + "signature": [ + "{ type: \"index_name\"; indexName: string; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogIndexReference", + "type": "Type", + "tags": [], + "label": "LogIndexReference", + "description": [], + "signature": [ + "{ type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogMessageColumn", + "type": "Type", + "tags": [], + "label": "LogMessageColumn", + "description": [], + "signature": [ + "{ columnId: string; message: ({ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; })[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogMessageConstantPart", + "type": "Type", + "tags": [], + "label": "LogMessageConstantPart", + "description": [], + "signature": [ + "{ constant: string; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogMessageFieldPart", + "type": "Type", + "tags": [], + "label": "LogMessageFieldPart", + "description": [], + "signature": [ + "{ field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogMessagePart", + "type": "Type", + "tags": [], + "label": "LogMessagePart", + "description": [], + "signature": [ + "{ constant: string; } | { field: string; value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + "; highlights: string[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogTimestampColumn", + "type": "Type", + "tags": [], + "label": "LogTimestampColumn", + "description": [], + "signature": [ + "{ columnId: string; timestamp: number; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogView", + "type": "Type", + "tags": [], + "label": "LogView", + "description": [], + "signature": [ + "{ id: string; origin: \"inline\" | \"internal\" | \"stored\" | \"infra-source-stored\" | \"infra-source-internal\" | \"infra-source-fallback\"; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } & { updatedAt?: number | undefined; version?: string | undefined; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogViewAttributes", + "type": "Type", + "tags": [], + "label": "LogViewAttributes", + "description": [], + "signature": [ + "{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogViewColumnConfiguration", + "type": "Type", + "tags": [], + "label": "LogViewColumnConfiguration", + "description": [], + "signature": [ + "{ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogViewReference", + "type": "Type", + "tags": [], + "label": "LogViewReference", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.LogViewStatus", + "type": "Type", + "tags": [], + "label": "LogViewStatus", + "description": [], + "signature": [ + "{ index: \"missing\" | \"unknown\" | \"empty\" | \"available\"; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.PersistedLogViewReference", + "type": "Type", + "tags": [], + "label": "PersistedLogViewReference", + "description": [], + "signature": [ + "{ logViewId: string; type: \"log-view-reference\"; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.ResolvedLogViewField", + "type": "Type", + "tags": [], + "label": "ResolvedLogViewField", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "<{}, ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.SerializableRecord", + "text": "SerializableRecord" + }, + "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeFieldSpec", + "text": "RuntimeFieldSpec" + }, + " | undefined; fixedInterval?: string[] | undefined; timeZone?: string[] | undefined; timeSeriesDimension?: boolean | undefined; timeSeriesMetric?: ", + "MappingTimeSeriesMetricType", + " | undefined; shortDotsEnable?: boolean | undefined; isMapped?: boolean | undefined; parentName?: string | undefined; }" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/resolved_log_view.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_LOG_VIEW", + "type": "Object", + "tags": [], + "label": "DEFAULT_LOG_VIEW", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_LOG_VIEW.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"log-view-reference\"" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_LOG_VIEW.logViewId", + "type": "string", + "tags": [], + "label": "logViewId", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_REFRESH_INTERVAL", + "type": "Object", + "tags": [], + "label": "DEFAULT_REFRESH_INTERVAL", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_REFRESH_INTERVAL.pause", + "type": "boolean", + "tags": [], + "label": "pause", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.DEFAULT_REFRESH_INTERVAL.value", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes", + "type": "Object", + "tags": [], + "label": "defaultLogViewAttributes", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.logIndices", + "type": "Object", + "tags": [], + "label": "logIndices", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.logIndices.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_name\"" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.logIndices.indexName", + "type": "string", + "tags": [], + "label": "indexName", + "description": [], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, + { + "parentPluginId": "logsShared", + "id": "def-common.defaultLogViewAttributes.logColumns", + "type": "Array", + "tags": [], + "label": "logColumns", + "description": [], + "signature": [ + "({ timestampColumn: { id: string; }; } | { fieldColumn: { id: string; field: string; }; } | { messageColumn: { id: string; }; })[]" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/defaults.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logColumnRT", + "type": "Object", + "tags": [], + "label": "logColumnRT", + "description": [], + "signature": [ + "UnionC", + "<[", + "TypeC", + "<{ columnId: ", + "StringC", + "; timestamp: ", + "NumberC", + "; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; message: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>>; }>]>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logDataViewReferenceRT", + "type": "Object", + "tags": [], + "label": "logDataViewReferenceRT", + "description": [], + "signature": [ + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntriesHighlightsRequestRT", + "type": "Object", + "tags": [], + "label": "logEntriesHighlightsRequestRT", + "description": [], + "signature": [ + "UnionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ logView: ", + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>; startTimestamp: ", + "NumberC", + "; endTimestamp: ", + "NumberC", + "; highlightTerms: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "PartialC", + "<{ query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "NumberC", + "; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>]>, ", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ logView: ", + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>; startTimestamp: ", + "NumberC", + "; endTimestamp: ", + "NumberC", + "; highlightTerms: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "PartialC", + "<{ query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "NumberC", + "; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>]>, ", + "TypeC", + "<{ before: ", + "UnionC", + "<[", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>, ", + "LiteralC", + "<\"last\">]>; }>]>, ", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ logView: ", + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>; startTimestamp: ", + "NumberC", + "; endTimestamp: ", + "NumberC", + "; highlightTerms: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "PartialC", + "<{ query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "NumberC", + "; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>]>, ", + "TypeC", + "<{ after: ", + "UnionC", + "<[", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>, ", + "LiteralC", + "<\"first\">]>; }>]>, ", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ logView: ", + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>; startTimestamp: ", + "NumberC", + "; endTimestamp: ", + "NumberC", + "; highlightTerms: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "PartialC", + "<{ query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "NumberC", + "; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>]>, ", + "TypeC", + "<{ center: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; }>]>]>" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntriesHighlightsResponseRT", + "type": "Object", + "tags": [], + "label": "logEntriesHighlightsResponseRT", + "description": [], + "signature": [ + "TypeC", + "<{ data: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ topCursor: ", + "NullC", + "; bottomCursor: ", + "NullC", + "; entries: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; index: ", + "StringC", + "; cursor: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ columnId: ", + "StringC", + "; timestamp: ", + "NumberC", + "; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; message: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>>; }>]>>; context: ", + "UnionC", + "<[", + "TypeC", + "<{}>, ", + "TypeC", + "<{ 'container.id': ", + "StringC", + "; }>, ", + "TypeC", + "<{ 'host.name': ", + "StringC", + "; 'log.file.path': ", + "StringC", + "; }>]>; }>>; }>, ", + "TypeC", + "<{ topCursor: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; bottomCursor: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; entries: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; index: ", + "StringC", + "; cursor: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ columnId: ", + "StringC", + "; timestamp: ", + "NumberC", + "; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; message: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>>; }>]>>; context: ", + "UnionC", + "<[", + "TypeC", + "<{}>, ", + "TypeC", + "<{ 'container.id': ", + "StringC", + "; }>, ", + "TypeC", + "<{ 'host.name': ", + "StringC", + "; 'log.file.path': ", + "StringC", + "; }>]>; }>>; }>]>>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntriesSummaryRequestRT", + "type": "Object", + "tags": [], + "label": "logEntriesSummaryRequestRT", + "description": [], + "signature": [ + "TypeC", + "<{ logView: ", + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>; startTimestamp: ", + "NumberC", + "; endTimestamp: ", + "NumberC", + "; bucketSize: ", + "NumberC", + "; query: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + ", ", + "NullC", + "]>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/summary.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntriesSummaryResponseRT", + "type": "Object", + "tags": [], + "label": "logEntriesSummaryResponseRT", + "description": [], + "signature": [ + "TypeC", + "<{ data: ", + "TypeC", + "<{ start: ", + "NumberC", + "; end: ", + "NumberC", + "; buckets: ", + "ArrayC", + "<", + "TypeC", + "<{ start: ", + "NumberC", + "; end: ", + "NumberC", + "; entriesCount: ", + "NumberC", + "; }>>; }>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/http_api/log_entries/v1/summary.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryAfterCursorRT", + "type": "Object", + "tags": [], + "label": "logEntryAfterCursorRT", + "description": [], + "signature": [ + "TypeC", + "<{ after: ", + "UnionC", + "<[", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>, ", + "LiteralC", + "<\"first\">]>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryAroundCursorRT", + "type": "Object", + "tags": [], + "label": "logEntryAroundCursorRT", + "description": [], + "signature": [ + "TypeC", + "<{ center: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryBeforeCursorRT", + "type": "Object", + "tags": [], + "label": "logEntryBeforeCursorRT", + "description": [], + "signature": [ + "TypeC", + "<{ before: ", + "UnionC", + "<[", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>, ", + "LiteralC", + "<\"last\">]>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryContextRT", + "type": "Object", + "tags": [], + "label": "logEntryContextRT", + "description": [ + "\nfields" + ], + "signature": [ + "UnionC", + "<[", + "TypeC", + "<{}>, ", + "TypeC", + "<{ 'container.id': ", + "StringC", + "; }>, ", + "TypeC", + "<{ 'host.name': ", + "StringC", + "; 'log.file.path': ", + "StringC", + "; }>]>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryCursorRT", + "type": "Object", + "tags": [], + "label": "logEntryCursorRT", + "description": [], + "signature": [ + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry_cursor.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryFieldRT", + "type": "Object", + "tags": [], + "label": "logEntryFieldRT", + "description": [], + "signature": [ + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logEntryRT", + "type": "Object", + "tags": [], + "label": "logEntryRT", + "description": [ + "\nentry" + ], + "signature": [ + "TypeC", + "<{ id: ", + "StringC", + "; index: ", + "StringC", + "; cursor: ", + "TypeC", + "<{ time: ", + "NumberC", + "; tiebreaker: ", + "NumberC", + "; }>; columns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ columnId: ", + "StringC", + "; timestamp: ", + "NumberC", + "; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>, ", + "TypeC", + "<{ columnId: ", + "StringC", + "; message: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>>; }>]>>; context: ", + "UnionC", + "<[", + "TypeC", + "<{}>, ", + "TypeC", + "<{ 'container.id': ", + "StringC", + "; }>, ", + "TypeC", + "<{ 'host.name': ", + "StringC", + "; 'log.file.path': ", + "StringC", + "; }>]>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logFieldColumnRT", + "type": "Object", + "tags": [], + "label": "logFieldColumnRT", + "description": [], + "signature": [ + "TypeC", + "<{ columnId: ", + "StringC", + "; field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logIndexNameReferenceRT", + "type": "Object", + "tags": [], + "label": "logIndexNameReferenceRT", + "description": [], + "signature": [ + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logMessageColumnRT", + "type": "Object", + "tags": [], + "label": "logMessageColumnRT", + "description": [], + "signature": [ + "TypeC", + "<{ columnId: ", + "StringC", + "; message: ", + "ArrayC", + "<", + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>>; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logMessageConstantPartRT", + "type": "Object", + "tags": [], + "label": "logMessageConstantPartRT", + "description": [ + "\nmessage parts" + ], + "signature": [ + "TypeC", + "<{ constant: ", + "StringC", + "; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logMessageFieldPartRT", + "type": "Object", + "tags": [], + "label": "logMessageFieldPartRT", + "description": [], + "signature": [ + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logMessagePartRT", + "type": "Object", + "tags": [], + "label": "logMessagePartRT", + "description": [], + "signature": [ + "UnionC", + "<[", + "TypeC", + "<{ constant: ", + "StringC", + "; }>, ", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "Type", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.JsonArray", + "text": "JsonArray" + }, + ", unknown>; highlights: ", + "ArrayC", + "<", + "StringC", + ">; }>]>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logTimestampColumnRT", + "type": "Object", + "tags": [], + "label": "logTimestampColumnRT", + "description": [ + "\ncolumns" + ], + "signature": [ + "TypeC", + "<{ columnId: ", + "StringC", + "; timestamp: ", + "NumberC", + "; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_entry/log_entry.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logViewColumnConfigurationRT", + "type": "Object", + "tags": [], + "label": "logViewColumnConfigurationRT", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.logViewReferenceRT", + "type": "Object", + "tags": [], + "label": "logViewReferenceRT", + "description": [], + "signature": [ + "UnionC", + "<[", + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"log-view-inline\">; id: ", + "StringC", + "; attributes: ", + "ExactC", + "<", + "TypeC", + "<{ name: ", + "StringC", + "; description: ", + "StringC", + "; logIndices: ", + "UnionC", + "<[", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"data_view\">; dataViewId: ", + "StringC", + "; }>, ", + "TypeC", + "<{ type: ", + "LiteralC", + "<\"index_name\">; indexName: ", + "StringC", + "; }>]>; logColumns: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ timestampColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ messageColumn: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ fieldColumn: ", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; }>>]>; }>>]>>; }>>; }>]>" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "logsShared", + "id": "def-common.persistedLogViewReferenceRT", + "type": "Object", + "tags": [], + "label": "persistedLogViewReferenceRT", + "description": [], + "signature": [ + "TypeC", + "<{ logViewId: ", + "StringC", + "; type: ", + "LiteralC", + "<\"log-view-reference\">; }>" + ], + "path": "x-pack/plugins/logs_shared/common/log_views/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx new file mode 100644 index 0000000000000..fac7fd5886d8f --- /dev/null +++ b/api_docs/logs_shared.mdx @@ -0,0 +1,76 @@ +--- +#### +#### 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: kibLogsSharedPluginApi +slug: /kibana-dev-docs/api/logsShared +title: "logsShared" +image: https://source.unsplash.com/400x175/?github +description: API docs for the logsShared plugin +date: 2023-07-06 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] +--- +import logsSharedObj from './logs_shared.devdocs.json'; + +Exposes the shared components and APIs to access and visualize logs. + +Contact [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 269 | 10 | 256 | 27 | + +## Client + +### Setup + + +### Start + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + +## Server + +### Setup + + +### Start + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/management.mdx b/api_docs/management.mdx index b7d9c0485d960..3ba88bfb3c28c 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2023-07-05 +date: 2023-07-06 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 dbc775b5f1dbc..f7b5d46acfadd 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2023-07-05 +date: 2023-07-06 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 b5d807b56d5a4..1401f1c46904e 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.devdocs.json b/api_docs/ml.devdocs.json index 52fbc37e7e2a3..fbdfc504d747d 100644 --- a/api_docs/ml.devdocs.json +++ b/api_docs/ml.devdocs.json @@ -1651,7 +1651,7 @@ "label": "AlertingService", "description": [], "signature": [ - "{ preview: (args_0: Readonly<{} & { timeRange: string; alertParams: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>; sampleSize: number; }>) => Promise; execute: (params: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>) => Promise<{ context: ", + "{ preview: (args_0: Readonly<{} & { timeRange: string; alertParams: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>; sampleSize: number; }>) => Promise; execute: (params: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>, spaceId: string) => Promise<{ context: ", "AnomalyDetectionAlertContext", "; name: string; isHealthy: boolean; } | undefined>; }" ], @@ -1912,7 +1912,7 @@ "section": "def-common.KibanaRequest", "text": "KibanaRequest" }, - "): { preview: (args_0: Readonly<{} & { timeRange: string; alertParams: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>; sampleSize: number; }>) => Promise; execute: (params: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>) => Promise<{ context: ", + "): { preview: (args_0: Readonly<{} & { timeRange: string; alertParams: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>; sampleSize: number; }>) => Promise; execute: (params: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>, spaceId: string) => Promise<{ context: ", "AnomalyDetectionAlertContext", "; name: string; isHealthy: boolean; } | undefined>; }; } & ", "TrainedModelsProvider", diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index f58609b971172..9bf186edc129a 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2023-07-05 +date: 2023-07-06 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 41e3baa9bd414..8c69b44a31d7c 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2023-07-05 +date: 2023-07-06 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 bd1a9da908500..eaff8374ee587 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2023-07-05 +date: 2023-07-06 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 10e65aecf96a6..b8de163a29cdf 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2023-07-05 +date: 2023-07-06 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 a6c451b483497..27a3fc588ddf2 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2023-07-05 +date: 2023-07-06 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 88f460f7ef274..be43d8302864d 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2023-07-05 +date: 2023-07-06 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 71425278a3406..89a477027f732 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 2ccee1c31e89c..76356b309d6da 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 0c300be82aaf0..2c9c0ba90f623 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 49af78d45b357..70c9220d8df67 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index a847b1da1639f..0592e751decad 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2023-07-05 +date: 2023-07-06 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 | |--------------|----------|------------------------| -| 645 | 536 | 38 | +| 646 | 537 | 38 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 70987 | 544 | 60808 | 1409 | +| 71286 | 554 | 61093 | 1435 | ## Plugin Directory @@ -30,13 +30,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 270 | 10 | 265 | 27 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 36 | 1 | 32 | 2 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | AIOps plugin maintained by ML team. | 45 | 0 | 27 | 1 | -| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 619 | 1 | 595 | 47 | +| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 651 | 1 | 627 | 48 | | | [@elastic/apm-ui](https://github.com/orgs/elastic/teams/apm-ui) | The user interface for Elastic APM | 48 | 0 | 48 | 113 | | | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | Asset manager plugin for entity assets (inventory, topology, etc) | 3 | 0 | 3 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 9 | 0 | 9 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 91 | 1 | 75 | 2 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | -| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 80 | 0 | 65 | 26 | +| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 80 | 0 | 65 | 27 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 268 | 16 | 253 | 10 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 54 | 0 | 12 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | Chat available on Elastic Cloud deployments for quicker assistance. | 3 | 0 | 2 | 0 | @@ -70,9 +70,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 548 | 11 | 444 | 4 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 51 | 0 | 44 | 0 | -| | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 10 | 0 | 10 | 0 | +| | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 9 | 0 | 9 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 115 | 3 | 111 | 3 | -| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | ESS customizations for Security Solution. | 6 | 0 | 6 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | The Event Annotation service contains expressions for event annotations | 236 | 30 | 236 | 4 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 116 | 0 | 116 | 11 | | | [@elastic/uptime](https://github.com/orgs/elastic/teams/uptime) | - | 141 | 1 | 141 | 14 | @@ -107,7 +106,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Image embeddable | 3 | 0 | 3 | 1 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 4 | 0 | 4 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 177 | 0 | 172 | 3 | -| | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions | 49 | 0 | 46 | 14 | +| | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions | 44 | 0 | 41 | 11 | | ingestPipelines | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | | inputControlVis | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Input Control visualization to Kibana | 0 | 0 | 0 | 0 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 123 | 2 | 96 | 4 | @@ -122,6 +121,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 4 | 0 | 4 | 1 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 117 | 0 | 42 | 10 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 210 | 0 | 94 | 51 | +| | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | Exposes the shared components and APIs to access and visualize logs. | 269 | 10 | 256 | 27 | | logstash | [@elastic/logstash](https://github.com/orgs/elastic/teams/logstash) | - | 0 | 0 | 0 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 47 | 0 | 47 | 7 | | | [@elastic/kibana-gis](https://github.com/orgs/elastic/teams/kibana-gis) | - | 266 | 0 | 265 | 28 | @@ -155,11 +155,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-reporting-services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Kibana Screenshotting Plugin | 27 | 0 | 8 | 5 | | searchprofiler | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 283 | 0 | 94 | 1 | -| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | - | 174 | 2 | 130 | 30 | +| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | - | 176 | 2 | 132 | 30 | +| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | ESS customizations for Security Solution. | 6 | 0 | 6 | 0 | +| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | Serverless customizations for security. | 6 | 0 | 6 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | The core Serverless plugin, providing APIs to Serverless Project plugins. | 17 | 0 | 16 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Serverless customizations for observability. | 6 | 0 | 6 | 0 | | | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Serverless customizations for search. | 6 | 0 | 6 | 0 | -| | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | Serverless customizations for security. | 6 | 0 | 6 | 0 | | | [@elastic/sec-cloudnative-integrations](https://github.com/orgs/elastic/teams/sec-cloudnative-integrations) | - | 134 | 0 | 134 | 8 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Adds URL Service and sharing capabilities to Kibana | 119 | 0 | 60 | 10 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 22 | 1 | 22 | 1 | @@ -307,7 +308,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 111 | 4 | 36 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 10 | 0 | 10 | 1 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 16 | 0 | 16 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 2 | 0 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 8 | 0 | 3 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 10 | 1 | 10 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 14 | 0 | 11 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 7 | 0 | @@ -536,7 +537,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 40 | 0 | 3 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 8 | 0 | 4 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 13 | 0 | 9 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 27 | 0 | 10 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 28 | 0 | 10 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 10 | 0 | 4 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 32 | 0 | 28 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 45 | 0 | 36 | 4 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index c03517c32181d..3825e71110fa7 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2023-07-05 +date: 2023-07-06 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 d38e239182911..724673a0941f2 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2023-07-05 +date: 2023-07-06 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 0dbe8450665c2..7f731eaa4ca4e 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2023-07-05 +date: 2023-07-06 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 66305771e23fc..eae6b6240445c 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/reporting_export_types.mdx b/api_docs/reporting_export_types.mdx index 6ec11afb27a39..4fe1442c40f30 100644 --- a/api_docs/reporting_export_types.mdx +++ b/api_docs/reporting_export_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reportingExportTypes title: "reportingExportTypes" image: https://source.unsplash.com/400x175/?github description: API docs for the reportingExportTypes plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reportingExportTypes'] --- import reportingExportTypesObj from './reporting_export_types.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 6df0719478949..eecf8544c223c 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2023-07-05 +date: 2023-07-06 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 01fee08efd10a..3f9f3f1082dbd 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2023-07-05 +date: 2023-07-06 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 ff1c503e48f9c..a459135c266d2 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2023-07-05 +date: 2023-07-06 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 6bf8190ccf2a3..4ab29eabed993 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2023-07-05 +date: 2023-07-06 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 773ef8d73391c..178e2b749a1ee 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2023-07-05 +date: 2023-07-06 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 0cbb23923e783..6a8aaa64779e1 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2023-07-05 +date: 2023-07-06 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 90d1b3092d057..91888f8be6d6e 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2023-07-05 +date: 2023-07-06 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 922893523ded1..7721a997ae39e 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.devdocs.json b/api_docs/saved_search.devdocs.json index 439c10feb2525..8d6b6c28b3455 100644 --- a/api_docs/saved_search.devdocs.json +++ b/api_docs/saved_search.devdocs.json @@ -714,7 +714,9 @@ "SearchResponse", ">>; setField: >>; history: ", + "SearchRequest", + "[]; setField: void; removeField: void; removeField: + ### Start - + ## Server ### Setup - + ### Start - + ## Common ### Consts, variables and types - + diff --git a/api_docs/ess_security.devdocs.json b/api_docs/security_solution_serverless.devdocs.json similarity index 57% rename from api_docs/ess_security.devdocs.json rename to api_docs/security_solution_serverless.devdocs.json index 95c1b4c59946a..39d3db16cf5da 100644 --- a/api_docs/ess_security.devdocs.json +++ b/api_docs/security_solution_serverless.devdocs.json @@ -1,5 +1,5 @@ { - "id": "essSecurity", + "id": "securitySolutionServerless", "client": { "classes": [], "functions": [], @@ -8,13 +8,13 @@ "misc": [], "objects": [], "setup": { - "parentPluginId": "essSecurity", - "id": "def-public.EssSecurityPluginSetup", + "parentPluginId": "securitySolutionServerless", + "id": "def-public.SecuritySolutionServerlessPluginSetup", "type": "Interface", "tags": [], - "label": "EssSecurityPluginSetup", + "label": "SecuritySolutionServerlessPluginSetup", "description": [], - "path": "x-pack/plugins/ess_security/public/types.ts", + "path": "x-pack/plugins/security_solution_serverless/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -22,13 +22,13 @@ "initialIsOpen": true }, "start": { - "parentPluginId": "essSecurity", - "id": "def-public.EssSecurityPluginStart", + "parentPluginId": "securitySolutionServerless", + "id": "def-public.SecuritySolutionServerlessPluginStart", "type": "Interface", "tags": [], - "label": "EssSecurityPluginStart", + "label": "SecuritySolutionServerlessPluginStart", "description": [], - "path": "x-pack/plugins/ess_security/public/types.ts", + "path": "x-pack/plugins/security_solution_serverless/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -44,13 +44,13 @@ "misc": [], "objects": [], "setup": { - "parentPluginId": "essSecurity", - "id": "def-server.EssSecurityPluginSetup", + "parentPluginId": "securitySolutionServerless", + "id": "def-server.SecuritySolutionServerlessPluginSetup", "type": "Interface", "tags": [], - "label": "EssSecurityPluginSetup", + "label": "SecuritySolutionServerlessPluginSetup", "description": [], - "path": "x-pack/plugins/ess_security/server/types.ts", + "path": "x-pack/plugins/security_solution_serverless/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -58,13 +58,13 @@ "initialIsOpen": true }, "start": { - "parentPluginId": "essSecurity", - "id": "def-server.EssSecurityPluginStart", + "parentPluginId": "securitySolutionServerless", + "id": "def-server.SecuritySolutionServerlessPluginStart", "type": "Interface", "tags": [], - "label": "EssSecurityPluginStart", + "label": "SecuritySolutionServerlessPluginStart", "description": [], - "path": "x-pack/plugins/ess_security/server/types.ts", + "path": "x-pack/plugins/security_solution_serverless/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -79,31 +79,31 @@ "enums": [], "misc": [ { - "parentPluginId": "essSecurity", + "parentPluginId": "securitySolutionServerless", "id": "def-common.PLUGIN_ID", "type": "string", "tags": [], "label": "PLUGIN_ID", "description": [], "signature": [ - "\"essSecurity\"" + "\"securitySolutionServerless\"" ], - "path": "x-pack/plugins/ess_security/common/index.ts", + "path": "x-pack/plugins/security_solution_serverless/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { - "parentPluginId": "essSecurity", + "parentPluginId": "securitySolutionServerless", "id": "def-common.PLUGIN_NAME", "type": "string", "tags": [], "label": "PLUGIN_NAME", "description": [], "signature": [ - "\"essSecurity\"" + "\"securitySolutionServerless\"" ], - "path": "x-pack/plugins/ess_security/common/index.ts", + "path": "x-pack/plugins/security_solution_serverless/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/security_solution_serverless.mdx b/api_docs/security_solution_serverless.mdx new file mode 100644 index 0000000000000..6c4389d6802d1 --- /dev/null +++ b/api_docs/security_solution_serverless.mdx @@ -0,0 +1,46 @@ +--- +#### +#### 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: kibSecuritySolutionServerlessPluginApi +slug: /kibana-dev-docs/api/securitySolutionServerless +title: "securitySolutionServerless" +image: https://source.unsplash.com/400x175/?github +description: API docs for the securitySolutionServerless plugin +date: 2023-07-06 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionServerless'] +--- +import securitySolutionServerlessObj from './security_solution_serverless.devdocs.json'; + +Serverless customizations for security. + +Contact [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 6 | 0 | 6 | 0 | + +## Client + +### Setup + + +### Start + + +## Server + +### Setup + + +### Start + + +## Common + +### Consts, variables and types + + diff --git a/api_docs/serverless.mdx b/api_docs/serverless.mdx index b378e96dd1769..0a7081762882d 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverless'] --- import serverlessObj from './serverless.devdocs.json'; diff --git a/api_docs/serverless_observability.mdx b/api_docs/serverless_observability.mdx index 086f5ddd62ae3..da6f6904f69dc 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index 0e2906e0c48f7..8cca9bf562b30 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSearch'] --- import serverlessSearchObj from './serverless_search.devdocs.json'; diff --git a/api_docs/serverless_security.mdx b/api_docs/serverless_security.mdx deleted file mode 100644 index d3f04f77aa789..0000000000000 --- a/api_docs/serverless_security.mdx +++ /dev/null @@ -1,46 +0,0 @@ ---- -#### -#### 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: kibServerlessSecurityPluginApi -slug: /kibana-dev-docs/api/serverlessSecurity -title: "serverlessSecurity" -image: https://source.unsplash.com/400x175/?github -description: API docs for the serverlessSecurity plugin -date: 2023-07-05 -tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSecurity'] ---- -import serverlessSecurityObj from './serverless_security.devdocs.json'; - -Serverless customizations for security. - -Contact [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) for questions regarding this plugin. - -**Code health stats** - -| Public API count | Any count | Items lacking comments | Missing exports | -|-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 0 | - -## Client - -### Setup - - -### Start - - -## Server - -### Setup - - -### Start - - -## Common - -### Consts, variables and types - - diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 9996b614d4f55..32f063c67d454 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2023-07-05 +date: 2023-07-06 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 6fee690d24ee7..0af139b15d44f 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2023-07-05 +date: 2023-07-06 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 b6414973bfac4..64fd9aadeb7d9 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2023-07-05 +date: 2023-07-06 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 69d2bb90c629a..e12ab5ae4e82a 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2023-07-05 +date: 2023-07-06 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 3c4331805d1bc..88f883f8820f4 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2023-07-05 +date: 2023-07-06 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 ee04c17c8a08c..bf21ad3fcdadb 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2023-07-05 +date: 2023-07-06 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 5cb5c232a8c2e..8836890d8d6b4 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2023-07-05 +date: 2023-07-06 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 46d841e2ff7f1..1e6ae74ef3e51 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2023-07-05 +date: 2023-07-06 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 bfd9aa4afee77..27b26cfc52010 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2023-07-05 +date: 2023-07-06 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 e4b7f79a9375e..a01d89cfb4c5e 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2023-07-05 +date: 2023-07-06 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 5c2e12eebba7a..b82f74e322560 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/text_based_languages.mdx b/api_docs/text_based_languages.mdx index 5888c1b29a889..4723f909c08ad 100644 --- a/api_docs/text_based_languages.mdx +++ b/api_docs/text_based_languages.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/textBasedLanguages title: "textBasedLanguages" image: https://source.unsplash.com/400x175/?github description: API docs for the textBasedLanguages plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'textBasedLanguages'] --- import textBasedLanguagesObj from './text_based_languages.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 007d55d57e774..bc9e05b69cfca 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2023-07-05 +date: 2023-07-06 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 41fa43757d384..92fdd7ffed9cb 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2023-07-05 +date: 2023-07-06 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 d913ae767c551..6c468842c9e29 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2023-07-05 +date: 2023-07-06 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 04571ec89b674..52107bb485ecb 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2023-07-05 +date: 2023-07-06 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 1187fdb94ea9a..5d5217ea40d82 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2023-07-05 +date: 2023-07-06 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 cd1ab232e8d84..2e3c39999bcd6 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 0197cf908f0e4..336f29d818f34 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.devdocs.json b/api_docs/unified_search.devdocs.json index dc374dfc03971..a0ee469f4ea77 100644 --- a/api_docs/unified_search.devdocs.json +++ b/api_docs/unified_search.devdocs.json @@ -208,7 +208,7 @@ "section": "def-public.FilterItemsProps", "text": "FilterItemsProps" }, - ", \"indexPatterns\" | \"filters\" | \"readOnly\" | \"filtersForSuggestions\" | \"onFiltersUpdated\" | \"hiddenPanelOptions\" | \"timeRangeForSuggestionsOverride\"> & React.RefAttributes & React.RefAttributes, any, any>>) => JSX.Element" + ", \"filters\" | \"indexPatterns\" | \"readOnly\" | \"filtersForSuggestions\" | \"onFiltersUpdated\" | \"hiddenPanelOptions\" | \"timeRangeForSuggestionsOverride\">, any, any>>) => JSX.Element" ], "path": "src/plugins/unified_search/public/filter_bar/index.tsx", "deprecated": false, @@ -238,7 +238,7 @@ "section": "def-public.FilterItemsProps", "text": "FilterItemsProps" }, - ", \"indexPatterns\" | \"filters\" | \"readOnly\" | \"filtersForSuggestions\" | \"onFiltersUpdated\" | \"hiddenPanelOptions\" | \"timeRangeForSuggestionsOverride\"> & React.RefAttributes & React.RefAttributes, any, any>>" + ", \"filters\" | \"indexPatterns\" | \"readOnly\" | \"filtersForSuggestions\" | \"onFiltersUpdated\" | \"hiddenPanelOptions\" | \"timeRangeForSuggestionsOverride\">, any, any>>" ], "path": "src/plugins/unified_search/public/filter_bar/index.tsx", "deprecated": false, @@ -359,15 +359,7 @@ "label": "props", "description": [], "signature": [ - "{ isClearable?: boolean | undefined; placeholder?: string | undefined; isDisabled?: boolean | undefined; isLoading?: boolean | undefined; indexPatterns?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[] | undefined; query?: ", + "{ isClearable?: boolean | undefined; placeholder?: string | undefined; isDisabled?: boolean | undefined; isLoading?: boolean | undefined; query?: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -375,9 +367,7 @@ "section": "def-common.Query", "text": "Query" }, - " | QT | undefined; refreshInterval?: number | undefined; iconType?: ", - "IconType", - " | undefined; filters?: ", + " | QT | undefined; filters?: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -385,7 +375,17 @@ "section": "def-common.Filter", "text": "Filter" }, - "[] | undefined; dataTestSubj?: string | undefined; timeHistory?: ", + "[] | undefined; indexPatterns?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[] | undefined; refreshInterval?: number | undefined; iconType?: ", + "IconType", + " | undefined; dataTestSubj?: string | undefined; timeHistory?: ", { "pluginId": "data", "scope": "public", diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 9a44bd9bc3470..120ac5cb4b6a8 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2023-07-05 +date: 2023-07-06 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 229cf50806970..202ee14facc9d 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2023-07-05 +date: 2023-07-06 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 c5232b0b57c25..97b21ba8c49ce 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2023-07-05 +date: 2023-07-06 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 1a6e7e8e985ee..87fc98012a0c9 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2023-07-05 +date: 2023-07-06 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 3c3b9dd888195..fdbac25354413 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2023-07-05 +date: 2023-07-06 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 bc101a54eee9c..f7ef7f4f0e55f 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2023-07-05 +date: 2023-07-06 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 9b98623cf9ef6..0bb03e8952ef3 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2023-07-05 +date: 2023-07-06 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 7be1137b65531..781621273335c 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2023-07-05 +date: 2023-07-06 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 d624890761b2a..b09e92d5ae8d9 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2023-07-05 +date: 2023-07-06 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 82fee9fc02d9e..f75e49aeec91a 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2023-07-05 +date: 2023-07-06 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 a70dbf66e069d..ae323e4bd0e16 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2023-07-05 +date: 2023-07-06 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 fcdf5f386295d..86249f5ed1916 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2023-07-05 +date: 2023-07-06 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 bb7b848848e3f..a022ab81678b4 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2023-07-05 +date: 2023-07-06 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 b8397b606fbad..de4286cfafc08 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2023-07-05 +date: 2023-07-06 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 e62c03def083c..b3a4c5e4c51fe 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualization_ui_components.mdx b/api_docs/visualization_ui_components.mdx index e513affacd64f..5b070dd0e027d 100644 --- a/api_docs/visualization_ui_components.mdx +++ b/api_docs/visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizationUiComponents title: "visualizationUiComponents" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizationUiComponents plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizationUiComponents'] --- import visualizationUiComponentsObj from './visualization_ui_components.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 6d60a643b0492..152447ca31216 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2023-07-05 +date: 2023-07-06 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/packages/kbn-apm-synthtrace/src/cli/utils/get_service_urls.ts b/packages/kbn-apm-synthtrace/src/cli/utils/get_service_urls.ts index 30ce91f67b6c6..67a319b8dd498 100644 --- a/packages/kbn-apm-synthtrace/src/cli/utils/get_service_urls.ts +++ b/packages/kbn-apm-synthtrace/src/cli/utils/get_service_urls.ts @@ -45,7 +45,10 @@ async function getKibanaUrl({ target, logger }: { target: string; logger: Logger }); const discoveredKibanaUrl = - unredirectedResponse.headers.get('location')?.replace('/spaces/enter', '') || target; + unredirectedResponse.headers + .get('location') + ?.replace('/spaces/enter', '') + ?.replace('spaces/space_selector', '') || target; const parsedTarget = parse(target); diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index 525cbba463d2d..689606cd5f19f 100644 --- a/packages/kbn-check-mappings-update-cli/current_mappings.json +++ b/packages/kbn-check-mappings-update-cli/current_mappings.json @@ -1630,6 +1630,111 @@ }, "allow_edit": { "enabled": false + }, + "version": { + "type": "keyword" + }, + "key": { + "type": "keyword" + }, + "compression": { + "type": "keyword" + }, + "compression_level": { + "type": "integer" + }, + "client_id": { + "type": "keyword" + }, + "auth_type": { + "type": "keyword" + }, + "username": { + "type": "keyword" + }, + "password": { + "type": "text", + "index": false + }, + "sasl": { + "dynamic": false, + "properties": { + "mechanism": { + "type": "text" + } + } + }, + "partition": { + "type": "keyword" + }, + "random": { + "dynamic": false, + "properties": { + "group_events": { + "type": "integer" + } + } + }, + "round_robin": { + "dynamic": false, + "properties": { + "group_events": { + "type": "integer" + } + } + }, + "hash": { + "dynamic": false, + "properties": { + "hash": { + "type": "text" + }, + "random": { + "type": "boolean" + } + } + }, + "topics": { + "dynamic": false, + "properties": { + "topic": { + "type": "keyword" + }, + "when": { + "dynamic": false, + "properties": { + "type": { + "type": "text" + }, + "condition": { + "type": "text" + } + } + } + } + }, + "headers": { + "dynamic": false, + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "timeout": { + "type": "integer" + }, + "broker_timeout": { + "type": "integer" + }, + "broker_ack_reliability": { + "type": "text" + }, + "broker_buffer_size": { + "type": "integer" } } }, diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx b/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx index 87251bd19736c..da1d3b8fc8711 100644 --- a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx +++ b/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx @@ -22,12 +22,13 @@ const label = { /** * A button that acts to add an item from the library to a solution, typically through a modal. */ -export const AddFromLibraryButton = ({ onClick, ...rest }: Props) => ( +export const AddFromLibraryButton = ({ onClick, size = 'm', ...rest }: Props) => ( ); diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx b/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx index ec80598328bc7..11d5192426cb6 100644 --- a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx +++ b/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx @@ -42,6 +42,8 @@ export interface Props { legend: EuiButtonGroupProps['legend']; /** Array of `IconButton` */ buttons: IconButton[]; + /** Button size */ + buttonSize?: EuiButtonGroupProps['buttonSize']; } type Option = EuiButtonGroupOptionProps & Omit; @@ -49,7 +51,7 @@ type Option = EuiButtonGroupOptionProps & Omit; /** * A group of buttons each performing an action, represented by an icon. */ -export const IconButtonGroup = ({ buttons, legend }: Props) => { +export const IconButtonGroup = ({ buttons, legend, buttonSize = 'm' }: Props) => { const euiTheme = useEuiTheme(); const iconButtonGroupStyles = IconButtonGroupStyles(euiTheme); @@ -71,7 +73,7 @@ export const IconButtonGroup = ({ buttons, legend }: Props) => { return ( { + extends Pick< + EuiButtonPropsForButton, + 'onClick' | 'iconType' | 'iconSide' | 'size' | 'data-test-subj' + > { label: string; type?: ToolbarButtonTypes; } @@ -27,6 +30,7 @@ export const ToolbarButton: React.FunctionComponent = ({ label, type = 'empty', iconSide = 'left', + size = 'm', ...rest }) => { const euiTheme = useEuiTheme(); @@ -36,7 +40,7 @@ export const ToolbarButton: React.FunctionComponent = ({ : { color: 'text', css: ToolbarButtonStyles(euiTheme).emptyButton }; return ( - + {label} ); diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.tsx b/packages/shared-ux/button_toolbar/src/popover/popover.tsx index 7e7f6c24e2174..89654e37c850a 100644 --- a/packages/shared-ux/button_toolbar/src/popover/popover.tsx +++ b/packages/shared-ux/button_toolbar/src/popover/popover.tsx @@ -29,7 +29,14 @@ export type Props = AllowedButtonProps & /** * A button which opens a popover of additional actions within the toolbar. */ -export const ToolbarPopover = ({ type, label, iconType, children, ...popover }: Props) => { +export const ToolbarPopover = ({ + type, + label, + iconType, + size = 'm', + children, + ...popover +}: Props) => { const [isOpen, setIsOpen] = useState(false); const onButtonClick = () => setIsOpen((status) => !status); @@ -38,6 +45,7 @@ export const ToolbarPopover = ({ type, label, iconType, children, ...popover }: const button = ( ); diff --git a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts index 7f57cbe98b769..f139103b55c54 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts @@ -105,7 +105,7 @@ describe('checking migration metadata changes on all registered SO types', () => "infrastructure-ui-source": "113182d6895764378dfe7fa9fa027244f3a457c4", "ingest-agent-policies": "f11cc19275f4c3e4ee7c5cd6423b6706b21b989d", "ingest-download-sources": "d7edc5e588d9afa61c4b831604582891c54ef1c7", - "ingest-outputs": "3f1e998887d48a706333b67885d1ad8f3217cd90", + "ingest-outputs": "bffa0fd93dfdde904d7f5aff77df72d1c35938d9", "ingest-package-policies": "7d0e8d288e193e0a8a153bb420c6056bc862c4c3", "ingest_manager_settings": "418311b03c8eda53f5d2ea6f54c1356afaa65511", "inventory-view": "b8683c8e352a286b4aca1ab21003115a4800af83", diff --git a/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions.test.ts index f68cbf40ba489..bffd4bb616856 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions.test.ts @@ -1117,7 +1117,8 @@ describe('migration actions', () => { }); }); - describe('readWithPit', () => { + // FLAKY: https://github.com/elastic/kibana/issues/160994 + describe.skip('readWithPit', () => { it('requests documents from an index using given PIT', async () => { const openPitTask = openPit({ client, index: 'existing_index_with_docs' }); const pitResponse = (await openPitTask()) as Either.Right; diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx index cbd514be8ba13..a3a9cf7ce73d8 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx @@ -43,7 +43,7 @@ export const AddTimeSliderControlButton = ({ closePopover, controlGroup, ...rest return ( { await controlGroup.addTimeSliderControl(); dashboard.scrollToTop(); diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx index 22fd451e48a8d..bcb193f9cc1e3 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx @@ -27,6 +27,8 @@ export function ControlsToolbarButton({ controlGroup }: { controlGroup: ControlG panelPaddingSize="none" label={getControlButtonTitle()} zIndex={Number(euiTheme.levels.header) - 1} + size="s" + iconType="controlsHorizontal" data-test-subj="dashboard-controls-menu-button" > {({ closePopover }: { closePopover: () => void }) => ( diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx index 708af176d785d..fb73392f2866e 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx @@ -9,22 +9,13 @@ import { css } from '@emotion/react'; import React, { useCallback } from 'react'; import { METRIC_TYPE } from '@kbn/analytics'; -import { IconType, useEuiTheme } from '@elastic/eui'; - -import { - AddFromLibraryButton, - IconButton, - IconButtonGroup, - Toolbar, - ToolbarButton, -} from '@kbn/shared-ux-button-toolbar'; +import { useEuiTheme } from '@elastic/eui'; + +import { AddFromLibraryButton, Toolbar, ToolbarButton } from '@kbn/shared-ux-button-toolbar'; import { EmbeddableFactory } from '@kbn/embeddable-plugin/public'; import { BaseVisType, VisTypeAlias } from '@kbn/visualizations-plugin/public'; -import { - getCreateVisualizationButtonTitle, - getQuickCreateButtonGroupLegend, -} from '../_dashboard_app_strings'; +import { getCreateVisualizationButtonTitle } from '../_dashboard_app_strings'; import { EditorMenu } from './editor_menu'; import { useDashboardAPI } from '../dashboard_app'; import { pluginServices } from '../../services/plugin_services'; @@ -37,8 +28,8 @@ export function DashboardEditingToolbar() { usageCollection, data: { search }, notifications: { toasts }, - embeddable: { getStateTransfer, getEmbeddableFactory }, - visualizations: { get: getVisualization, getAliases: getVisTypeAliases }, + embeddable: { getStateTransfer }, + visualizations: { getAliases: getVisTypeAliases }, } = pluginServices.getServices(); const { euiTheme } = useEuiTheme(); @@ -47,13 +38,6 @@ export function DashboardEditingToolbar() { const stateTransferService = getStateTransfer(); const lensAlias = getVisTypeAliases().find(({ name }) => name === 'lens'); - const quickButtonVisTypes: Array< - { type: 'vis'; visType: string } | { type: 'embeddable'; embeddableType: string } - > = [ - { type: 'vis', visType: 'markdown' }, - { type: 'embeddable', embeddableType: 'image' }, - { type: 'vis', visType: 'maps' }, - ]; const trackUiMetric = usageCollection.reportUiCounter?.bind( usageCollection, @@ -121,61 +105,11 @@ export function DashboardEditingToolbar() { [trackUiMetric, dashboard, toasts] ); - const getVisTypeQuickButton = ( - quickButtonForType: typeof quickButtonVisTypes[0] - ): IconButton | undefined => { - if (quickButtonForType.type === 'vis') { - const visTypeName = quickButtonForType.visType; - const visType = - getVisualization(visTypeName) || - getVisTypeAliases().find(({ name }) => name === visTypeName); - - if (visType) { - if ('aliasPath' in visType) { - const { name, icon, title } = visType as VisTypeAlias; - return { - label: title, - iconType: icon, - onClick: createNewVisType(visType as VisTypeAlias), - 'data-test-subj': `dashboardQuickButton${name}`, - }; - } else { - const { name, icon, title, titleInWizard } = visType as BaseVisType & { icon: IconType }; - return { - label: titleInWizard || title, - iconType: icon, - onClick: createNewVisType(visType as BaseVisType), - 'data-test-subj': `dashboardQuickButton${name}`, - }; - } - } - } else { - const embeddableType = quickButtonForType.embeddableType; - const embeddableFactory = getEmbeddableFactory(embeddableType); - if (embeddableFactory) { - return { - label: embeddableFactory.getDisplayName(), - iconType: embeddableFactory.getIconType(), - onClick: () => { - if (embeddableFactory) { - createNewEmbeddable(embeddableFactory); - } - }, - 'data-test-subj': `dashboardQuickButton${embeddableType}`, - }; - } - } - }; - - const quickButtons: IconButton[] = quickButtonVisTypes.reduce((accumulator, type) => { - const button = getVisTypeQuickButton(type); - return button ? [...accumulator, button] : accumulator; - }, [] as IconButton[]); - const extraButtons = [ , dashboard.addFromLibrary()} + size="s" data-test-subj="dashboardAddPanelButton" />, ]; @@ -195,14 +129,12 @@ export function DashboardEditingToolbar() { ), - iconButtonGroup: ( - - ), extraButtons, }} diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx index 084bda8fcd9e7..9512d837e61be 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx @@ -87,16 +87,18 @@ export const EditorMenu = ({ createNewVisType, createNewEmbeddable }: Props) => const getSortedVisTypesByGroup = (group: VisGroups) => getVisTypesByGroup(group) - .sort(({ name: a }: BaseVisType | VisTypeAlias, { name: b }: BaseVisType | VisTypeAlias) => { - if (a < b) { + .sort((a: BaseVisType | VisTypeAlias, b: BaseVisType | VisTypeAlias) => { + const labelA = 'titleInWizard' in a ? a.titleInWizard || a.title : a.title; + const labelB = 'titleInWizard' in b ? b.titleInWizard || a.title : a.title; + if (labelA < labelB) { return -1; } - if (a > b) { + if (labelA > labelB) { return 1; } return 0; }) - .filter(({ disableCreate, stage }: BaseVisType) => !disableCreate); + .filter(({ disableCreate }: BaseVisType) => !disableCreate); const promotedVisTypes = getSortedVisTypesByGroup(VisGroups.PROMOTED); const aggsBasedVisTypes = getSortedVisTypesByGroup(VisGroups.AGGBASED); @@ -220,15 +222,17 @@ export const EditorMenu = ({ createNewVisType, createNewEmbeddable }: Props) => const getEditorMenuPanels = (closePopover: () => void) => { const initialPanelItems = [ ...visTypeAliases.map(getVisTypeAliasMenuItem), + ...toolVisTypes.map(getVisTypeMenuItem), + ...ungroupedFactories.map((factory) => { + return getEmbeddableFactoryMenuItem(factory, closePopover); + }), ...Object.values(factoryGroupMap).map(({ id, appName, icon, panelId }) => ({ name: appName, icon, panel: panelId, 'data-test-subj': `dashboardEditorMenu-${id}Group`, })), - ...ungroupedFactories.map((factory) => { - return getEmbeddableFactoryMenuItem(factory, closePopover); - }), + ...promotedVisTypes.map(getVisTypeMenuItem), ]; if (aggsBasedVisTypes.length > 0) { @@ -239,7 +243,6 @@ export const EditorMenu = ({ createNewVisType, createNewEmbeddable }: Props) => 'data-test-subj': `dashboardEditorAggBasedMenuItem`, }); } - initialPanelItems.push(...toolVisTypes.map(getVisTypeMenuItem)); return [ { @@ -268,8 +271,10 @@ export const EditorMenu = ({ createNewVisType, createNewEmbeddable }: Props) => repositionOnScroll ownFocus label={i18n.translate('dashboard.solutionToolbar.editorMenuButtonLabel', { - defaultMessage: 'Select type', + defaultMessage: 'Add panel', })} + size="s" + iconType="plusInCircle" panelPaddingSize="none" data-test-subj="dashboardEditorMenuButton" > diff --git a/src/plugins/event_annotation/public/components/table_list.test.tsx b/src/plugins/event_annotation/public/components/table_list.test.tsx index b6d20e64dc8d4..66f3a7eedb397 100644 --- a/src/plugins/event_annotation/public/components/table_list.test.tsx +++ b/src/plugins/event_annotation/public/components/table_list.test.tsx @@ -108,8 +108,8 @@ describe('annotation list view', () => { expect(mockEventAnnotationService.findAnnotationGroupContent).toHaveBeenCalledWith( 'My Search Query', 30, - [{ id: 'first_id', type: 'sometype' }], - [{ id: 'second_id', type: 'sometype' }] + ['first_id'], + ['second_id'] ); }); diff --git a/src/plugins/event_annotation/public/components/table_list.tsx b/src/plugins/event_annotation/public/components/table_list.tsx index 84535f2ffefc5..afc94b11e8fc6 100644 --- a/src/plugins/event_annotation/public/components/table_list.tsx +++ b/src/plugins/event_annotation/public/components/table_list.tsx @@ -95,8 +95,8 @@ export const EventAnnotationGroupTableList = ({ return eventAnnotationService.findAnnotationGroupContent( searchTerm, listingLimit, // TODO is this right? - references, - referencesToExclude + references?.map(({ id }) => id), + referencesToExclude?.map(({ id }) => id) ); }, [eventAnnotationService, listingLimit] diff --git a/src/plugins/event_annotation/public/event_annotation_service/service.test.ts b/src/plugins/event_annotation/public/event_annotation_service/service.test.ts index b446e454636b4..5cf069d57aaa5 100644 --- a/src/plugins/event_annotation/public/event_annotation_service/service.test.ts +++ b/src/plugins/event_annotation/public/event_annotation_service/service.test.ts @@ -514,7 +514,7 @@ describe('Event Annotation Service', () => { const searchTerm = 'my search'; const content = await eventAnnotationService.findAnnotationGroupContent(searchTerm, 20, [ - { type: 'mytype', id: '1234' }, + '1234', ]); expect(content).toMatchSnapshot(); @@ -525,6 +525,13 @@ describe('Event Annotation Service', () => { Object { "contentTypeId": "event-annotation-group", "query": Object { + "limit": 20, + "tags": Object { + "excluded": undefined, + "included": Array [ + "1234", + ], + }, "text": "my search*", }, }, diff --git a/src/plugins/event_annotation/public/event_annotation_service/service.tsx b/src/plugins/event_annotation/public/event_annotation_service/service.tsx index a9a02d7930958..6511999b2c109 100644 --- a/src/plugins/event_annotation/public/event_annotation_service/service.tsx +++ b/src/plugins/event_annotation/public/event_annotation_service/service.tsx @@ -10,22 +10,13 @@ import React from 'react'; import { partition } from 'lodash'; import { queryToAst } from '@kbn/data-plugin/common'; import { ExpressionAstExpression } from '@kbn/expressions-plugin/common'; -import { - CoreStart, - SavedObjectReference, - SavedObjectsFindOptions, - SavedObjectsFindOptionsReference, -} from '@kbn/core/public'; +import type { CoreStart, SavedObjectReference } from '@kbn/core/public'; import { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public'; import { DataViewPersistableStateService } from '@kbn/data-views-plugin/common'; import { ContentManagementPublicStart } from '@kbn/content-management-plugin/public'; import { defaultAnnotationLabel } from '../../common/manual_event_annotation'; import { EventAnnotationGroupContent } from '../../common/types'; -import { - EventAnnotationConfig, - EventAnnotationGroupConfig, - EVENT_ANNOTATION_GROUP_TYPE, -} from '../../common'; +import { EventAnnotationConfig, EventAnnotationGroupConfig } from '../../common'; import { EventAnnotationServiceType } from './types'; import { defaultAnnotationColor, @@ -144,27 +135,21 @@ export function getEventAnnotationService( const findAnnotationGroupContent = async ( searchTerm: string, pageSize: number, - references?: SavedObjectsFindOptionsReference[], - referencesToExclude?: SavedObjectsFindOptionsReference[] + tagsToInclude?: string[], + tagsToExclude?: string[] ): Promise<{ total: number; hits: EventAnnotationGroupContent[] }> => { - const searchOptions: SavedObjectsFindOptions = { - type: [EVENT_ANNOTATION_GROUP_TYPE], - searchFields: ['title^3', 'description'], - search: searchTerm ? `${searchTerm}*` : undefined, - perPage: pageSize, - page: 1, - defaultSearchOperator: 'AND' as const, - hasReference: references, - hasNoReference: referencesToExclude, - }; - const { pagination, hits } = await client.search< EventAnnotationGroupSearchIn, EventAnnotationGroupSearchOut >({ contentTypeId: CONTENT_ID, query: { - text: searchOptions.search, + text: searchTerm ? `${searchTerm}*` : undefined, + limit: pageSize, + tags: { + included: tagsToInclude, + excluded: tagsToExclude, + }, }, }); diff --git a/src/plugins/event_annotation/public/event_annotation_service/types.ts b/src/plugins/event_annotation/public/event_annotation_service/types.ts index 8837792954b51..35b4ae910ad7b 100644 --- a/src/plugins/event_annotation/public/event_annotation_service/types.ts +++ b/src/plugins/event_annotation/public/event_annotation_service/types.ts @@ -7,7 +7,6 @@ */ import { ExpressionAstExpression } from '@kbn/expressions-plugin/common/ast'; -import { SavedObjectsFindOptionsReference } from '@kbn/core-saved-objects-api-browser'; import type { SavedObjectCommon } from '@kbn/saved-objects-finder-plugin/common'; import { EventAnnotationGroupContent } from '../../common/types'; import { EventAnnotationConfig, EventAnnotationGroupConfig } from '../../common'; @@ -18,8 +17,8 @@ export interface EventAnnotationServiceType { findAnnotationGroupContent: ( searchTerm: string, pageSize: number, - references?: SavedObjectsFindOptionsReference[], - referencesToExclude?: SavedObjectsFindOptionsReference[] + tagsToInclude?: string[], + tagsToExclude?: string[] ) => Promise<{ total: number; hits: EventAnnotationGroupContent[] }>; deleteAnnotationGroups: (ids: string[]) => Promise; createAnnotationGroup: (group: EventAnnotationGroupConfig) => Promise<{ id: string }>; diff --git a/src/plugins/field_formats/common/converters/geo_point.ts b/src/plugins/field_formats/common/converters/geo_point.ts index a5e77db35589d..20e697172d9a6 100644 --- a/src/plugins/field_formats/common/converters/geo_point.ts +++ b/src/plugins/field_formats/common/converters/geo_point.ts @@ -11,8 +11,8 @@ import { i18n } from '@kbn/i18n'; import { KBN_FIELD_TYPES } from '@kbn/field-types'; import { FieldFormat } from '../field_format'; import { FIELD_FORMAT_IDS, TextContextTypeConvert } from '../types'; -import { asPrettyString } from '../utils'; - +import { asPrettyString, geoUtils } from '../utils'; +const { ddToMGRS, ddToDMS } = geoUtils; const TRANSFORM_OPTIONS = [ { kind: 'none', @@ -32,6 +32,24 @@ const TRANSFORM_OPTIONS = [ defaultMessage: 'Well-Known Text', }), }, + { + kind: 'dms', + text: i18n.translate('fieldFormats.geoPoint.transformOptions.dms', { + defaultMessage: 'Degrees Minutes Seconds', + }), + }, + { + kind: 'mgrs', + text: i18n.translate('fieldFormats.geoPoint.transformOptions.mgrs', { + defaultMessage: 'Military Grid Reference System (MGRS)', + }), + }, + { + kind: 'multi', + text: i18n.translate('fieldFormats.geoPoint.transformOptions.multi', { + defaultMessage: 'All formats', + }), + }, ]; /* @@ -113,6 +131,15 @@ export class GeoPointFormat extends FieldFormat { return `${point.coordinates[1]},${point.coordinates[0]}`; case 'wkt': return `POINT (${point.coordinates[0]} ${point.coordinates[1]})`; + case 'dms': + return `${ddToDMS(point.coordinates[1], point.coordinates[0])}`; + case 'mgrs': + return `${ddToMGRS(point.coordinates[1], point.coordinates[0])}`; + case 'multi': + return `Lat Lon: ${point.coordinates[1]},${point.coordinates[0]} +WKT: POINT (${point.coordinates[0]} ${point.coordinates[1]}) +MGRS: ${ddToMGRS(point.coordinates[1], point.coordinates[0])} +DMS: ${ddToDMS(point.coordinates[1], point.coordinates[0])}`; default: return asPrettyString(val, options); } diff --git a/src/plugins/field_formats/common/index.ts b/src/plugins/field_formats/common/index.ts index 27314cb802485..9f3a037d5f5e8 100644 --- a/src/plugins/field_formats/common/index.ts +++ b/src/plugins/field_formats/common/index.ts @@ -33,7 +33,7 @@ export { HistogramFormat, } from './converters'; -export { getHighlightRequest } from './utils'; +export { getHighlightRequest, geoUtils } from './utils'; export { DEFAULT_CONVERTER_COLOR } from './constants/color_default'; export { FORMATS_UI_SETTINGS } from './constants/ui_settings'; diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.test.ts b/src/plugins/field_formats/common/utils/geo_utils.test.ts similarity index 84% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.test.ts rename to src/plugins/field_formats/common/utils/geo_utils.test.ts index e6a6819687d10..01c25315f4bf9 100644 --- a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.test.ts +++ b/src/plugins/field_formats/common/utils/geo_utils.test.ts @@ -1,11 +1,12 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ -import { ddToMGRS, mgrsToDD, ddToUTM, utmToDD } from './utils'; +import { ddToMGRS, mgrsToDD, ddToUTM, utmToDD } from './geo_utils'; describe('MGRS', () => { test('ddToMGRS should convert lat lon to MGRS', () => { diff --git a/src/plugins/field_formats/common/utils/geo_utils.ts b/src/plugins/field_formats/common/utils/geo_utils.ts new file mode 100644 index 0000000000000..7029a110e6d8d --- /dev/null +++ b/src/plugins/field_formats/common/utils/geo_utils.ts @@ -0,0 +1,115 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import * as usng from 'usng.js'; +import { i18n } from '@kbn/i18n'; +// @ts-ignore +export const converter = new usng.Converter(); + +export function withinRange(value: string | number, min: number, max: number) { + const isInvalid = value === '' || value > max || value < min; + const error = isInvalid + ? i18n.translate('fieldFormats.geoUtils.outOfRangeErrorMsg', { + defaultMessage: `Must be between {min} and {max}`, + values: { min, max }, + }) + : null; + return { isInvalid, error }; +} + +export function ddToUTM(lat: number, lon: number) { + try { + const utm = converter.LLtoUTM(lat, lon); + return { + northing: utm === converter.UNDEFINED_STR ? '' : String(Math.round(utm.northing)), + easting: utm === converter.UNDEFINED_STR ? '' : String(Math.round(utm.easting)), + zone: + utm === converter.UNDEFINED_STR + ? '' + : `${utm.zoneNumber}${converter.UTMLetterDesignator(lat)}`, + }; + } catch (e) { + return { + northing: '', + easting: '', + zone: '', + }; + } +} + +export function utmToDD(northing: string, easting: string, zoneNumber: string) { + try { + return converter.UTMtoLL(northing, easting, zoneNumber); + } catch (e) { + return undefined; + } +} + +export function ddToDMS(lat: number, lon: number) { + const southing = lat < 0; + const westing = lon < 0; + lat = Math.abs(lat); + const lathours = parseInt(lat.toString(), 10).toString(); + const latmins = parseInt(((lat % 1) * 60).toString(), 10).toString(); + const latsec = parseInt(((((lat % 1) * 60) % 1) * 60).toString(), 10).toString(); + const lats = + lathours.padStart(2, '0') + + latmins.padStart(2, '0') + + latsec.padStart(2, '0') + + (southing ? 'S' : 'N'); + lon = Math.abs(lon); + const lonhours = parseInt(lon.toString(), 10).toString(); + const lonmins = parseInt(((lon % 1) * 60).toString(), 10).toString(); + const lonsec = parseInt(((((lon % 1) * 60) % 1) * 60).toString(), 10).toString(); + const lons = + lonhours.padStart(3, '0') + + lonmins.padStart(2, '0') + + lonsec.padStart(2, '0') + + (westing ? 'W' : 'E'); + return `${lats},${lons}`; +} + +export function ddToMGRS(lat: number, lon: number) { + try { + const mgrsCoord = converter.LLtoMGRS(lat, lon, 5); + return mgrsCoord; + } catch (e) { + return ''; + } +} + +export function mgrstoUSNG(mgrs: string) { + let squareIdEastSpace = 0; + for (let i = mgrs.length - 1; i > -1; i--) { + // check if we have hit letters yet + if (isNaN(parseInt(mgrs.substr(i, 1), 10))) { + squareIdEastSpace = i + 1; + break; + } + } + const gridZoneSquareIdSpace = squareIdEastSpace ? squareIdEastSpace - 2 : -1; + const numPartLength = mgrs.substr(squareIdEastSpace).length / 2; + // add the number split space + const eastNorthSpace = squareIdEastSpace ? squareIdEastSpace + numPartLength : -1; + const stringArray = mgrs.split(''); + + stringArray.splice(eastNorthSpace, 0, ' '); + stringArray.splice(squareIdEastSpace, 0, ' '); + stringArray.splice(gridZoneSquareIdSpace, 0, ' '); + + const rejoinedArray = stringArray.join(''); + return rejoinedArray; +} + +export function mgrsToDD(mgrs: string) { + try { + return converter.USNGtoLL(mgrstoUSNG(mgrs)); + } catch (e) { + return undefined; + } +} diff --git a/src/plugins/field_formats/common/utils/index.ts b/src/plugins/field_formats/common/utils/index.ts index 3cfa0241c6f41..9362460b0ad59 100644 --- a/src/plugins/field_formats/common/utils/index.ts +++ b/src/plugins/field_formats/common/utils/index.ts @@ -9,3 +9,4 @@ export { asPrettyString } from './as_pretty_string'; export { getHighlightHtml, getHighlightRequest } from './highlight'; export { shortenDottedString } from './shorten_dotted_string'; +export * as geoUtils from './geo_utils'; diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx b/src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx index 0484ba0fc0577..bab228ec29e65 100644 --- a/src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx +++ b/src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx @@ -398,7 +398,7 @@ export const QueryBarTopRow = React.memo( ); function shouldRenderQueryInput(): boolean { - return Boolean(showQueryInput && props.indexPatterns && props.query && storage); + return Boolean(showQueryInput && props.query && storage); } function shouldRenderDatePicker(): boolean { diff --git a/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts b/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts index c4d3c9c6e6ad1..bc79023bd51b7 100644 --- a/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts +++ b/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts @@ -103,21 +103,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.dashboard.waitForRenderComplete(); }); - it('adds a markdown visualization via the quick button', async () => { - const originalPanelCount = await PageObjects.dashboard.getPanelCount(); - await dashboardAddPanel.clickMarkdownQuickButton(); - await PageObjects.visualize.saveVisualizationExpectSuccess( - 'visualization from markdown quick button', - { redirectToOrigin: true } - ); - - await retry.try(async () => { - const panelCount = await PageObjects.dashboard.getPanelCount(); - expect(panelCount).to.eql(originalPanelCount + 1); - }); - await PageObjects.dashboard.waitForRenderComplete(); - }); - it('saves the listing page instead of the visualization to the app link', async () => { await PageObjects.header.clickVisualize(true); const currentUrl = await browser.getCurrentUrl(); diff --git a/test/functional/apps/dashboard_elements/image_embeddable/image_embeddable.ts b/test/functional/apps/dashboard_elements/image_embeddable/image_embeddable.ts index de2d962ae854d..caf229e8335bb 100644 --- a/test/functional/apps/dashboard_elements/image_embeddable/image_embeddable.ts +++ b/test/functional/apps/dashboard_elements/image_embeddable/image_embeddable.ts @@ -12,6 +12,7 @@ import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'dashboard', 'discover', 'header']); const testSubjects = getService('testSubjects'); + const dashboardAddPanel = getService('dashboardAddPanel'); const kibanaServer = getService('kibanaServer'); const retry = getService('retry'); @@ -36,7 +37,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should create an image embeddable', async () => { // create an image embeddable - await testSubjects.click(`dashboardQuickButtonimage`); + await dashboardAddPanel.clickEditorMenuButton(); + await dashboardAddPanel.clickAddNewEmbeddableLink('image'); await testSubjects.exists(`createImageEmbeddableFlyout`); await PageObjects.common.setFileInputPath(require.resolve('./elastic_logo.png')); await testSubjects.clickWhenNotDisabled(`imageEmbeddableEditorSave`); diff --git a/test/functional/services/dashboard/add_panel.ts b/test/functional/services/dashboard/add_panel.ts index f214eaf7a7b5a..c85210e06e29e 100644 --- a/test/functional/services/dashboard/add_panel.ts +++ b/test/functional/services/dashboard/add_panel.ts @@ -38,17 +38,14 @@ export class DashboardAddPanelService extends FtrService { }); } - async clickQuickButton(visType: string) { - this.log.debug(`DashboardAddPanel.clickQuickButton${visType}`); - await this.testSubjects.click(`dashboardQuickButton${visType}`); - } - async clickMarkdownQuickButton() { - await this.clickQuickButton('markdown'); + await this.clickEditorMenuButton(); + await this.clickVisType('markdown'); } async clickMapQuickButton() { - await this.clickQuickButton('map'); + await this.clickEditorMenuButton(); + await this.clickVisType('map'); } async clickEditorMenuButton() { diff --git a/x-pack/plugins/alerting/common/routes/rule/create/index.ts b/x-pack/plugins/alerting/common/routes/rule/create/index.ts new file mode 100644 index 0000000000000..92ac6d67aece7 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/create/index.ts @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { + notifyWhenSchema, + actionFrequencySchema, + actionAlertsFilterSchema, + actionSchema, + createParamsSchema, + createBodySchema, +} from './schemas/latest'; + +export type { + CreateRuleAction, + CreateRuleActionFrequency, + CreateRuleRequestParams, + CreateRuleRequestBody, + CreateRuleResponse, +} from './types/latest'; + +export { + notifyWhenSchema as notifyWhenSchemaV1, + actionFrequencySchema as actionFrequencySchemaV1, + actionAlertsFilterSchema as actionAlertsFilterSchemaV1, + actionSchema as actionSchemaV1, + createParamsSchema as createParamsSchemaV1, + createBodySchema as createBodySchemaV1, +} from './schemas/v1'; + +export type { + CreateRuleAction as CreateRuleActionV1, + CreateRuleActionFrequency as CreateRuleActionFrequencyV1, + CreateRuleRequestParams as CreateRuleRequestParamsV1, + CreateRuleRequestBody as CreateRuleRequestBodyV1, + CreateRuleResponse as CreateRuleResponseV1, +} from './types/v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/create/schemas/latest.ts b/x-pack/plugins/alerting/common/routes/rule/create/schemas/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/create/schemas/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/create/schemas/v1.ts b/x-pack/plugins/alerting/common/routes/rule/create/schemas/v1.ts new file mode 100644 index 0000000000000..2fa5f7660461b --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/create/schemas/v1.ts @@ -0,0 +1,99 @@ +/* + * 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 { schema } from '@kbn/config-schema'; +import { ruleNotifyWhenV1 } from '../../rule_response'; +import { + validateNotifyWhenV1, + validateDurationV1, + validateHoursV1, + validateTimezoneV1, +} from '../../validation'; + +export const notifyWhenSchema = schema.oneOf( + [ + schema.literal(ruleNotifyWhenV1.CHANGE), + schema.literal(ruleNotifyWhenV1.ACTIVE), + schema.literal(ruleNotifyWhenV1.THROTTLE), + ], + { validate: validateNotifyWhenV1 } +); + +export const actionFrequencySchema = schema.object({ + summary: schema.boolean(), + notify_when: notifyWhenSchema, + throttle: schema.nullable(schema.string({ validate: validateDurationV1 })), +}); + +export const actionAlertsFilterSchema = schema.object({ + query: schema.maybe( + schema.object({ + kql: schema.string(), + filters: schema.arrayOf( + schema.object({ + query: schema.maybe(schema.recordOf(schema.string(), schema.any())), + meta: schema.recordOf(schema.string(), schema.any()), + state$: schema.maybe(schema.object({ store: schema.string() })), + }) + ), + dsl: schema.maybe(schema.string()), + }) + ), + timeframe: schema.maybe( + schema.object({ + days: schema.arrayOf( + schema.oneOf([ + schema.literal(1), + schema.literal(2), + schema.literal(3), + schema.literal(4), + schema.literal(5), + schema.literal(6), + schema.literal(7), + ]) + ), + hours: schema.object({ + start: schema.string({ + validate: validateHoursV1, + }), + end: schema.string({ + validate: validateHoursV1, + }), + }), + timezone: schema.string({ validate: validateTimezoneV1 }), + }) + ), +}); + +export const actionSchema = schema.object({ + uuid: schema.maybe(schema.string()), + group: schema.string(), + id: schema.string(), + actionTypeId: schema.maybe(schema.string()), + params: schema.recordOf(schema.string(), schema.maybe(schema.any()), { defaultValue: {} }), + frequency: schema.maybe(actionFrequencySchema), + alerts_filter: schema.maybe(actionAlertsFilterSchema), +}); + +export const createBodySchema = schema.object({ + name: schema.string(), + rule_type_id: schema.string(), + enabled: schema.boolean({ defaultValue: true }), + consumer: schema.string(), + tags: schema.arrayOf(schema.string(), { defaultValue: [] }), + throttle: schema.maybe(schema.nullable(schema.string({ validate: validateDurationV1 }))), + params: schema.recordOf(schema.string(), schema.maybe(schema.any()), { defaultValue: {} }), + schedule: schema.object({ + interval: schema.string({ validate: validateDurationV1 }), + }), + actions: schema.arrayOf(actionSchema, { defaultValue: [] }), + notify_when: schema.maybe(schema.nullable(notifyWhenSchema)), +}); + +export const createParamsSchema = schema.object({ + id: schema.maybe(schema.string()), +}); diff --git a/x-pack/plugins/alerting/common/routes/rule/create/types/latest.ts b/x-pack/plugins/alerting/common/routes/rule/create/types/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/create/types/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/create/types/v1.ts b/x-pack/plugins/alerting/common/routes/rule/create/types/v1.ts new file mode 100644 index 0000000000000..d97af8bb6f69f --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/create/types/v1.ts @@ -0,0 +1,37 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { TypeOf } from '@kbn/config-schema'; +import { RuleParamsV1, RuleResponseV1 } from '../../rule_response'; +import { + actionSchema as actionSchemaV1, + actionFrequencySchema as actionFrequencySchemaV1, + createParamsSchema as createParamsSchemaV1, + createBodySchema as createBodySchemaV1, +} from '..'; + +export type CreateRuleAction = TypeOf; +export type CreateRuleActionFrequency = TypeOf; + +export type CreateRuleRequestParams = TypeOf; +type CreateBodySchema = TypeOf; + +export interface CreateRuleRequestBody { + name: CreateBodySchema['name']; + rule_type_id: CreateBodySchema['rule_type_id']; + enabled: CreateBodySchema['enabled']; + consumer: CreateBodySchema['consumer']; + tags: CreateBodySchema['tags']; + throttle?: CreateBodySchema['throttle']; + params: Params; + schedule: CreateBodySchema['schedule']; + actions: CreateBodySchema['actions']; + notify_when?: CreateBodySchema['notify_when']; +} + +export interface CreateRuleResponse { + body: RuleResponseV1; +} diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/latest.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/v1.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/v1.ts new file mode 100644 index 0000000000000..a241412310482 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/constants/v1.ts @@ -0,0 +1,53 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const ruleNotifyWhen = { + CHANGE: 'onActionGroupChange', + ACTIVE: 'onActiveAlert', + THROTTLE: 'onThrottleInterval', +} as const; + +export const ruleLastRunOutcomeValues = { + SUCCEEDED: 'succeeded', + WARNING: 'warning', + FAILED: 'failed', +} as const; + +export const ruleExecutionStatusValues = { + OK: 'ok', + ACTIVE: 'active', + ERROR: 'error', + WARNING: 'warning', + PENDING: 'pending', + UNKNOWN: 'unknown', +} as const; + +export const ruleExecutionStatusErrorReason = { + READ: 'read', + DECRYPT: 'decrypt', + EXECUTE: 'execute', + UNKNOWN: 'unknown', + LICENSE: 'license', + TIMEOUT: 'timeout', + DISABLED: 'disabled', + VALIDATE: 'validate', +} as const; + +export const ruleExecutionStatusWarningReason = { + MAX_EXECUTABLE_ACTIONS: 'maxExecutableActions', + MAX_ALERTS: 'maxAlerts', +} as const; + +export type RuleNotifyWhen = typeof ruleNotifyWhen[keyof typeof ruleNotifyWhen]; +export type RuleLastRunOutcomeValues = + typeof ruleLastRunOutcomeValues[keyof typeof ruleLastRunOutcomeValues]; +export type RuleExecutionStatusValues = + typeof ruleExecutionStatusValues[keyof typeof ruleExecutionStatusValues]; +export type RuleExecutionStatusErrorReason = + typeof ruleExecutionStatusErrorReason[keyof typeof ruleExecutionStatusErrorReason]; +export type RuleExecutionStatusWarningReason = + typeof ruleExecutionStatusWarningReason[keyof typeof ruleExecutionStatusWarningReason]; diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/index.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/index.ts new file mode 100644 index 0000000000000..451266e3a3483 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/index.ts @@ -0,0 +1,64 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { + ruleParamsSchema, + actionParamsSchema, + mappedParamsSchema, + ruleExecutionStatusSchema, + ruleLastRunSchema, + monitoringSchema, + rRuleSchema, + ruleResponseSchema, +} from './schemas/latest'; + +export type { RuleParams, RuleResponse } from './types/latest'; + +export { + ruleNotifyWhen, + ruleLastRunOutcomeValues, + ruleExecutionStatusValues, + ruleExecutionStatusErrorReason, + ruleExecutionStatusWarningReason, +} from './constants/latest'; + +export type { + RuleNotifyWhen, + RuleLastRunOutcomeValues, + RuleExecutionStatusValues, + RuleExecutionStatusErrorReason, + RuleExecutionStatusWarningReason, +} from './constants/latest'; + +export { + ruleParamsSchema as ruleParamsSchemaV1, + actionParamsSchema as actionParamsSchemaV1, + mappedParamsSchema as mappedParamsSchemaV1, + ruleExecutionStatusSchema as ruleExecutionStatusSchemaV1, + ruleLastRunSchema as ruleLastRunSchemaV1, + monitoringSchema as monitoringSchemaV1, + rRuleSchema as rRuleSchemaV1, + ruleResponseSchema as ruleResponseSchemaV1, +} from './schemas/v1'; + +export { + ruleNotifyWhen as ruleNotifyWhenV1, + ruleLastRunOutcomeValues as ruleLastRunOutcomeValuesV1, + ruleExecutionStatusValues as ruleExecutionStatusValuesV1, + ruleExecutionStatusErrorReason as ruleExecutionStatusErrorReasonV1, + ruleExecutionStatusWarningReason as ruleExecutionStatusWarningReasonV1, +} from './constants/v1'; + +export type { + RuleNotifyWhen as RuleNotifyWhenV1, + RuleLastRunOutcomeValues as RuleLastRunOutcomeValuesV1, + RuleExecutionStatusValues as RuleExecutionStatusValuesV1, + RuleExecutionStatusErrorReason as RuleExecutionStatusErrorReasonV1, + RuleExecutionStatusWarningReason as RuleExecutionStatusWarningReasonV1, +} from './constants/v1'; + +export type { RuleParams as RuleParamsV1, RuleResponse as RuleResponseV1 } from './types/v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/latest.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/v1.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/v1.ts new file mode 100644 index 0000000000000..8dbc37ea6aaad --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/schemas/v1.ts @@ -0,0 +1,259 @@ +/* + * 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 { schema } from '@kbn/config-schema'; +import { + ruleNotifyWhen as ruleNotifyWhenV1, + ruleExecutionStatusValues as ruleExecutionStatusValuesV1, + ruleExecutionStatusErrorReason as ruleExecutionStatusErrorReasonV1, + ruleExecutionStatusWarningReason as ruleExecutionStatusWarningReasonV1, + ruleLastRunOutcomeValues as ruleLastRunOutcomeValuesV1, +} from '../constants/v1'; + +export const ruleParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); +export const actionParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); +export const mappedParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); + +const notifyWhenSchema = schema.oneOf([ + schema.literal(ruleNotifyWhenV1.CHANGE), + schema.literal(ruleNotifyWhenV1.ACTIVE), + schema.literal(ruleNotifyWhenV1.THROTTLE), +]); + +const intervalScheduleSchema = schema.object({ + interval: schema.string(), +}); + +const actionFrequencySchema = schema.object({ + summary: schema.boolean(), + notify_when: notifyWhenSchema, + throttle: schema.nullable(schema.string()), +}); + +const actionAlertsFilterSchema = schema.object({ + query: schema.maybe( + schema.object({ + kql: schema.string(), + filters: schema.arrayOf( + schema.object({ + query: schema.maybe(schema.recordOf(schema.string(), schema.any())), + meta: schema.recordOf(schema.string(), schema.any()), + state$: schema.maybe(schema.object({ store: schema.string() })), + }) + ), + }) + ), + timeframe: schema.maybe( + schema.object({ + days: schema.arrayOf( + schema.oneOf([ + schema.literal(1), + schema.literal(2), + schema.literal(3), + schema.literal(4), + schema.literal(5), + schema.literal(6), + schema.literal(7), + ]) + ), + hours: schema.object({ + start: schema.string(), + end: schema.string(), + }), + timezone: schema.string(), + }) + ), +}); + +const actionSchema = schema.object({ + uuid: schema.maybe(schema.string()), + group: schema.string(), + id: schema.string(), + connector_type_id: schema.string(), + params: actionParamsSchema, + frequency: schema.maybe(actionFrequencySchema), + alerts_filter: schema.maybe(actionAlertsFilterSchema), +}); + +export const ruleExecutionStatusSchema = schema.object({ + status: schema.oneOf([ + schema.literal(ruleExecutionStatusValuesV1.OK), + schema.literal(ruleExecutionStatusValuesV1.ACTIVE), + schema.literal(ruleExecutionStatusValuesV1.ERROR), + schema.literal(ruleExecutionStatusValuesV1.WARNING), + schema.literal(ruleExecutionStatusValuesV1.PENDING), + schema.literal(ruleExecutionStatusValuesV1.UNKNOWN), + ]), + last_execution_date: schema.string(), + last_duration: schema.maybe(schema.number()), + error: schema.maybe( + schema.object({ + reason: schema.oneOf([ + schema.literal(ruleExecutionStatusErrorReasonV1.READ), + schema.literal(ruleExecutionStatusErrorReasonV1.DECRYPT), + schema.literal(ruleExecutionStatusErrorReasonV1.EXECUTE), + schema.literal(ruleExecutionStatusErrorReasonV1.UNKNOWN), + schema.literal(ruleExecutionStatusErrorReasonV1.LICENSE), + schema.literal(ruleExecutionStatusErrorReasonV1.TIMEOUT), + schema.literal(ruleExecutionStatusErrorReasonV1.DISABLED), + schema.literal(ruleExecutionStatusErrorReasonV1.VALIDATE), + ]), + message: schema.string(), + }) + ), + warning: schema.maybe( + schema.object({ + reason: schema.oneOf([ + schema.literal(ruleExecutionStatusWarningReasonV1.MAX_EXECUTABLE_ACTIONS), + schema.literal(ruleExecutionStatusWarningReasonV1.MAX_ALERTS), + ]), + message: schema.string(), + }) + ), +}); + +export const ruleLastRunSchema = schema.object({ + outcome: schema.oneOf([ + schema.literal(ruleLastRunOutcomeValuesV1.SUCCEEDED), + schema.literal(ruleLastRunOutcomeValuesV1.WARNING), + schema.literal(ruleLastRunOutcomeValuesV1.FAILED), + ]), + outcome_order: schema.maybe(schema.number()), + warning: schema.maybe( + schema.nullable( + schema.oneOf([ + schema.literal(ruleExecutionStatusErrorReasonV1.READ), + schema.literal(ruleExecutionStatusErrorReasonV1.DECRYPT), + schema.literal(ruleExecutionStatusErrorReasonV1.EXECUTE), + schema.literal(ruleExecutionStatusErrorReasonV1.UNKNOWN), + schema.literal(ruleExecutionStatusErrorReasonV1.LICENSE), + schema.literal(ruleExecutionStatusErrorReasonV1.TIMEOUT), + schema.literal(ruleExecutionStatusErrorReasonV1.DISABLED), + schema.literal(ruleExecutionStatusErrorReasonV1.VALIDATE), + schema.literal(ruleExecutionStatusWarningReasonV1.MAX_EXECUTABLE_ACTIONS), + schema.literal(ruleExecutionStatusWarningReasonV1.MAX_ALERTS), + ]) + ) + ), + outcome_msg: schema.maybe(schema.nullable(schema.arrayOf(schema.string()))), + alerts_count: schema.object({ + active: schema.maybe(schema.nullable(schema.number())), + new: schema.maybe(schema.nullable(schema.number())), + recovered: schema.maybe(schema.nullable(schema.number())), + ignored: schema.maybe(schema.nullable(schema.number())), + }), +}); + +export const monitoringSchema = schema.object({ + run: schema.object({ + history: schema.arrayOf( + schema.object({ + success: schema.boolean(), + timestamp: schema.number(), + duration: schema.maybe(schema.number()), + outcome: schema.maybe(ruleLastRunSchema), + }) + ), + calculated_metrics: schema.object({ + p50: schema.maybe(schema.number()), + p95: schema.maybe(schema.number()), + p99: schema.maybe(schema.number()), + success_ratio: schema.number(), + }), + last_run: schema.object({ + timestamp: schema.string(), + metrics: schema.object({ + duration: schema.maybe(schema.number()), + total_search_duration_ms: schema.maybe(schema.nullable(schema.number())), + total_indexing_duration_ms: schema.maybe(schema.nullable(schema.number())), + total_alerts_detected: schema.maybe(schema.nullable(schema.number())), + total_alerts_created: schema.maybe(schema.nullable(schema.number())), + gap_duration_s: schema.maybe(schema.nullable(schema.number())), + }), + }), + }), +}); + +export const rRuleSchema = schema.object({ + dtstart: schema.string(), + tzid: schema.string(), + freq: schema.maybe( + schema.oneOf([ + schema.literal(0), + schema.literal(1), + schema.literal(2), + schema.literal(3), + schema.literal(4), + schema.literal(5), + schema.literal(6), + ]) + ), + until: schema.maybe(schema.string()), + count: schema.maybe(schema.number()), + interval: schema.maybe(schema.number()), + wkst: schema.maybe( + schema.oneOf([ + schema.literal('MO'), + schema.literal('TU'), + schema.literal('WE'), + schema.literal('TH'), + schema.literal('FR'), + schema.literal('SA'), + schema.literal('SU'), + ]) + ), + byweekday: schema.maybe(schema.arrayOf(schema.oneOf([schema.string(), schema.number()]))), + bymonth: schema.maybe(schema.arrayOf(schema.number())), + bysetpos: schema.maybe(schema.arrayOf(schema.number())), + bymonthday: schema.arrayOf(schema.number()), + byyearday: schema.arrayOf(schema.number()), + byweekno: schema.arrayOf(schema.number()), + byhour: schema.arrayOf(schema.number()), + byminute: schema.arrayOf(schema.number()), + bysecond: schema.arrayOf(schema.number()), +}); + +const snoozeScheduleSchema = schema.object({ + duration: schema.number(), + rRule: rRuleSchema, + id: schema.maybe(schema.string()), + skipRecurrences: schema.maybe(schema.arrayOf(schema.string())), +}); + +export const ruleResponseSchema = schema.object({ + id: schema.string(), + enabled: schema.boolean(), + name: schema.string(), + tags: schema.arrayOf(schema.string()), + rule_type_id: schema.string(), + consumer: schema.string(), + schedule: intervalScheduleSchema, + actions: schema.arrayOf(actionSchema), + params: ruleParamsSchema, + mapped_params: schema.maybe(mappedParamsSchema), + scheduled_task_id: schema.maybe(schema.string()), + created_by: schema.nullable(schema.string()), + updated_by: schema.nullable(schema.string()), + created_at: schema.string(), + updated_at: schema.string(), + api_key_owner: schema.nullable(schema.string()), + api_key_created_by_user: schema.maybe(schema.nullable(schema.boolean())), + throttle: schema.maybe(schema.nullable(schema.string())), + mute_all: schema.boolean(), + notify_when: schema.maybe(schema.nullable(notifyWhenSchema)), + muted_alert_ids: schema.arrayOf(schema.string()), + execution_status: ruleExecutionStatusSchema, + monitoring: schema.maybe(monitoringSchema), + snooze_schedule: schema.maybe(schema.arrayOf(snoozeScheduleSchema)), + active_snoozes: schema.maybe(schema.arrayOf(schema.string())), + is_snoozed_until: schema.maybe(schema.nullable(schema.string())), + last_run: schema.maybe(schema.nullable(ruleLastRunSchema)), + next_run: schema.maybe(schema.nullable(schema.string())), + revision: schema.number(), + running: schema.maybe(schema.nullable(schema.boolean())), + view_in_app_relative_url: schema.maybe(schema.nullable(schema.string())), +}); diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/types/latest.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/types/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/types/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/rule_response/types/v1.ts b/x-pack/plugins/alerting/common/routes/rule/rule_response/types/v1.ts new file mode 100644 index 0000000000000..affd98575e270 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/rule_response/types/v1.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { TypeOf } from '@kbn/config-schema'; +import { ruleParamsSchemaV1, ruleResponseSchemaV1 } from '..'; + +export type RuleParams = TypeOf; +type RuleResponseSchemaType = TypeOf; + +export interface RuleResponse { + id: RuleResponseSchemaType['id']; + enabled: RuleResponseSchemaType['enabled']; + name: RuleResponseSchemaType['name']; + tags: RuleResponseSchemaType['tags']; + rule_type_id: RuleResponseSchemaType['rule_type_id']; + consumer: RuleResponseSchemaType['consumer']; + schedule: RuleResponseSchemaType['schedule']; + actions: RuleResponseSchemaType['actions']; + params: Params; + mapped_params?: RuleResponseSchemaType['mapped_params']; + scheduled_task_id?: RuleResponseSchemaType['scheduled_task_id']; + created_by: RuleResponseSchemaType['created_by']; + updated_by: RuleResponseSchemaType['updated_by']; + created_at: RuleResponseSchemaType['created_at']; + updated_at: RuleResponseSchemaType['updated_at']; + api_key_owner: RuleResponseSchemaType['api_key_owner']; + api_key_created_by_user?: RuleResponseSchemaType['api_key_created_by_user']; + throttle?: RuleResponseSchemaType['throttle']; + mute_all: RuleResponseSchemaType['mute_all']; + notify_when?: RuleResponseSchemaType['notify_when']; + muted_alert_ids: RuleResponseSchemaType['muted_alert_ids']; + execution_status: RuleResponseSchemaType['execution_status']; + monitoring?: RuleResponseSchemaType['monitoring']; + snooze_schedule?: RuleResponseSchemaType['snooze_schedule']; + active_snoozes?: RuleResponseSchemaType['active_snoozes']; + is_snoozed_until?: RuleResponseSchemaType['is_snoozed_until']; + last_run?: RuleResponseSchemaType['last_run']; + next_run?: RuleResponseSchemaType['next_run']; + revision: RuleResponseSchemaType['revision']; + running?: RuleResponseSchemaType['running']; + view_in_app_relative_url?: RuleResponseSchemaType['view_in_app_relative_url']; +} diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/index.ts b/x-pack/plugins/alerting/common/routes/rule/validation/index.ts new file mode 100644 index 0000000000000..a0322c2256e74 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/index.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { validateDuration } from './validate_duration/latest'; +export { validateHours } from './validate_hours/latest'; +export { validateNotifyWhen } from './validate_notify_when/latest'; +export { validateTimezone } from './validate_timezone/latest'; + +export { validateDuration as validateDurationV1 } from './validate_duration/v1'; +export { validateHours as validateHoursV1 } from './validate_hours/v1'; +export { validateNotifyWhen as validateNotifyWhenV1 } from './validate_notify_when/v1'; +export { validateTimezone as validateTimezoneV1 } from './validate_timezone/v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts new file mode 100644 index 0000000000000..d07d710687cc0 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +const SECONDS_REGEX = /^[1-9][0-9]*s$/; +const MINUTES_REGEX = /^[1-9][0-9]*m$/; +const HOURS_REGEX = /^[1-9][0-9]*h$/; +const DAYS_REGEX = /^[1-9][0-9]*d$/; + +export function validateDuration(duration: string) { + if (duration.match(SECONDS_REGEX)) { + return; + } + if (duration.match(MINUTES_REGEX)) { + return; + } + if (duration.match(HOURS_REGEX)) { + return; + } + if (duration.match(DAYS_REGEX)) { + return; + } + return 'string is not a valid duration: ' + duration; +} diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts new file mode 100644 index 0000000000000..5c4fcd264ca04 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export function validateHours(time: string) { + if (/^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/.test(time)) { + return; + } + return 'string is not a valid time in HH:mm format ' + time; +} diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts new file mode 100644 index 0000000000000..e239b1990f7b4 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ruleNotifyWhenV1, RuleNotifyWhenV1 } from '../../rule_response'; + +export function validateNotifyWhen(notifyWhen: string) { + if (Object.values(ruleNotifyWhenV1).includes(notifyWhen as RuleNotifyWhenV1)) { + return; + } + return `string is not a valid RuleNotifyWhenType: ${notifyWhen}`; +} diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts b/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts new file mode 100644 index 0000000000000..68b095f4378d0 --- /dev/null +++ b/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import moment from 'moment'; +import 'moment-timezone'; + +export function validateTimezone(timezone: string) { + if (moment.tz.names().includes(timezone)) { + return; + } + return 'string is not a valid timezone: ' + timezone; +} diff --git a/x-pack/plugins/alerting/server/application/rule/constants.ts b/x-pack/plugins/alerting/server/application/rule/constants.ts new file mode 100644 index 0000000000000..7b0aa82a90ca9 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/constants.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const ruleNotifyWhen = { + CHANGE: 'onActionGroupChange', + ACTIVE: 'onActiveAlert', + THROTTLE: 'onThrottleInterval', +} as const; + +export const ruleLastRunOutcomeValues = { + SUCCEEDED: 'succeeded', + WARNING: 'warning', + FAILED: 'failed', +} as const; + +export const ruleExecutionStatusValues = { + OK: 'ok', + ACTIVE: 'active', + ERROR: 'error', + WARNING: 'warning', + PENDING: 'pending', + UNKNOWN: 'unknown', +} as const; + +export const ruleExecutionStatusErrorReason = { + READ: 'read', + DECRYPT: 'decrypt', + EXECUTE: 'execute', + UNKNOWN: 'unknown', + LICENSE: 'license', + TIMEOUT: 'timeout', + DISABLED: 'disabled', + VALIDATE: 'validate', +} as const; + +export const ruleExecutionStatusWarningReason = { + MAX_EXECUTABLE_ACTIONS: 'maxExecutableActions', + MAX_ALERTS: 'maxAlerts', +} as const; diff --git a/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts b/x-pack/plugins/alerting/server/application/rule/create/create_rule.test.ts similarity index 94% rename from x-pack/plugins/alerting/server/rules_client/tests/create.test.ts rename to x-pack/plugins/alerting/server/application/rule/create/create_rule.test.ts index 8de37e55421e1..e8779face1e8a 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts +++ b/x-pack/plugins/alerting/server/application/rule/create/create_rule.test.ts @@ -6,24 +6,25 @@ */ import { schema } from '@kbn/config-schema'; -import { CreateOptions } from '../methods/create'; -import { RulesClient, ConstructorOptions } from '../rules_client'; +import { CreateRuleParams } from './create_rule'; +import { RulesClient, ConstructorOptions } from '../../../rules_client'; import { savedObjectsClientMock, loggingSystemMock } from '@kbn/core/server/mocks'; import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; -import { ruleTypeRegistryMock } from '../../rule_type_registry.mock'; -import { alertingAuthorizationMock } from '../../authorization/alerting_authorization.mock'; +import { ruleTypeRegistryMock } from '../../../rule_type_registry.mock'; +import { alertingAuthorizationMock } from '../../../authorization/alerting_authorization.mock'; import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; import { actionsAuthorizationMock } from '@kbn/actions-plugin/server/mocks'; -import { AlertingAuthorization } from '../../authorization/alerting_authorization'; +import { AlertingAuthorization } from '../../../authorization/alerting_authorization'; import { ActionsAuthorization, ActionsClient } from '@kbn/actions-plugin/server'; -import { RuleNotifyWhen } from '../../types'; +import { ruleNotifyWhen } from '../constants'; import { TaskStatus } from '@kbn/task-manager-plugin/server'; import { auditLoggerMock } from '@kbn/security-plugin/server/audit/mocks'; -import { getBeforeSetup, setGlobalDate } from './lib'; -import { RecoveredActionGroup } from '../../../common'; -import { getDefaultMonitoring } from '../../lib/monitoring'; -import { bulkMarkApiKeysForInvalidation } from '../../invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation'; -jest.mock('../../invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation', () => ({ +import { getBeforeSetup, setGlobalDate } from '../../../rules_client/tests/lib'; +import { RecoveredActionGroup } from '../../../../common'; +import { bulkMarkApiKeysForInvalidation } from '../../../invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation'; +import { getRuleExecutionStatusPending, getDefaultMonitoring } from '../../../lib'; + +jest.mock('../../../invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation', () => ({ bulkMarkApiKeysForInvalidation: jest.fn(), })); @@ -79,7 +80,9 @@ beforeEach(() => { setGlobalDate(); -function getMockData(overwrites: Record = {}): CreateOptions<{ +const now = new Date().toISOString(); + +function getMockData(overwrites: Record = {}): CreateRuleParams<{ bar: boolean; }>['data'] { return { @@ -103,7 +106,6 @@ function getMockData(overwrites: Record = {}): CreateOptions<{ }, }, ], - running: false, ...overwrites, }; } @@ -153,7 +155,7 @@ describe('create()', () => { describe('authorization', () => { function tryToExecuteOperation( - options: CreateOptions<{ + options: CreateRuleParams<{ bar: boolean; }> ): Promise { @@ -166,6 +168,8 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, createdAt: '2019-02-12T21:01:22.479Z', actions: [ { @@ -175,7 +179,7 @@ describe('create()', () => { params: { foo: true, }, - frequency: { summary: false, notifyWhen: RuleNotifyWhen.CHANGE, throttle: null }, + frequency: { summary: false, notifyWhen: ruleNotifyWhen.CHANGE, throttle: null }, }, ], }, @@ -254,7 +258,11 @@ describe('create()', () => { unsecuredSavedObjectsClient.create.mockResolvedValueOnce({ id: '1', type: 'alert', - attributes: data, + attributes: { + ...data, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, + }, references: [], }); await rulesClient.create({ data }); @@ -331,7 +339,11 @@ describe('create()', () => { unsecuredSavedObjectsClient.create.mockResolvedValueOnce({ id: '1', type: 'alert', - attributes: createdAttributes, + attributes: { + ...createdAttributes, + running: false, + executionStatus: getRuleExecutionStatusPending(createdAttributes.createdAt), + }, references: [ { name: 'action_0', @@ -345,6 +357,8 @@ describe('create()', () => { type: 'alert', attributes: { ...createdAttributes, + running: false, + executionStatus: getRuleExecutionStatusPending(createdAttributes.createdAt), scheduledTaskId: 'task-123', }, references: [ @@ -379,6 +393,10 @@ describe('create()', () => { "createdAt": 2019-02-12T21:01:22.479Z, "createdBy": "elastic", "enabled": true, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "muteAll": false, "mutedInstanceIds": Array [], @@ -425,10 +443,8 @@ describe('create()', () => { "createdBy": "elastic", "enabled": true, "executionStatus": Object { - "error": null, "lastExecutionDate": "2019-02-12T21:01:22.479Z", "status": "pending", - "warning": null, }, "legacyId": null, "meta": Object { @@ -513,7 +529,7 @@ describe('create()', () => { ] `); expect(unsecuredSavedObjectsClient.update).toHaveBeenCalledTimes(1); - expect(unsecuredSavedObjectsClient.update.mock.calls[0]).toHaveLength(3); + expect(unsecuredSavedObjectsClient.update.mock.calls[0]).toHaveLength(4); expect(unsecuredSavedObjectsClient.update.mock.calls[0][0]).toEqual('alert'); expect(unsecuredSavedObjectsClient.update.mock.calls[0][1]).toEqual('1'); expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot(` @@ -554,7 +570,11 @@ describe('create()', () => { unsecuredSavedObjectsClient.create.mockResolvedValueOnce({ id: '123', type: 'alert', - attributes: createdAttributes, + attributes: { + ...createdAttributes, + running: false, + executionStatus: getRuleExecutionStatusPending(createdAttributes.createdAt), + }, references: [ { name: 'action_0', @@ -614,7 +634,11 @@ describe('create()', () => { unsecuredSavedObjectsClient.create.mockResolvedValueOnce({ id: '123', type: 'alert', - attributes: createdAttributes, + attributes: { + ...createdAttributes, + running: false, + executionStatus: getRuleExecutionStatusPending(createdAttributes.createdAt), + }, references: [ { name: 'action_0', @@ -647,10 +671,8 @@ describe('create()', () => { "createdBy": "elastic", "enabled": true, "executionStatus": Object { - "error": null, "lastExecutionDate": "2019-02-12T21:01:22.479Z", "status": "pending", - "warning": null, }, "legacyId": "123", "meta": Object { @@ -765,6 +787,8 @@ describe('create()', () => { id: '1', type: 'alert', attributes: { + running: false, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), alertTypeId: '123', schedule: { interval: '1m' }, params: { @@ -858,11 +882,16 @@ describe('create()', () => { ], "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { "bar": true, }, + "running": false, "schedule": Object { "interval": "1m", }, @@ -960,6 +989,7 @@ describe('create()', () => { id: '1', type: 'alert', attributes: { + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), alertTypeId: '123', schedule: { interval: '1m' }, params: { @@ -1049,6 +1079,10 @@ describe('create()', () => { ], "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { @@ -1104,10 +1138,8 @@ describe('create()', () => { enabled: true, legacyId: null, executionStatus: { - error: null, lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), meta: { versionApiKeyLastmodified: kibanaVersion }, @@ -1148,8 +1180,10 @@ describe('create()', () => { params: { bar: true, }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), + running: false, + executionStatus: getRuleExecutionStatusPending(now), + createdAt: now, + updatedAt: now, notifyWhen: null, actions: [ { @@ -1186,11 +1220,16 @@ describe('create()', () => { "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, "enabled": false, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { "bar": true, }, + "running": false, "schedule": Object { "interval": 10000, }, @@ -1256,8 +1295,10 @@ describe('create()', () => { bar: true, parameterThatIsSavedObjectRef: 'soRef_0', }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, + createdAt: now, + updatedAt: now, notifyWhen: null, actions: [ { @@ -1269,7 +1310,6 @@ describe('create()', () => { }, }, ], - running: false, }, references: [ { @@ -1318,10 +1358,8 @@ describe('create()', () => { enabled: true, legacyId: null, executionStatus: { - error: null, lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), meta: { versionApiKeyLastmodified: kibanaVersion }, @@ -1369,6 +1407,10 @@ describe('create()', () => { ], "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { @@ -1440,8 +1482,9 @@ describe('create()', () => { bar: true, parameterThatIsSavedObjectRef: 'action_0', }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), + executionStatus: getRuleExecutionStatusPending(now), + createdAt: now, + updatedAt: now, notifyWhen: null, actions: [ { @@ -1502,10 +1545,8 @@ describe('create()', () => { createdBy: 'elastic', enabled: true, executionStatus: { - error: null, lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), meta: { versionApiKeyLastmodified: kibanaVersion }, @@ -1553,6 +1594,10 @@ describe('create()', () => { ], "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { @@ -1582,8 +1627,10 @@ describe('create()', () => { params: { bar: true, }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), + executionStatus: getRuleExecutionStatusPending(now), + running: false, + createdAt: now, + updatedAt: now, actions: [ { group: 'default', @@ -1617,6 +1664,7 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), createdAt: '2019-02-12T21:01:22.479Z', createdBy: 'elastic', updatedBy: 'elastic', @@ -1688,8 +1736,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, @@ -1723,6 +1769,10 @@ describe('create()', () => { "createdAt": 2019-02-12T21:01:22.479Z, "createdBy": "elastic", "enabled": true, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "muteAll": false, "mutedInstanceIds": Array [], @@ -1755,6 +1805,7 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), createdAt: '2019-02-12T21:01:22.479Z', createdBy: 'elastic', updatedBy: 'elastic', @@ -1826,8 +1877,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, @@ -1861,6 +1910,10 @@ describe('create()', () => { "createdAt": 2019-02-12T21:01:22.479Z, "createdBy": "elastic", "enabled": true, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "muteAll": false, "mutedInstanceIds": Array [], @@ -1893,6 +1946,7 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), createdAt: '2019-02-12T21:01:22.479Z', createdBy: 'elastic', updatedBy: 'elastic', @@ -1964,8 +2018,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, @@ -1999,6 +2051,10 @@ describe('create()', () => { "createdAt": 2019-02-12T21:01:22.479Z, "createdBy": "elastic", "enabled": true, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "muteAll": false, "mutedInstanceIds": Array [], @@ -2040,6 +2096,7 @@ describe('create()', () => { risk_score: 42, severity: 'low', }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), createdAt: '2019-02-12T21:01:22.479Z', createdBy: 'elastic', updatedBy: 'elastic', @@ -2117,8 +2174,6 @@ describe('create()', () => { executionStatus: { status: 'pending', lastExecutionDate: '2019-02-12T21:01:22.479Z', - error: null, - warning: null, }, monitoring: { run: { @@ -2178,6 +2233,10 @@ describe('create()', () => { "createdAt": 2019-02-12T21:01:22.479Z, "createdBy": "elastic", "enabled": true, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "123", "muteAll": false, "mutedInstanceIds": Array [], @@ -2277,6 +2336,8 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, actions: [ { group: 'default', @@ -2305,11 +2366,12 @@ describe('create()', () => { ); expect(unsecuredSavedObjectsClient.delete).toHaveBeenCalledTimes(1); expect(unsecuredSavedObjectsClient.delete.mock.calls[0]).toMatchInlineSnapshot(` - Array [ - "alert", - "1", - ] - `); + Array [ + "alert", + "1", + undefined, + ] + `); }); test('attempts to remove saved object if scheduling failed', async () => { @@ -2323,6 +2385,8 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, actions: [ { group: 'default', @@ -2349,11 +2413,12 @@ describe('create()', () => { ); expect(unsecuredSavedObjectsClient.delete).toHaveBeenCalledTimes(1); expect(unsecuredSavedObjectsClient.delete.mock.calls[0]).toMatchInlineSnapshot(` - Array [ - "alert", - "1", - ] - `); + Array [ + "alert", + "1", + undefined, + ] + `); }); test('returns task manager error if cleanup fails, logs to console', async () => { @@ -2367,6 +2432,8 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, actions: [ { group: 'default', @@ -2398,7 +2465,7 @@ describe('create()', () => { ); }); - test('throws an error if alert type not registerd', async () => { + test('throws an error if alert type not registered', async () => { const data = getMockData(); ruleTypeRegistry.get.mockImplementation(() => { throw new Error('Invalid type'); @@ -2423,6 +2490,8 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), + running: false, actions: [ { group: 'default', @@ -2497,8 +2566,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, @@ -2538,6 +2605,7 @@ describe('create()', () => { }, }, ], + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), running: false, }, references: [ @@ -2604,8 +2672,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, @@ -2703,6 +2769,7 @@ describe('create()', () => { params: { bar: true, }, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), createdAt: '2019-02-12T21:01:22.479Z', createdBy: 'elastic', updatedBy: 'elastic', @@ -3182,8 +3249,9 @@ describe('create()', () => { params: { bar: true, }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), + executionStatus: getRuleExecutionStatusPending(now), + createdAt: now, + updatedAt: now, notifyWhen: null, actions: [ { @@ -3238,6 +3306,10 @@ describe('create()', () => { ], "alertTypeId": "123", "createdAt": 2019-02-12T21:01:22.479Z, + "executionStatus": Object { + "lastExecutionDate": 2019-02-12T21:01:22.000Z, + "status": "pending", + }, "id": "1", "notifyWhen": null, "params": Object { @@ -3376,6 +3448,8 @@ describe('create()', () => { attributes: { alertTypeId: '123', schedule: { interval: '1m' }, + running: false, + executionStatus: getRuleExecutionStatusPending('2019-02-12T21:01:22.479Z'), params: { bar: true, }, @@ -3455,8 +3529,6 @@ describe('create()', () => { executionStatus: { lastExecutionDate: '2019-02-12T21:01:22.479Z', status: 'pending', - error: null, - warning: null, }, monitoring: getDefaultMonitoring('2019-02-12T21:01:22.479Z'), revision: 0, diff --git a/x-pack/plugins/alerting/server/application/rule/create/create_rule.ts b/x-pack/plugins/alerting/server/application/rule/create/create_rule.ts new file mode 100644 index 0000000000000..89dea65bbe85a --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/create_rule.ts @@ -0,0 +1,205 @@ +/* + * 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 Semver from 'semver'; +import Boom from '@hapi/boom'; +import { SavedObject, SavedObjectsUtils } from '@kbn/core/server'; +import { withSpan } from '@kbn/apm-utils'; +import { parseDuration } from '../../../../common/parse_duration'; +import { WriteOperations, AlertingAuthorizationEntity } from '../../../authorization'; +import { validateRuleTypeParams, getRuleNotifyWhenType, getDefaultMonitoring } from '../../../lib'; +import { getRuleExecutionStatusPending } from '../../../lib/rule_execution_status'; +import { + extractReferences, + validateActions, + addGeneratedActionValues, +} from '../../../rules_client/lib'; +import { generateAPIKeyName, apiKeyAsAlertAttributes } from '../../../rules_client/common'; +import { ruleAuditEvent, RuleAuditAction } from '../../../rules_client/common/audit_events'; +import { RulesClientContext } from '../../../rules_client/types'; +import { Rule, RuleDomain, RuleParams } from '../types'; +import { SanitizedRule } from '../../../types'; +import { + transformRuleAttributesToRuleDomain, + transformRuleDomainToRuleAttributes, + transformRuleDomainToRule, +} from '../transforms'; +import { ruleDomainSchema } from '../schemas'; +import { RuleAttributes } from '../../../data/rule/types'; +import type { CreateRuleData } from './types'; +import { createRuleDataSchema } from './schemas'; +import { createRuleSavedObject } from '../../../rules_client/lib'; + +export interface CreateRuleOptions { + id?: string; +} + +export interface CreateRuleParams { + data: CreateRuleData; + options?: CreateRuleOptions; + allowMissingConnectorSecrets?: boolean; +} + +export async function createRule( + context: RulesClientContext, + createParams: CreateRuleParams + // TODO (http-versioning): This should be of type Rule, change this when all rule types are fixed +): Promise> { + const { data: initialData, options, allowMissingConnectorSecrets } = createParams; + + const data = { ...initialData, actions: addGeneratedActionValues(initialData.actions) }; + + const id = options?.id || SavedObjectsUtils.generateId(); + + try { + createRuleDataSchema.validate(data); + } catch (error) { + throw Boom.badRequest(`Error validating create data - ${error.message}`); + } + + try { + await withSpan({ name: 'authorization.ensureAuthorized', type: 'rules' }, () => + context.authorization.ensureAuthorized({ + ruleTypeId: data.alertTypeId, + consumer: data.consumer, + operation: WriteOperations.Create, + entity: AlertingAuthorizationEntity.Rule, + }) + ); + } catch (error) { + context.auditLogger?.log( + ruleAuditEvent({ + action: RuleAuditAction.CREATE, + savedObject: { type: 'alert', id }, + error, + }) + ); + throw error; + } + + context.ruleTypeRegistry.ensureRuleTypeEnabled(data.alertTypeId); + + // Throws an error if alert type isn't registered + const ruleType = context.ruleTypeRegistry.get(data.alertTypeId); + + const validatedAlertTypeParams = validateRuleTypeParams(data.params, ruleType.validate.params); + const username = await context.getUserName(); + + let createdAPIKey = null; + let isAuthTypeApiKey = false; + try { + isAuthTypeApiKey = context.isAuthenticationTypeAPIKey(); + const name = generateAPIKeyName(ruleType.id, data.name); + createdAPIKey = data.enabled + ? isAuthTypeApiKey + ? context.getAuthenticationAPIKey(`${name}-user-created`) + : await withSpan( + { + name: 'createAPIKey', + type: 'rules', + }, + () => context.createAPIKey(name) + ) + : null; + } catch (error) { + throw Boom.badRequest(`Error creating rule: could not create API key - ${error.message}`); + } + + await withSpan({ name: 'validateActions', type: 'rules' }, () => + validateActions(context, ruleType, data, allowMissingConnectorSecrets) + ); + + // Throw error if schedule interval is less than the minimum and we are enforcing it + const intervalInMs = parseDuration(data.schedule.interval); + if ( + intervalInMs < context.minimumScheduleIntervalInMs && + context.minimumScheduleInterval.enforce + ) { + throw Boom.badRequest( + `Error creating rule: the interval is less than the allowed minimum interval of ${context.minimumScheduleInterval.value}` + ); + } + + // Extract saved object references for this rule + const { + references, + params: updatedParams, + actions, + } = await withSpan({ name: 'extractReferences', type: 'rules' }, () => + extractReferences(context, ruleType, data.actions, validatedAlertTypeParams) + ); + + const createTime = Date.now(); + const lastRunTimestamp = new Date(); + const legacyId = Semver.lt(context.kibanaVersion, '8.0.0') ? id : null; + const notifyWhen = getRuleNotifyWhenType(data.notifyWhen ?? null, data.throttle ?? null); + const throttle = data.throttle ?? null; + + // Convert domain rule object to ES rule attributes + const ruleAttributes = transformRuleDomainToRuleAttributes( + { + ...data, + ...apiKeyAsAlertAttributes(createdAPIKey, username, isAuthTypeApiKey), + id, + createdBy: username, + updatedBy: username, + createdAt: new Date(createTime), + updatedAt: new Date(createTime), + snoozeSchedule: [], + muteAll: false, + mutedInstanceIds: [], + notifyWhen, + throttle, + executionStatus: getRuleExecutionStatusPending(lastRunTimestamp.toISOString()), + monitoring: getDefaultMonitoring(lastRunTimestamp.toISOString()) as Rule['monitoring'], + revision: 0, + running: false, + }, + { + legacyId, + actionsWithRefs: actions as RuleAttributes['actions'], + paramsWithRefs: updatedParams, + } + ); + + const createdRuleSavedObject: SavedObject = await withSpan( + { name: 'createRuleSavedObject', type: 'rules' }, + () => + createRuleSavedObject(context, { + intervalInMs, + rawRule: ruleAttributes, + references, + ruleId: id, + options, + returnRuleAttributes: true, + }) + ); + + // Convert ES RuleAttributes back to domain rule object + const ruleDomain: RuleDomain = transformRuleAttributesToRuleDomain( + createdRuleSavedObject.attributes, + { + id: createdRuleSavedObject.id, + logger: context.logger, + ruleType: context.ruleTypeRegistry.get(createdRuleSavedObject.attributes.alertTypeId), + references, + } + ); + + // Try to validate created rule, but don't throw. + try { + ruleDomainSchema.validate(ruleDomain); + } catch (e) { + context.logger.warn(`Error validating rule domain object for id: ${id}, ${e}`); + } + + // Convert domain rule to rule (Remove certain properties) + const rule = transformRuleDomainToRule(ruleDomain, { isPublic: true }); + + // TODO (http-versioning): Remove this cast, this enables us to move forward + // without fixing all of other solution types + return rule as SanitizedRule; +} diff --git a/x-pack/plugins/alerting/server/application/rule/create/index.ts b/x-pack/plugins/alerting/server/application/rule/create/index.ts new file mode 100644 index 0000000000000..3626294ceb0f6 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export type { CreateRuleOptions, CreateRuleParams } from './create_rule'; +export type { CreateRuleData } from './types'; +export { createRule } from './create_rule'; diff --git a/x-pack/plugins/alerting/server/application/rule/create/schemas/create_rule_data_schema.ts b/x-pack/plugins/alerting/server/application/rule/create/schemas/create_rule_data_schema.ts new file mode 100644 index 0000000000000..da19c3fdde7d7 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/schemas/create_rule_data_schema.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { validateDuration } from '../../../../../common/routes/rule/validation'; +import { notifyWhenSchema, actionAlertsFilterSchema } from '../../schemas'; + +export const createRuleDataSchema = schema.object({ + name: schema.string(), + alertTypeId: schema.string(), + enabled: schema.boolean({ defaultValue: true }), + consumer: schema.string(), + tags: schema.arrayOf(schema.string(), { defaultValue: [] }), + throttle: schema.maybe(schema.nullable(schema.string({ validate: validateDuration }))), + params: schema.recordOf(schema.string(), schema.maybe(schema.any()), { defaultValue: {} }), + schedule: schema.object({ + interval: schema.string({ validate: validateDuration }), + }), + actions: schema.arrayOf( + schema.object({ + group: schema.string(), + id: schema.string(), + actionTypeId: schema.maybe(schema.string()), + params: schema.recordOf(schema.string(), schema.maybe(schema.any()), { defaultValue: {} }), + frequency: schema.maybe( + schema.object({ + summary: schema.boolean(), + notifyWhen: notifyWhenSchema, + throttle: schema.nullable(schema.string({ validate: validateDuration })), + }) + ), + uuid: schema.maybe(schema.string()), + alertsFilter: schema.maybe(actionAlertsFilterSchema), + }), + { defaultValue: [] } + ), + notifyWhen: schema.maybe(schema.nullable(notifyWhenSchema)), +}); diff --git a/x-pack/plugins/alerting/server/application/rule/create/schemas/index.ts b/x-pack/plugins/alerting/server/application/rule/create/schemas/index.ts new file mode 100644 index 0000000000000..3c9154dcac7f2 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/schemas/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { createRuleDataSchema } from './create_rule_data_schema'; diff --git a/x-pack/plugins/alerting/server/application/rule/create/types/create_rule_data.ts b/x-pack/plugins/alerting/server/application/rule/create/types/create_rule_data.ts new file mode 100644 index 0000000000000..d1caf4b47260a --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/types/create_rule_data.ts @@ -0,0 +1,25 @@ +/* + * 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 { TypeOf } from '@kbn/config-schema'; +import { createRuleDataSchema } from '../schemas'; +import { RuleParams } from '../../types'; + +type CreateRuleDataType = TypeOf; + +export interface CreateRuleData { + name: CreateRuleDataType['name']; + alertTypeId: CreateRuleDataType['alertTypeId']; + enabled: CreateRuleDataType['enabled']; + consumer: CreateRuleDataType['consumer']; + tags: CreateRuleDataType['tags']; + throttle?: CreateRuleDataType['throttle']; + params: Params; + schedule: CreateRuleDataType['schedule']; + actions: CreateRuleDataType['actions']; + notifyWhen?: CreateRuleDataType['notifyWhen']; +} diff --git a/x-pack/plugins/alerting/server/application/rule/create/types/index.ts b/x-pack/plugins/alerting/server/application/rule/create/types/index.ts new file mode 100644 index 0000000000000..c629305f65e04 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/create/types/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export type { CreateRuleData } from './create_rule_data'; diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts b/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts new file mode 100644 index 0000000000000..f123466eca1ab --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts @@ -0,0 +1,92 @@ +/* + * 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 { schema } from '@kbn/config-schema'; +import { notifyWhenSchema } from './notify_when_schema'; + +export const actionParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); + +const actionAlertsFilterQueryFiltersSchema = schema.arrayOf( + schema.object({ + query: schema.maybe(schema.recordOf(schema.string(), schema.any())), + meta: schema.recordOf(schema.string(), schema.any()), + state$: schema.maybe(schema.object({ store: schema.string() })), + }) +); + +const actionDomainAlertsFilterQuerySchema = schema.object({ + kql: schema.string(), + filters: actionAlertsFilterQueryFiltersSchema, + dsl: schema.maybe(schema.string()), +}); + +const actionAlertsFilterTimeFrameSchema = schema.object({ + days: schema.arrayOf( + schema.oneOf([ + schema.literal(1), + schema.literal(2), + schema.literal(3), + schema.literal(4), + schema.literal(5), + schema.literal(6), + schema.literal(7), + ]) + ), + hours: schema.object({ + start: schema.string(), + end: schema.string(), + }), + timezone: schema.string(), +}); + +const actionDomainAlertsFilterSchema = schema.object({ + query: schema.maybe(actionDomainAlertsFilterQuerySchema), + timeframe: schema.maybe(actionAlertsFilterTimeFrameSchema), +}); + +const actionFrequencySchema = schema.object({ + summary: schema.boolean(), + notifyWhen: notifyWhenSchema, + throttle: schema.nullable(schema.string()), +}); + +/** + * Unsanitized (domain) action schema, used by internal rules clients + */ +export const actionDomainSchema = schema.object({ + uuid: schema.maybe(schema.string()), + group: schema.string(), + id: schema.string(), + actionTypeId: schema.string(), + params: actionParamsSchema, + frequency: schema.maybe(actionFrequencySchema), + alertsFilter: schema.maybe(actionDomainAlertsFilterSchema), +}); + +/** + * Sanitized (non-domain) action schema, returned by rules clients for other solutions + */ +const actionAlertsFilterQuerySchema = schema.object({ + kql: schema.string(), + filters: actionAlertsFilterQueryFiltersSchema, + dsl: schema.maybe(schema.string()), +}); + +export const actionAlertsFilterSchema = schema.object({ + query: schema.maybe(actionAlertsFilterQuerySchema), + timeframe: schema.maybe(actionAlertsFilterTimeFrameSchema), +}); + +export const actionSchema = schema.object({ + uuid: schema.maybe(schema.string()), + group: schema.string(), + id: schema.string(), + actionTypeId: schema.string(), + params: actionParamsSchema, + frequency: schema.maybe(actionFrequencySchema), + alertsFilter: schema.maybe(actionAlertsFilterSchema), +}); diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts b/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts new file mode 100644 index 0000000000000..98c2d9e8aa1fb --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import moment from 'moment'; +import { schema } from '@kbn/config-schema'; + +const validateDate = (string: Date) => { + if (moment(string).isValid()) { + return; + } + return `string is not a valid date: ${string}`; +}; + +export const dateSchema = schema.any({ validate: validateDate }); diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/index.ts b/x-pack/plugins/alerting/server/application/rule/schemas/index.ts new file mode 100644 index 0000000000000..5b366be10f817 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/schemas/index.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { + ruleParamsSchema, + rRuleSchema, + snoozeScheduleSchema, + ruleExecutionStatusSchema, + ruleLastRunSchema, + monitoringSchema, + ruleSchema, + ruleDomainSchema, +} from './rule_schemas'; + +export { + actionParamsSchema, + actionDomainSchema, + actionSchema, + actionAlertsFilterSchema, +} from './action_schemas'; + +export { notifyWhenSchema } from './notify_when_schema'; diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts b/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts new file mode 100644 index 0000000000000..99b2aceefd79e --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { ruleNotifyWhen } from '../constants'; + +export const notifyWhenSchema = schema.oneOf([ + schema.literal(ruleNotifyWhen.CHANGE), + schema.literal(ruleNotifyWhen.ACTIVE), + schema.literal(ruleNotifyWhen.THROTTLE), +]); diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts b/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts new file mode 100644 index 0000000000000..8c6312ce42bed --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts @@ -0,0 +1,244 @@ +/* + * 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 { schema } from '@kbn/config-schema'; +import { + ruleLastRunOutcomeValues, + ruleExecutionStatusValues, + ruleExecutionStatusErrorReason, + ruleExecutionStatusWarningReason, +} from '../constants'; +import { dateSchema } from './date_schema'; +import { notifyWhenSchema } from './notify_when_schema'; +import { actionDomainSchema, actionSchema } from './action_schemas'; + +export const ruleParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); +export const mappedParamsSchema = schema.recordOf(schema.string(), schema.maybe(schema.any())); + +export const intervalScheduleSchema = schema.object({ + interval: schema.string(), +}); + +export const ruleExecutionStatusSchema = schema.object({ + status: schema.oneOf([ + schema.literal(ruleExecutionStatusValues.OK), + schema.literal(ruleExecutionStatusValues.ACTIVE), + schema.literal(ruleExecutionStatusValues.ERROR), + schema.literal(ruleExecutionStatusValues.WARNING), + schema.literal(ruleExecutionStatusValues.PENDING), + schema.literal(ruleExecutionStatusValues.UNKNOWN), + ]), + lastExecutionDate: dateSchema, + lastDuration: schema.maybe(schema.number()), + error: schema.maybe( + schema.object({ + reason: schema.oneOf([ + schema.literal(ruleExecutionStatusErrorReason.READ), + schema.literal(ruleExecutionStatusErrorReason.DECRYPT), + schema.literal(ruleExecutionStatusErrorReason.EXECUTE), + schema.literal(ruleExecutionStatusErrorReason.UNKNOWN), + schema.literal(ruleExecutionStatusErrorReason.LICENSE), + schema.literal(ruleExecutionStatusErrorReason.TIMEOUT), + schema.literal(ruleExecutionStatusErrorReason.DISABLED), + schema.literal(ruleExecutionStatusErrorReason.VALIDATE), + ]), + message: schema.string(), + }) + ), + warning: schema.maybe( + schema.object({ + reason: schema.oneOf([ + schema.literal(ruleExecutionStatusWarningReason.MAX_EXECUTABLE_ACTIONS), + schema.literal(ruleExecutionStatusWarningReason.MAX_ALERTS), + ]), + message: schema.string(), + }) + ), +}); + +export const ruleLastRunSchema = schema.object({ + outcome: schema.oneOf([ + schema.literal(ruleLastRunOutcomeValues.SUCCEEDED), + schema.literal(ruleLastRunOutcomeValues.WARNING), + schema.literal(ruleLastRunOutcomeValues.FAILED), + ]), + outcomeOrder: schema.maybe(schema.number()), + warning: schema.maybe( + schema.nullable( + schema.oneOf([ + schema.literal(ruleExecutionStatusErrorReason.READ), + schema.literal(ruleExecutionStatusErrorReason.DECRYPT), + schema.literal(ruleExecutionStatusErrorReason.EXECUTE), + schema.literal(ruleExecutionStatusErrorReason.UNKNOWN), + schema.literal(ruleExecutionStatusErrorReason.LICENSE), + schema.literal(ruleExecutionStatusErrorReason.TIMEOUT), + schema.literal(ruleExecutionStatusErrorReason.DISABLED), + schema.literal(ruleExecutionStatusErrorReason.VALIDATE), + schema.literal(ruleExecutionStatusWarningReason.MAX_EXECUTABLE_ACTIONS), + schema.literal(ruleExecutionStatusWarningReason.MAX_ALERTS), + ]) + ) + ), + outcomeMsg: schema.maybe(schema.nullable(schema.arrayOf(schema.string()))), + alertsCount: schema.object({ + active: schema.maybe(schema.nullable(schema.number())), + new: schema.maybe(schema.nullable(schema.number())), + recovered: schema.maybe(schema.nullable(schema.number())), + ignored: schema.maybe(schema.nullable(schema.number())), + }), +}); + +export const monitoringSchema = schema.object({ + run: schema.object({ + history: schema.arrayOf( + schema.object({ + success: schema.boolean(), + timestamp: schema.number(), + duration: schema.maybe(schema.number()), + outcome: schema.maybe(ruleLastRunSchema), + }) + ), + calculated_metrics: schema.object({ + p50: schema.maybe(schema.number()), + p95: schema.maybe(schema.number()), + p99: schema.maybe(schema.number()), + success_ratio: schema.number(), + }), + last_run: schema.object({ + timestamp: schema.string(), + metrics: schema.object({ + duration: schema.maybe(schema.number()), + total_search_duration_ms: schema.maybe(schema.nullable(schema.number())), + total_indexing_duration_ms: schema.maybe(schema.nullable(schema.number())), + total_alerts_detected: schema.maybe(schema.nullable(schema.number())), + total_alerts_created: schema.maybe(schema.nullable(schema.number())), + gap_duration_s: schema.maybe(schema.nullable(schema.number())), + }), + }), + }), +}); + +export const rRuleSchema = schema.object({ + dtstart: schema.string(), + tzid: schema.string(), + freq: schema.maybe( + schema.oneOf([ + schema.literal(0), + schema.literal(1), + schema.literal(2), + schema.literal(3), + schema.literal(4), + schema.literal(5), + schema.literal(6), + ]) + ), + until: schema.maybe(schema.string()), + count: schema.maybe(schema.number()), + interval: schema.maybe(schema.number()), + wkst: schema.maybe( + schema.oneOf([ + schema.literal('MO'), + schema.literal('TU'), + schema.literal('WE'), + schema.literal('TH'), + schema.literal('FR'), + schema.literal('SA'), + schema.literal('SU'), + ]) + ), + byweekday: schema.maybe(schema.arrayOf(schema.oneOf([schema.string(), schema.number()]))), + bymonth: schema.maybe(schema.arrayOf(schema.number())), + bysetpos: schema.maybe(schema.arrayOf(schema.number())), + bymonthday: schema.arrayOf(schema.number()), + byyearday: schema.arrayOf(schema.number()), + byweekno: schema.arrayOf(schema.number()), + byhour: schema.arrayOf(schema.number()), + byminute: schema.arrayOf(schema.number()), + bysecond: schema.arrayOf(schema.number()), +}); + +export const snoozeScheduleSchema = schema.object({ + duration: schema.number(), + rRule: rRuleSchema, + id: schema.maybe(schema.string()), + skipRecurrences: schema.maybe(schema.arrayOf(schema.string())), +}); + +/** + * Unsanitized (domain) rule schema, used by internal rules clients + */ +export const ruleDomainSchema = schema.object({ + id: schema.string(), + enabled: schema.boolean(), + name: schema.string(), + tags: schema.arrayOf(schema.string()), + alertTypeId: schema.string(), + consumer: schema.string(), + schedule: intervalScheduleSchema, + actions: schema.arrayOf(actionDomainSchema), + params: ruleParamsSchema, + mapped_params: schema.maybe(mappedParamsSchema), + scheduledTaskId: schema.maybe(schema.string()), + createdBy: schema.nullable(schema.string()), + updatedBy: schema.nullable(schema.string()), + createdAt: dateSchema, + updatedAt: dateSchema, + apiKey: schema.nullable(schema.string()), + apiKeyOwner: schema.nullable(schema.string()), + apiKeyCreatedByUser: schema.maybe(schema.nullable(schema.boolean())), + throttle: schema.maybe(schema.nullable(schema.string())), + muteAll: schema.boolean(), + notifyWhen: schema.maybe(schema.nullable(notifyWhenSchema)), + mutedInstanceIds: schema.arrayOf(schema.string()), + executionStatus: ruleExecutionStatusSchema, + monitoring: schema.maybe(monitoringSchema), + snoozeSchedule: schema.maybe(schema.arrayOf(snoozeScheduleSchema)), + activeSnoozes: schema.maybe(schema.arrayOf(schema.string())), + isSnoozedUntil: schema.maybe(schema.nullable(dateSchema)), + lastRun: schema.maybe(schema.nullable(ruleLastRunSchema)), + nextRun: schema.maybe(schema.nullable(dateSchema)), + revision: schema.number(), + running: schema.maybe(schema.nullable(schema.boolean())), + viewInAppRelativeUrl: schema.maybe(schema.nullable(schema.string())), +}); + +/** + * Sanitized (non-domain) rule schema, returned by rules clients for other solutions + */ +export const ruleSchema = schema.object({ + id: schema.string(), + enabled: schema.boolean(), + name: schema.string(), + tags: schema.arrayOf(schema.string()), + alertTypeId: schema.string(), + consumer: schema.string(), + schedule: intervalScheduleSchema, + actions: schema.arrayOf(actionSchema), + params: ruleParamsSchema, + mapped_params: schema.maybe(mappedParamsSchema), + scheduledTaskId: schema.maybe(schema.string()), + createdBy: schema.nullable(schema.string()), + updatedBy: schema.nullable(schema.string()), + createdAt: dateSchema, + updatedAt: dateSchema, + apiKeyOwner: schema.nullable(schema.string()), + apiKeyCreatedByUser: schema.maybe(schema.nullable(schema.boolean())), + throttle: schema.maybe(schema.nullable(schema.string())), + muteAll: schema.boolean(), + notifyWhen: schema.maybe(schema.nullable(notifyWhenSchema)), + mutedInstanceIds: schema.arrayOf(schema.string()), + executionStatus: ruleExecutionStatusSchema, + monitoring: schema.maybe(monitoringSchema), + snoozeSchedule: schema.maybe(schema.arrayOf(snoozeScheduleSchema)), + activeSnoozes: schema.maybe(schema.arrayOf(schema.string())), + isSnoozedUntil: schema.maybe(schema.nullable(dateSchema)), + lastRun: schema.maybe(schema.nullable(ruleLastRunSchema)), + nextRun: schema.maybe(schema.nullable(dateSchema)), + revision: schema.number(), + running: schema.maybe(schema.nullable(schema.boolean())), + viewInAppRelativeUrl: schema.maybe(schema.nullable(schema.string())), +}); diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/index.ts b/x-pack/plugins/alerting/server/application/rule/transforms/index.ts new file mode 100644 index 0000000000000..69f2e1dc36844 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/transforms/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { transformRuleAttributesToRuleDomain } from './transform_rule_attributes_to_rule_domain'; +export { transformRuleDomainToRuleAttributes } from './transform_rule_domain_to_rule_attributes'; +export { transformRuleDomainToRule } from './transform_rule_domain_to_rule'; diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts new file mode 100644 index 0000000000000..26831b9dff81c --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts @@ -0,0 +1,238 @@ +/* + * 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 { omit, isEmpty } from 'lodash'; +import { Logger } from '@kbn/core/server'; +import { SavedObjectReference } from '@kbn/core/server'; +import { ruleExecutionStatusValues } from '../constants'; +import { getRuleSnoozeEndTime } from '../../../lib'; +import { RuleDomain, Monitoring, RuleParams } from '../types'; +import { RuleAttributes } from '../../../data/rule/types'; +import { RawRule, PartialRule } from '../../../types'; +import { UntypedNormalizedRuleType } from '../../../rule_type_registry'; +import { + injectReferencesIntoActions, + injectReferencesIntoParams, +} from '../../../rules_client/common'; +import { getActiveScheduledSnoozes } from '../../../lib/is_rule_snoozed'; + +const INITIAL_LAST_RUN_METRICS = { + duration: 0, + total_search_duration_ms: null, + total_indexing_duration_ms: null, + total_alerts_detected: null, + total_alerts_created: null, + gap_duration_s: null, +}; + +const transformEsExecutionStatus = ( + logger: Logger, + ruleId: string, + esRuleExecutionStatus: RuleAttributes['executionStatus'] +): RuleDomain['executionStatus'] => { + const { + lastExecutionDate, + lastDuration, + status = ruleExecutionStatusValues.UNKNOWN, + error, + warning, + } = esRuleExecutionStatus; + + let parsedDateMillis = lastExecutionDate ? Date.parse(lastExecutionDate) : Date.now(); + if (isNaN(parsedDateMillis)) { + logger.debug( + `invalid ruleExecutionStatus lastExecutionDate "${lastExecutionDate}" in raw rule ${ruleId}` + ); + parsedDateMillis = Date.now(); + } + return { + status, + lastExecutionDate: new Date(parsedDateMillis), + ...(lastDuration != null ? { lastDuration } : {}), + ...(error ? { error } : {}), + ...(warning ? { warning } : {}), + }; +}; + +export const updateMonitoring = ({ + monitoring, + timestamp, + duration, +}: { + monitoring: Monitoring; + timestamp: string; + duration?: number; +}): Monitoring => { + const { run, ...restMonitoring } = monitoring; + const { last_run: lastRun, ...restRun } = run; + const { metrics = INITIAL_LAST_RUN_METRICS } = lastRun; + + return { + ...restMonitoring, + run: { + ...restRun, + last_run: { + timestamp, + metrics: { + ...metrics, + duration, + }, + }, + }, + }; +}; + +const transformEsMonitoring = ( + logger: Logger, + ruleId: string, + monitoring?: RuleAttributes['monitoring'] +): Monitoring | undefined => { + if (!monitoring) { + return undefined; + } + + const lastRunDate = monitoring.run.last_run.timestamp; + + let parsedDateMillis = lastRunDate ? Date.parse(lastRunDate) : Date.now(); + if (isNaN(parsedDateMillis)) { + logger.debug(`invalid monitoring last_run.timestamp "${lastRunDate}" in raw rule ${ruleId}`); + parsedDateMillis = Date.now(); + } + + return updateMonitoring({ + monitoring, + timestamp: new Date(parsedDateMillis).toISOString(), + duration: monitoring.run.last_run.metrics.duration, + }); +}; + +interface TransformEsToRuleParams { + id: RuleDomain['id']; + logger: Logger; + ruleType: UntypedNormalizedRuleType; + references?: SavedObjectReference[]; + includeSnoozeData?: boolean; + omitGeneratedValues?: boolean; +} + +export const transformRuleAttributesToRuleDomain = ( + esRule: RuleAttributes, + transformParams: TransformEsToRuleParams +): RuleDomain => { + const { scheduledTaskId, executionStatus, monitoring, snoozeSchedule, lastRun } = esRule; + + const { + id, + logger, + ruleType, + references, + includeSnoozeData = false, + omitGeneratedValues = true, + } = transformParams; + + const snoozeScheduleDates = snoozeSchedule?.map((s) => ({ + ...s, + rRule: { + ...s.rRule, + dtstart: new Date(s.rRule.dtstart).toISOString(), + ...(s.rRule.until ? { until: new Date(s.rRule.until).toISOString() } : {}), + }, + })); + const includeSnoozeSchedule = snoozeSchedule !== undefined && !isEmpty(snoozeSchedule); + const isSnoozedUntil = includeSnoozeSchedule + ? getRuleSnoozeEndTime({ + muteAll: esRule.muteAll ?? false, + snoozeSchedule, + })?.toISOString() + : null; + + let actions = esRule.actions + ? injectReferencesIntoActions(id, esRule.actions as RawRule['actions'], references || []) + : []; + + if (omitGeneratedValues) { + actions = actions.map((ruleAction) => omit(ruleAction, 'alertsFilter.query.dsl')); + } + + const params = injectReferencesIntoParams( + id, + ruleType, + esRule.params, + references || [] + ); + + const activeSnoozes = getActiveScheduledSnoozes({ + snoozeSchedule, + muteAll: esRule.muteAll ?? false, + })?.map((s) => s.id); + + const rule = { + id, + enabled: esRule.enabled, + name: esRule.name, + tags: esRule.tags, + alertTypeId: esRule.alertTypeId, + consumer: esRule.consumer, + schedule: esRule.schedule, + actions: actions as RuleDomain['actions'], + params, + mapped_params: esRule.mapped_params, + ...(scheduledTaskId ? { scheduledTaskId } : {}), + createdBy: esRule.createdBy, + updatedBy: esRule.updatedBy, + createdAt: new Date(esRule.createdAt), + updatedAt: new Date(esRule.updatedAt), + apiKey: esRule.apiKey, + apiKeyOwner: esRule.apiKeyOwner, + apiKeyCreatedByUser: esRule.apiKeyCreatedByUser, + throttle: esRule.throttle, + muteAll: esRule.muteAll, + notifyWhen: esRule.notifyWhen, + mutedInstanceIds: esRule.mutedInstanceIds, + executionStatus: transformEsExecutionStatus(logger, id, executionStatus), + ...(monitoring ? { monitoring: transformEsMonitoring(logger, id, monitoring) } : {}), + snoozeSchedule: snoozeScheduleDates ?? [], + ...(includeSnoozeData + ? { + activeSnoozes, + ...(isSnoozedUntil !== undefined + ? { isSnoozedUntil: isSnoozedUntil ? new Date(isSnoozedUntil) : null } + : {}), + } + : {}), + ...(lastRun + ? { + lastRun: { + ...lastRun, + ...(lastRun.outcomeMsg && !Array.isArray(lastRun.outcomeMsg) + ? { outcomeMsg: lastRun.outcomeMsg ? [lastRun.outcomeMsg] : null } + : { outcomeMsg: lastRun.outcomeMsg }), + }, + } + : {}), + ...(esRule.nextRun ? { nextRun: new Date(esRule.nextRun) } : {}), + revision: esRule.revision, + running: esRule.running, + }; + + // Bad casts, but will fix once we fix all rule types + const viewInAppRelativeUrl = + ruleType.getViewInAppRelativeUrl && + ruleType.getViewInAppRelativeUrl({ rule: rule as unknown as PartialRule }); + if (viewInAppRelativeUrl) { + (rule as unknown as PartialRule).viewInAppRelativeUrl = viewInAppRelativeUrl; + } + + // Remove all undefined keys to clean up the object + type RuleKeys = keyof Omit; + for (const key in rule) { + if (rule[key as RuleKeys] === undefined) { + delete rule[key as RuleKeys]; + } + } + + return rule; +}; diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts new file mode 100644 index 0000000000000..1182f71318900 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts @@ -0,0 +1,70 @@ +/* + * 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 { RuleDomain, Rule, RuleParams } from '../types'; + +interface TransformRuleDomainToRuleOptions { + isPublic?: boolean; +} + +export const transformRuleDomainToRule = ( + ruleDomain: RuleDomain, + options?: TransformRuleDomainToRuleOptions +): Rule => { + const { isPublic = false } = options || {}; + + const rule: Rule = { + id: ruleDomain.id, + enabled: ruleDomain.enabled, + name: ruleDomain.name, + tags: ruleDomain.tags, + alertTypeId: ruleDomain.alertTypeId, + consumer: ruleDomain.consumer, + schedule: ruleDomain.schedule, + actions: ruleDomain.actions, + params: ruleDomain.params, + mapped_params: ruleDomain.mapped_params, + scheduledTaskId: ruleDomain.scheduledTaskId, + createdBy: ruleDomain.createdBy, + updatedBy: ruleDomain.updatedBy, + createdAt: ruleDomain.createdAt, + updatedAt: ruleDomain.updatedAt, + apiKeyOwner: ruleDomain.apiKeyOwner, + apiKeyCreatedByUser: ruleDomain.apiKeyCreatedByUser, + throttle: ruleDomain.throttle, + muteAll: ruleDomain.muteAll, + notifyWhen: ruleDomain.notifyWhen, + mutedInstanceIds: ruleDomain.mutedInstanceIds, + executionStatus: ruleDomain.executionStatus, + monitoring: ruleDomain.monitoring, + snoozeSchedule: ruleDomain.snoozeSchedule, + activeSnoozes: ruleDomain.activeSnoozes, + isSnoozedUntil: ruleDomain.isSnoozedUntil, + lastRun: ruleDomain.lastRun, + nextRun: ruleDomain.nextRun, + revision: ruleDomain.revision, + running: ruleDomain.running, + viewInAppRelativeUrl: ruleDomain.viewInAppRelativeUrl, + }; + + if (isPublic) { + delete rule.snoozeSchedule; + delete rule.activeSnoozes; + delete rule.isSnoozedUntil; + delete rule.monitoring; + delete rule.viewInAppRelativeUrl; + } + + // Remove all undefined keys to clean up the object + type RuleKeys = keyof Rule; + for (const key in rule) { + if (rule[key as RuleKeys] === undefined) { + delete rule[key as RuleKeys]; + } + } + return rule; +}; diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts new file mode 100644 index 0000000000000..20eef8f851e08 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { RuleDomain } from '../types'; +import { RuleAttributes } from '../../../data/rule/types'; +import { getMappedParams } from '../../../rules_client/common'; + +interface TransformRuleToEsParams { + legacyId: RuleAttributes['legacyId']; + actionsWithRefs: RuleAttributes['actions']; + paramsWithRefs: RuleAttributes['params']; + meta?: RuleAttributes['meta']; +} + +export const transformRuleDomainToRuleAttributes = ( + rule: Omit, + params: TransformRuleToEsParams +): RuleAttributes => { + const { legacyId, actionsWithRefs, paramsWithRefs, meta } = params; + const mappedParams = getMappedParams(paramsWithRefs); + + return { + name: rule.name, + tags: rule.tags, + enabled: rule.enabled, + alertTypeId: rule.alertTypeId, + consumer: rule.consumer, + legacyId, + schedule: rule.schedule, + actions: actionsWithRefs, + params: paramsWithRefs, + ...(Object.keys(mappedParams).length ? { mapped_params: mappedParams } : {}), + ...(rule.scheduledTaskId !== undefined ? { scheduledTaskId: rule.scheduledTaskId } : {}), + createdBy: rule.createdBy, + updatedBy: rule.updatedBy, + createdAt: rule.createdAt.toISOString(), + updatedAt: rule.updatedAt.toISOString(), + apiKey: rule.apiKey, + apiKeyOwner: rule.apiKeyOwner, + ...(rule.apiKeyCreatedByUser !== undefined + ? { apiKeyCreatedByUser: rule.apiKeyCreatedByUser } + : {}), + ...(rule.throttle !== undefined ? { throttle: rule.throttle } : {}), + ...(rule.notifyWhen !== undefined ? { notifyWhen: rule.notifyWhen } : {}), + muteAll: rule.muteAll, + mutedInstanceIds: rule.mutedInstanceIds, + ...(meta ? { meta } : {}), + executionStatus: { + status: rule.executionStatus.status, + lastExecutionDate: rule.executionStatus.lastExecutionDate.toISOString(), + ...(rule.executionStatus.lastDuration + ? { lastDuration: rule.executionStatus.lastDuration } + : {}), + ...(rule.executionStatus.error !== undefined ? { error: rule.executionStatus.error } : {}), + ...(rule.executionStatus.warning !== undefined + ? { warning: rule.executionStatus.warning } + : {}), + }, + ...(rule.monitoring ? { monitoring: rule.monitoring } : {}), + ...(rule.snoozeSchedule ? { snoozeSchedule: rule.snoozeSchedule } : {}), + ...(rule.isSnoozedUntil !== undefined + ? { isSnoozedUntil: rule.isSnoozedUntil?.toISOString() || null } + : {}), + ...(rule.lastRun !== undefined ? { lastRun: rule.lastRun } : {}), + ...(rule.nextRun !== undefined ? { nextRun: rule.nextRun?.toISOString() || null } : {}), + revision: rule.revision, + ...(rule.running !== undefined ? { running: rule.running } : {}), + }; +}; diff --git a/x-pack/plugins/alerting/server/application/rule/types/index.ts b/x-pack/plugins/alerting/server/application/rule/types/index.ts new file mode 100644 index 0000000000000..f27a0ad9f2813 --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/types/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export type { Rule, RuleDomain, RuleLastRun, Monitoring, RuleParams, RuleNotifyWhen } from './rule'; diff --git a/x-pack/plugins/alerting/server/application/rule/types/rule.ts b/x-pack/plugins/alerting/server/application/rule/types/rule.ts new file mode 100644 index 0000000000000..fe81ed156e9bf --- /dev/null +++ b/x-pack/plugins/alerting/server/application/rule/types/rule.ts @@ -0,0 +1,123 @@ +/* + * 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 { TypeOf } from '@kbn/config-schema'; +import { + ruleNotifyWhen, + ruleLastRunOutcomeValues, + ruleExecutionStatusValues, + ruleExecutionStatusErrorReason, + ruleExecutionStatusWarningReason, +} from '../constants'; +import { + ruleParamsSchema, + rRuleSchema, + snoozeScheduleSchema, + ruleExecutionStatusSchema, + ruleLastRunSchema, + monitoringSchema, + actionSchema, + ruleSchema, + ruleDomainSchema, +} from '../schemas'; + +export type RuleNotifyWhen = typeof ruleNotifyWhen[keyof typeof ruleNotifyWhen]; +export type RuleLastRunOutcomeValues = + typeof ruleLastRunOutcomeValues[keyof typeof ruleLastRunOutcomeValues]; +export type RuleExecutionStatusValues = + typeof ruleExecutionStatusValues[keyof typeof ruleExecutionStatusValues]; +export type RuleExecutionStatusErrorReason = + typeof ruleExecutionStatusErrorReason[keyof typeof ruleExecutionStatusErrorReason]; +export type RuleExecutionStatusWarningReason = + typeof ruleExecutionStatusWarningReason[keyof typeof ruleExecutionStatusWarningReason]; + +export type RuleParams = TypeOf; +export type RRule = TypeOf; +export type SnoozeSchedule = TypeOf; +export type RuleLastRun = TypeOf; +export type Monitoring = TypeOf; +export type Action = TypeOf; +type RuleSchemaType = TypeOf; +type RuleDomainSchemaType = TypeOf; + +type RuleExecutionStatusWithDateString = TypeOf; +export interface RuleExecutionStatus { + status: RuleExecutionStatusWithDateString['status']; + lastExecutionDate: Date; + lastDuration?: RuleExecutionStatusWithDateString['lastDuration']; + error?: RuleExecutionStatusWithDateString['error']; + warning?: RuleExecutionStatusWithDateString['warning']; +} + +export interface Rule { + id: RuleSchemaType['id']; + enabled: RuleSchemaType['enabled']; + name: RuleSchemaType['name']; + tags: RuleSchemaType['tags']; + alertTypeId: RuleSchemaType['alertTypeId']; + consumer: RuleSchemaType['consumer']; + schedule: RuleSchemaType['schedule']; + actions: RuleSchemaType['actions']; + params: Params; + mapped_params?: RuleSchemaType['mapped_params']; + scheduledTaskId?: RuleSchemaType['scheduledTaskId']; + createdBy: RuleSchemaType['createdBy']; + updatedBy: RuleSchemaType['updatedBy']; + createdAt: Date; + updatedAt: Date; + apiKeyOwner: RuleSchemaType['apiKeyOwner']; + apiKeyCreatedByUser?: RuleSchemaType['apiKeyCreatedByUser']; + throttle?: RuleSchemaType['throttle']; + muteAll: RuleSchemaType['muteAll']; + notifyWhen?: RuleSchemaType['notifyWhen']; + mutedInstanceIds: RuleSchemaType['mutedInstanceIds']; + executionStatus: RuleExecutionStatus; + monitoring?: RuleSchemaType['monitoring']; + snoozeSchedule?: RuleSchemaType['snoozeSchedule']; + activeSnoozes?: RuleSchemaType['activeSnoozes']; + isSnoozedUntil?: Date | null; + lastRun?: RuleSchemaType['lastRun']; + nextRun?: Date | null; + revision: RuleSchemaType['revision']; + running?: RuleSchemaType['running']; + viewInAppRelativeUrl?: RuleSchemaType['viewInAppRelativeUrl']; +} + +export interface RuleDomain { + id: RuleDomainSchemaType['id']; + enabled: RuleDomainSchemaType['enabled']; + name: RuleDomainSchemaType['name']; + tags: RuleDomainSchemaType['tags']; + alertTypeId: RuleDomainSchemaType['alertTypeId']; + consumer: RuleDomainSchemaType['consumer']; + schedule: RuleDomainSchemaType['schedule']; + actions: RuleDomainSchemaType['actions']; + params: Params; + mapped_params?: RuleDomainSchemaType['mapped_params']; + scheduledTaskId?: RuleDomainSchemaType['scheduledTaskId']; + createdBy: RuleDomainSchemaType['createdBy']; + updatedBy: RuleDomainSchemaType['updatedBy']; + createdAt: Date; + updatedAt: Date; + apiKey: RuleDomainSchemaType['apiKey']; + apiKeyOwner: RuleDomainSchemaType['apiKeyOwner']; + apiKeyCreatedByUser?: RuleDomainSchemaType['apiKeyCreatedByUser']; + throttle?: RuleDomainSchemaType['throttle']; + muteAll: RuleDomainSchemaType['muteAll']; + notifyWhen?: RuleDomainSchemaType['notifyWhen']; + mutedInstanceIds: RuleDomainSchemaType['mutedInstanceIds']; + executionStatus: RuleExecutionStatus; + monitoring?: RuleDomainSchemaType['monitoring']; + snoozeSchedule?: RuleDomainSchemaType['snoozeSchedule']; + activeSnoozes?: RuleDomainSchemaType['activeSnoozes']; + isSnoozedUntil?: Date | null; + lastRun?: RuleDomainSchemaType['lastRun']; + nextRun?: Date | null; + revision: RuleDomainSchemaType['revision']; + running?: RuleDomainSchemaType['running']; + viewInAppRelativeUrl?: RuleDomainSchemaType['viewInAppRelativeUrl']; +} diff --git a/x-pack/plugins/alerting/server/data/rule/constants.ts b/x-pack/plugins/alerting/server/data/rule/constants.ts new file mode 100644 index 0000000000000..63d238a81574e --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/constants.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const ruleNotifyWhenAttributes = { + CHANGE: 'onActionGroupChange', + ACTIVE: 'onActiveAlert', + THROTTLE: 'onThrottleInterval', +} as const; + +export const ruleLastRunOutcomeValuesAttributes = { + SUCCEEDED: 'succeeded', + WARNING: 'warning', + FAILED: 'failed', +} as const; + +export const ruleExecutionStatusValuesAttributes = { + OK: 'ok', + ACTIVE: 'active', + ERROR: 'error', + WARNING: 'warning', + PENDING: 'pending', + UNKNOWN: 'unknown', +} as const; + +export const ruleExecutionStatusErrorReasonAttributes = { + READ: 'read', + DECRYPT: 'decrypt', + EXECUTE: 'execute', + UNKNOWN: 'unknown', + LICENSE: 'license', + TIMEOUT: 'timeout', + DISABLED: 'disabled', + VALIDATE: 'validate', +} as const; + +export const ruleExecutionStatusWarningReasonAttributes = { + MAX_EXECUTABLE_ACTIONS: 'maxExecutableActions', + MAX_ALERTS: 'maxAlerts', +} as const; diff --git a/x-pack/plugins/alerting/server/data/rule/create_rule_so.ts b/x-pack/plugins/alerting/server/data/rule/create_rule_so.ts new file mode 100644 index 0000000000000..a9670c8a46d25 --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/create_rule_so.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + SavedObjectsClientContract, + SavedObjectsCreateOptions, + SavedObject, +} from '@kbn/core/server'; +import { RuleAttributes } from './types'; + +export interface CreateRuleSoParams { + savedObjectClient: SavedObjectsClientContract; + ruleAttributes: RuleAttributes; + savedObjectCreateOptions?: SavedObjectsCreateOptions; +} + +export const createRuleSo = (params: CreateRuleSoParams): Promise> => { + const { savedObjectClient, ruleAttributes, savedObjectCreateOptions } = params; + + return savedObjectClient.create('alert', ruleAttributes, savedObjectCreateOptions); +}; diff --git a/x-pack/plugins/alerting/server/data/rule/delete_rule_so.ts b/x-pack/plugins/alerting/server/data/rule/delete_rule_so.ts new file mode 100644 index 0000000000000..26af10436ede3 --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/delete_rule_so.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SavedObjectsClientContract, SavedObjectsDeleteOptions } from '@kbn/core/server'; + +export interface DeleteRuleSoParams { + savedObjectClient: SavedObjectsClientContract; + id: string; + savedObjectDeleteOptions?: SavedObjectsDeleteOptions; +} + +export const deleteRuleSo = (params: DeleteRuleSoParams): Promise<{}> => { + const { savedObjectClient, id, savedObjectDeleteOptions } = params; + + return savedObjectClient.delete('alert', id, savedObjectDeleteOptions); +}; diff --git a/x-pack/plugins/alerting/server/data/rule/index.ts b/x-pack/plugins/alerting/server/data/rule/index.ts new file mode 100644 index 0000000000000..295ede18c8f9a --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/index.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { createRuleSo } from './create_rule_so'; +export type { CreateRuleSoParams } from './create_rule_so'; +export { updateRuleSo } from './update_rule_so'; +export type { UpdateRuleSoParams } from './update_rule_so'; +export { deleteRuleSo } from './delete_rule_so'; +export type { DeleteRuleSoParams } from './delete_rule_so'; diff --git a/x-pack/plugins/alerting/server/data/rule/types/index.ts b/x-pack/plugins/alerting/server/data/rule/types/index.ts new file mode 100644 index 0000000000000..eda48efddd60e --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/types/index.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export type { + RuleNotifyWhenAttributes, + RuleLastRunOutcomeValuesAttributes, + RuleExecutionStatusValuesAttributes, + RuleExecutionStatusErrorReasonAttributes, + RuleExecutionStatusWarningReasonAttributes, + RRuleAttributes, + RuleSnoozeScheduleAttributes, + RuleExecutionStatusAttributes, + RuleLastRunAttributes, + RuleMonitoringHistoryAttributes, + RuleMonitoringCalculatedMetricsAttributes, + RuleMonitoringLastRunMetricsAttributes, + RuleMonitoringLastRunAttributes, + RuleMonitoringAttributes, + RuleAttributes, +} from './rule_attributes'; diff --git a/x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts b/x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts new file mode 100644 index 0000000000000..4e2ff63ad8e8c --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/types/rule_attributes.ts @@ -0,0 +1,202 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { SavedObjectAttributes } from '@kbn/core/server'; +import { Filter } from '@kbn/es-query'; +import type { WeekdayStr } from '@kbn/rrule'; +import { IsoWeekday } from '../../../../common'; +import { + ruleNotifyWhenAttributes, + ruleLastRunOutcomeValuesAttributes, + ruleExecutionStatusValuesAttributes, + ruleExecutionStatusErrorReasonAttributes, + ruleExecutionStatusWarningReasonAttributes, +} from '../constants'; + +export type RuleNotifyWhenAttributes = + typeof ruleNotifyWhenAttributes[keyof typeof ruleNotifyWhenAttributes]; +export type RuleLastRunOutcomeValuesAttributes = + typeof ruleLastRunOutcomeValuesAttributes[keyof typeof ruleLastRunOutcomeValuesAttributes]; +export type RuleExecutionStatusValuesAttributes = + typeof ruleExecutionStatusValuesAttributes[keyof typeof ruleExecutionStatusValuesAttributes]; +export type RuleExecutionStatusErrorReasonAttributes = + typeof ruleExecutionStatusErrorReasonAttributes[keyof typeof ruleExecutionStatusErrorReasonAttributes]; +export type RuleExecutionStatusWarningReasonAttributes = + typeof ruleExecutionStatusWarningReasonAttributes[keyof typeof ruleExecutionStatusWarningReasonAttributes]; + +type RRuleFreq = 0 | 1 | 2 | 3 | 4 | 5 | 6; + +export interface RRuleAttributes { + dtstart: string; + tzid: string; + freq?: RRuleFreq; + until?: string; + count?: number; + interval?: number; + wkst?: WeekdayStr; + byweekday?: Array; + bymonth?: number[]; + bysetpos?: number[]; + bymonthday: number[]; + byyearday: number[]; + byweekno: number[]; + byhour: number[]; + byminute: number[]; + bysecond: number[]; +} + +export interface RuleSnoozeScheduleAttributes { + duration: number; + rRule: RRuleAttributes; + id?: string; + skipRecurrences?: string[]; +} + +export interface RuleExecutionStatusAttributes { + status: RuleExecutionStatusValuesAttributes; + lastExecutionDate: string; + lastDuration?: number; + error?: { + reason: RuleExecutionStatusErrorReasonAttributes; + message: string; + } | null; + warning?: { + reason: RuleExecutionStatusWarningReasonAttributes; + message: string; + } | null; +} + +export interface RuleLastRunAttributes { + outcome: RuleLastRunOutcomeValuesAttributes; + outcomeOrder?: number; + warning?: + | RuleExecutionStatusErrorReasonAttributes + | RuleExecutionStatusWarningReasonAttributes + | null; + outcomeMsg?: string[] | null; + alertsCount: { + active?: number | null; + new?: number | null; + recovered?: number | null; + ignored?: number | null; + }; +} + +export interface RuleMonitoringHistoryAttributes { + success: boolean; + timestamp: number; + duration?: number; + outcome?: RuleLastRunAttributes; +} + +export interface RuleMonitoringCalculatedMetricsAttributes { + p50?: number; + p95?: number; + p99?: number; + success_ratio: number; +} + +export interface RuleMonitoringLastRunMetricsAttributes { + duration?: number; + total_search_duration_ms?: number | null; + total_indexing_duration_ms?: number | null; + total_alerts_detected?: number | null; + total_alerts_created?: number | null; + gap_duration_s?: number | null; +} + +export interface RuleMonitoringLastRunAttributes { + timestamp: string; + metrics: RuleMonitoringLastRunMetricsAttributes; +} + +export interface RuleMonitoringAttributes { + run: { + history: RuleMonitoringHistoryAttributes[]; + calculated_metrics: RuleMonitoringCalculatedMetricsAttributes; + last_run: RuleMonitoringLastRunAttributes; + }; +} + +interface IntervaleScheduleAttributes extends SavedObjectAttributes { + interval: string; +} + +interface AlertsFilterTimeFrameAttributes { + days: IsoWeekday[]; + timezone: string; + hours: { + start: string; + end: string; + }; +} + +interface AlertsFilterAttributes { + query?: { + kql: string; + filters: Filter[]; + dsl: string; + }; + timeframe?: AlertsFilterTimeFrameAttributes; +} + +interface RuleActionAttributes { + uuid: string; + group: string; + actionRef: string; + actionTypeId: string; + params: SavedObjectAttributes; + frequency?: { + summary: boolean; + notifyWhen: RuleNotifyWhenAttributes; + throttle: string | null; + }; + alertsFilter?: AlertsFilterAttributes; +} + +type MappedParamsAttributes = SavedObjectAttributes & { + risk_score?: number; + severity?: string; +}; + +interface RuleMetaAttributes { + versionApiKeyLastmodified?: string; +} + +export interface RuleAttributes { + name: string; + tags: string[]; + enabled: boolean; + alertTypeId: string; + consumer: string; + legacyId: string | null; + schedule: IntervaleScheduleAttributes; + actions: RuleActionAttributes[]; + params: SavedObjectAttributes; + mapped_params?: MappedParamsAttributes; + scheduledTaskId?: string | null; + createdBy: string | null; + updatedBy: string | null; + createdAt: string; + updatedAt: string; + apiKey: string | null; + apiKeyOwner: string | null; + apiKeyCreatedByUser?: boolean | null; + throttle?: string | null; + notifyWhen?: RuleNotifyWhenAttributes | null; + muteAll: boolean; + mutedInstanceIds: string[]; + meta?: RuleMetaAttributes; + executionStatus: RuleExecutionStatusAttributes; + monitoring?: RuleMonitoringAttributes; + snoozeSchedule?: RuleSnoozeScheduleAttributes[]; + isSnoozedUntil?: string | null; + lastRun?: RuleLastRunAttributes | null; + nextRun?: string | null; + revision: number; + running?: boolean | null; +} diff --git a/x-pack/plugins/alerting/server/data/rule/update_rule_so.ts b/x-pack/plugins/alerting/server/data/rule/update_rule_so.ts new file mode 100644 index 0000000000000..7d68e21412f5b --- /dev/null +++ b/x-pack/plugins/alerting/server/data/rule/update_rule_so.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + SavedObjectsClientContract, + SavedObjectsUpdateOptions, + SavedObjectsUpdateResponse, +} from '@kbn/core/server'; +import { RuleAttributes } from './types'; + +export interface UpdateRuleSoParams { + savedObjectClient: SavedObjectsClientContract; + id: string; + updateRuleAttributes: Partial; + savedObjectUpdateOptions?: SavedObjectsUpdateOptions; +} + +export const updateRuleSo = ( + params: UpdateRuleSoParams +): Promise> => { + const { savedObjectClient, id, updateRuleAttributes, savedObjectUpdateOptions } = params; + + return savedObjectClient.update( + 'alert', + id, + updateRuleAttributes, + savedObjectUpdateOptions + ); +}; diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/plugins/alerting/server/index.ts index f586845580216..74deec270826b 100644 --- a/x-pack/plugins/alerting/server/index.ts +++ b/x-pack/plugins/alerting/server/index.ts @@ -44,6 +44,7 @@ export type { BulkEditOptionsFilter, BulkEditOptionsIds, } from './rules_client'; +export type { Rule } from './application/rule/types'; export type { PublicAlert as Alert } from './alert'; export { parseDuration, isRuleSnoozed } from './lib'; export { getEsErrorMessage } from './lib/errors'; diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts b/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts index d9e508a5257c8..2ee07a3db4a29 100644 --- a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts +++ b/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts @@ -5,13 +5,14 @@ * 2.0. */ -import { RuleNotifyWhenType } from '../types'; +import { ruleNotifyWhen } from '../application/rule/constants'; +import { RuleNotifyWhen } from '../application/rule/types'; export function getRuleNotifyWhenType( - notifyWhen: RuleNotifyWhenType | null, + notifyWhen: RuleNotifyWhen | null, throttle: string | null -): RuleNotifyWhenType | null { +): RuleNotifyWhen | null { // We allow notifyWhen to be null for backwards compatibility. If it is null, determine its // value based on whether the throttle is set to a value or null - return notifyWhen ? notifyWhen! : throttle ? 'onThrottleInterval' : null; + return notifyWhen ? notifyWhen! : throttle ? ruleNotifyWhen.THROTTLE : null; } diff --git a/x-pack/plugins/alerting/server/lib/index.ts b/x-pack/plugins/alerting/server/lib/index.ts index 0dd0008964e24..365b9e5b56747 100644 --- a/x-pack/plugins/alerting/server/lib/index.ts +++ b/x-pack/plugins/alerting/server/lib/index.ts @@ -24,6 +24,8 @@ export { executionStatusFromError, ruleExecutionStatusToRaw, ruleExecutionStatusFromRaw, + getRuleExecutionStatusPending, + getRuleExecutionStatusPendingAttributes, } from './rule_execution_status'; export { lastRunFromState, lastRunFromError, lastRunToRaw } from './last_run_status'; export { diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.ts b/x-pack/plugins/alerting/server/lib/rule_execution_status.ts index c852ca5899420..fbcf5d9ec5f2a 100644 --- a/x-pack/plugins/alerting/server/lib/rule_execution_status.ts +++ b/x-pack/plugins/alerting/server/lib/rule_execution_status.ts @@ -11,6 +11,8 @@ import { RuleExecutionStatusValues, RuleExecutionStatusWarningReasons, RawRuleExecutionStatus, + RawRule, + Rule, } from '../types'; import { getReasonFromError } from './error_with_reason'; import { getEsErrorMessage } from './errors'; @@ -137,9 +139,18 @@ export function ruleExecutionStatusFromRaw( return executionStatus; } -export const getRuleExecutionStatusPending = (lastExecutionDate: string) => ({ - status: 'pending' as RuleExecutionStatuses, +export const getRuleExecutionStatusPendingAttributes = ( + lastExecutionDate: string +): RawRule['executionStatus'] => ({ + status: 'pending', lastExecutionDate, error: null, warning: null, }); + +export const getRuleExecutionStatusPending = ( + lastExecutionDate: string +): Rule['executionStatus'] => ({ + status: 'pending', + lastExecutionDate: new Date(lastExecutionDate), +}); diff --git a/x-pack/plugins/alerting/server/routes/clone_rule.test.ts b/x-pack/plugins/alerting/server/routes/clone_rule.test.ts index 035e5fa5885b8..df090abee9bad 100644 --- a/x-pack/plugins/alerting/server/routes/clone_rule.test.ts +++ b/x-pack/plugins/alerting/server/routes/clone_rule.test.ts @@ -15,7 +15,6 @@ import { RuleTypeDisabledError } from '../lib/errors/rule_type_disabled'; import { cloneRuleRoute } from './clone_rule'; import { SanitizedRule } from '../types'; import { AsApiContract } from './lib'; -import { CreateOptions } from '../rules_client'; const rulesClient = rulesClientMock.create(); jest.mock('../lib/license_api_access', () => ({ @@ -68,7 +67,7 @@ describe('cloneRuleRoute', () => { revision: 0, }; - const ruleToClone: AsApiContract['data']> = { + const ruleToClone = { ...pick(mockedRule, 'consumer', 'name', 'schedule', 'tags', 'params', 'throttle', 'enabled'), rule_type_id: mockedRule.alertTypeId, notify_when: mockedRule.notifyWhen, diff --git a/x-pack/plugins/alerting/server/routes/create_rule.ts b/x-pack/plugins/alerting/server/routes/create_rule.ts deleted file mode 100644 index 01a0864013415..0000000000000 --- a/x-pack/plugins/alerting/server/routes/create_rule.ts +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { schema } from '@kbn/config-schema'; -import { validateDurationSchema, RuleTypeDisabledError } from '../lib'; -import { CreateOptions } from '../rules_client'; -import { - RewriteRequestCase, - RewriteResponseCase, - rewriteActionsReq, - rewriteActionsRes, - handleDisabledApiKeysError, - verifyAccessAndContext, - countUsageOfPredefinedIds, - actionsSchema, - rewriteRuleLastRun, -} from './lib'; -import { - SanitizedRule, - validateNotifyWhenType, - RuleTypeParams, - BASE_ALERTING_API_PATH, -} from '../types'; -import { RouteOptions } from '.'; - -export const bodySchema = schema.object({ - name: schema.string(), - rule_type_id: schema.string(), - enabled: schema.boolean({ defaultValue: true }), - consumer: schema.string(), - tags: schema.arrayOf(schema.string(), { defaultValue: [] }), - throttle: schema.maybe(schema.nullable(schema.string({ validate: validateDurationSchema }))), - params: schema.recordOf(schema.string(), schema.any(), { defaultValue: {} }), - schedule: schema.object({ - interval: schema.string({ validate: validateDurationSchema }), - }), - actions: actionsSchema, - notify_when: schema.maybe( - schema.nullable( - schema.oneOf( - [ - schema.literal('onActionGroupChange'), - schema.literal('onActiveAlert'), - schema.literal('onThrottleInterval'), - ], - { validate: validateNotifyWhenType } - ) - ) - ), -}); - -const rewriteBodyReq: RewriteRequestCase['data']> = ({ - rule_type_id: alertTypeId, - notify_when: notifyWhen, - actions, - ...rest -}): CreateOptions['data'] => ({ - ...rest, - alertTypeId, - notifyWhen, - actions: rewriteActionsReq(actions), -}); - -const rewriteBodyRes: RewriteResponseCase> = ({ - actions, - alertTypeId, - scheduledTaskId, - createdBy, - updatedBy, - createdAt, - updatedAt, - apiKeyOwner, - apiKeyCreatedByUser, - notifyWhen, - muteAll, - mutedInstanceIds, - snoozeSchedule, - lastRun, - nextRun, - executionStatus: { lastExecutionDate, lastDuration, ...executionStatus }, - ...rest -}) => ({ - ...rest, - rule_type_id: alertTypeId, - scheduled_task_id: scheduledTaskId, - snooze_schedule: snoozeSchedule, - created_by: createdBy, - updated_by: updatedBy, - created_at: createdAt, - updated_at: updatedAt, - api_key_owner: apiKeyOwner, - notify_when: notifyWhen, - mute_all: muteAll, - muted_alert_ids: mutedInstanceIds, - execution_status: { - ...executionStatus, - last_execution_date: lastExecutionDate, - last_duration: lastDuration, - }, - actions: rewriteActionsRes(actions), - ...(lastRun ? { last_run: rewriteRuleLastRun(lastRun) } : {}), - ...(nextRun ? { next_run: nextRun } : {}), - ...(apiKeyCreatedByUser !== undefined ? { api_key_created_by_user: apiKeyCreatedByUser } : {}), -}); - -export const createRuleRoute = ({ router, licenseState, usageCounter }: RouteOptions) => { - router.post( - { - path: `${BASE_ALERTING_API_PATH}/rule/{id?}`, - validate: { - params: schema.maybe( - schema.object({ - id: schema.maybe(schema.string()), - }) - ), - body: bodySchema, - }, - }, - handleDisabledApiKeysError( - router.handleLegacyErrors( - verifyAccessAndContext(licenseState, async function (context, req, res) { - const rulesClient = (await context.alerting).getRulesClient(); - const rule = req.body; - const params = req.params; - - countUsageOfPredefinedIds({ - predefinedId: params?.id, - spaceId: rulesClient.getSpaceId(), - usageCounter, - }); - - try { - const createdRule: SanitizedRule = - await rulesClient.create({ - data: rewriteBodyReq(rule), - options: { id: params?.id }, - }); - return res.ok({ - body: rewriteBodyRes(createdRule), - }); - } catch (e) { - if (e instanceof RuleTypeDisabledError) { - return e.sendResponse(res); - } - throw e; - } - }) - ) - ) - ); -}; diff --git a/x-pack/plugins/alerting/server/routes/index.ts b/x-pack/plugins/alerting/server/routes/index.ts index 6039670e584e1..ba725d2a10ab2 100644 --- a/x-pack/plugins/alerting/server/routes/index.ts +++ b/x-pack/plugins/alerting/server/routes/index.ts @@ -11,7 +11,7 @@ import { EncryptedSavedObjectsPluginSetup } from '@kbn/encrypted-saved-objects-p import { ILicenseState } from '../lib'; import { defineLegacyRoutes } from './legacy'; import { AlertingRequestHandlerContext } from '../types'; -import { createRuleRoute } from './create_rule'; +import { createRuleRoute } from './rule/create'; import { getRuleRoute, getInternalRuleRoute } from './get_rule'; import { updateRuleRoute } from './update_rule'; import { deleteRuleRoute } from './delete_rule'; diff --git a/x-pack/plugins/alerting/server/routes/create_rule.test.ts b/x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts similarity index 80% rename from x-pack/plugins/alerting/server/routes/create_rule.test.ts rename to x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts index edd1d10d06236..63f4789f1289d 100644 --- a/x-pack/plugins/alerting/server/routes/create_rule.test.ts +++ b/x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.test.ts @@ -6,22 +6,22 @@ */ import { pick } from 'lodash'; -import { createRuleRoute } from './create_rule'; +import { createRuleRoute } from './create_rule_route'; import { httpServiceMock } from '@kbn/core/server/mocks'; -import { licenseStateMock } from '../lib/license_state.mock'; -import { verifyApiAccess } from '../lib/license_api_access'; -import { mockHandlerArguments } from './_mock_handler_arguments'; -import { CreateOptions } from '../rules_client'; -import { rulesClientMock } from '../rules_client.mock'; -import { RuleTypeDisabledError } from '../lib'; -import { AsApiContract } from './lib'; -import { SanitizedRule } from '../types'; +import { licenseStateMock } from '../../../lib/license_state.mock'; +import { verifyApiAccess } from '../../../lib/license_api_access'; +import { mockHandlerArguments } from '../../_mock_handler_arguments'; +import type { CreateRuleRequestBodyV1 } from '../../../../common/routes/rule/create'; +import { rulesClientMock } from '../../../rules_client.mock'; +import { RuleTypeDisabledError } from '../../../lib'; +import { AsApiContract } from '../../lib'; +import { SanitizedRule } from '../../../types'; import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; import { usageCountersServiceMock } from '@kbn/usage-collection-plugin/server/usage_counters/usage_counters_service.mock'; const rulesClient = rulesClientMock.create(); -jest.mock('../lib/license_api_access', () => ({ +jest.mock('../../../lib/license_api_access', () => ({ verifyApiAccess: jest.fn(), })); @@ -83,7 +83,7 @@ describe('createRuleRoute', () => { revision: 0, }; - const ruleToCreate: AsApiContract['data']> = { + const ruleToCreate: CreateRuleRequestBodyV1<{ bar: boolean }> = { ...pick(mockedAlert, 'consumer', 'name', 'schedule', 'tags', 'params', 'throttle', 'enabled'), rule_type_id: mockedAlert.alertTypeId, notify_when: mockedAlert.notifyWhen, @@ -156,7 +156,17 @@ describe('createRuleRoute', () => { ['ok'] ); - expect(await handler(context, req, res)).toEqual({ body: createResult }); + expect(await handler(context, req, res)).toEqual({ + body: { + ...createResult, + created_at: createResult.created_at.toISOString(), + updated_at: createResult.updated_at.toISOString(), + execution_status: { + ...createResult.execution_status, + last_execution_date: createResult.execution_status.last_execution_date.toISOString(), + }, + }, + }); expect(mockUsageCounter.incrementCounter).not.toHaveBeenCalled(); expect(rulesClient.create).toHaveBeenCalledTimes(1); @@ -166,6 +176,7 @@ describe('createRuleRoute', () => { "data": Object { "actions": Array [ Object { + "actionTypeId": undefined, "alertsFilter": Object { "query": Object { "filters": Array [], @@ -213,7 +224,15 @@ describe('createRuleRoute', () => { `); expect(res.ok).toHaveBeenCalledWith({ - body: createResult, + body: { + ...createResult, + created_at: createResult.created_at.toISOString(), + updated_at: createResult.updated_at.toISOString(), + execution_status: { + ...createResult.execution_status, + last_execution_date: createResult.execution_status.last_execution_date.toISOString(), + }, + }, }); }); @@ -253,7 +272,17 @@ describe('createRuleRoute', () => { ['ok'] ); - expect(await handler(context, req, res)).toEqual({ body: expectedResult }); + expect(await handler(context, req, res)).toEqual({ + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, + }); expect(mockUsageCounter.incrementCounter).toHaveBeenCalledTimes(1); expect(rulesClient.create).toHaveBeenCalledTimes(1); @@ -263,6 +292,7 @@ describe('createRuleRoute', () => { "data": Object { "actions": Array [ Object { + "actionTypeId": undefined, "alertsFilter": Object { "query": Object { "filters": Array [], @@ -310,7 +340,15 @@ describe('createRuleRoute', () => { `); expect(res.ok).toHaveBeenCalledWith({ - body: expectedResult, + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, }); }); @@ -351,7 +389,17 @@ describe('createRuleRoute', () => { ['ok'] ); - expect(await handler(context, req, res)).toEqual({ body: expectedResult }); + expect(await handler(context, req, res)).toEqual({ + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, + }); expect(mockUsageCounter.incrementCounter).toHaveBeenCalledTimes(1); expect(rulesClient.create).toHaveBeenCalledTimes(1); @@ -361,6 +409,7 @@ describe('createRuleRoute', () => { "data": Object { "actions": Array [ Object { + "actionTypeId": undefined, "alertsFilter": Object { "query": Object { "filters": Array [], @@ -408,7 +457,15 @@ describe('createRuleRoute', () => { `); expect(res.ok).toHaveBeenCalledWith({ - body: expectedResult, + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, }); }); @@ -449,7 +506,17 @@ describe('createRuleRoute', () => { ['ok'] ); - expect(await handler(context, req, res)).toEqual({ body: expectedResult }); + expect(await handler(context, req, res)).toEqual({ + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, + }); expect(mockUsageCounter.incrementCounter).toHaveBeenCalledTimes(2); expect(rulesClient.create).toHaveBeenCalledTimes(1); @@ -459,6 +526,7 @@ describe('createRuleRoute', () => { "data": Object { "actions": Array [ Object { + "actionTypeId": undefined, "alertsFilter": Object { "query": Object { "filters": Array [], @@ -506,7 +574,15 @@ describe('createRuleRoute', () => { `); expect(res.ok).toHaveBeenCalledWith({ - body: expectedResult, + body: { + ...expectedResult, + created_at: expectedResult.created_at.toISOString(), + updated_at: expectedResult.updated_at.toISOString(), + execution_status: { + ...expectedResult.execution_status, + last_execution_date: expectedResult.execution_status.last_execution_date.toISOString(), + }, + }, }); }); diff --git a/x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.ts b/x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.ts new file mode 100644 index 0000000000000..8f11c2cbc46a0 --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/create/create_rule_route.ts @@ -0,0 +1,75 @@ +/* + * 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 { RuleTypeDisabledError } from '../../../lib'; +import { + handleDisabledApiKeysError, + verifyAccessAndContext, + countUsageOfPredefinedIds, +} from '../../lib'; +import { BASE_ALERTING_API_PATH } from '../../../types'; +import { RouteOptions } from '../..'; +import type { + CreateRuleRequestBodyV1, + CreateRuleRequestParamsV1, + CreateRuleResponseV1, +} from '../../../../common/routes/rule/create'; +import { createBodySchemaV1, createParamsSchemaV1 } from '../../../../common/routes/rule/create'; +import type { RuleParamsV1 } from '../../../../common/routes/rule/rule_response'; +import { Rule } from '../../../application/rule/types'; +import { transformCreateBodyV1 } from './transforms'; +import { transformRuleToRuleResponseV1 } from '../transforms'; + +export const createRuleRoute = ({ router, licenseState, usageCounter }: RouteOptions) => { + router.post( + { + path: `${BASE_ALERTING_API_PATH}/rule/{id?}`, + validate: { + body: createBodySchemaV1, + params: createParamsSchemaV1, + }, + }, + handleDisabledApiKeysError( + router.handleLegacyErrors( + verifyAccessAndContext(licenseState, async function (context, req, res) { + const rulesClient = (await context.alerting).getRulesClient(); + + // Assert versioned inputs + const createRuleData: CreateRuleRequestBodyV1 = req.body; + const params: CreateRuleRequestParamsV1 = req.params; + + countUsageOfPredefinedIds({ + predefinedId: params?.id, + spaceId: rulesClient.getSpaceId(), + usageCounter, + }); + + try { + // TODO (http-versioning): Remove this cast, this enables us to move forward + // without fixing all of other solution types + const createdRule: Rule = (await rulesClient.create({ + data: transformCreateBodyV1(createRuleData), + options: { id: params?.id }, + })) as Rule; + + // Assert versioned response type + const response: CreateRuleResponseV1 = { + body: transformRuleToRuleResponseV1(createdRule), + }; + + return res.ok(response); + } catch (e) { + if (e instanceof RuleTypeDisabledError) { + return e.sendResponse(res); + } + throw e; + } + }) + ) + ) + ); +}; diff --git a/x-pack/plugins/alerting/server/routes/rule/create/index.ts b/x-pack/plugins/alerting/server/routes/rule/create/index.ts new file mode 100644 index 0000000000000..00a81e64bcbe3 --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/create/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { createRuleRoute } from './create_rule_route'; diff --git a/x-pack/plugins/alerting/server/routes/rule/create/transforms/index.ts b/x-pack/plugins/alerting/server/routes/rule/create/transforms/index.ts new file mode 100644 index 0000000000000..acd4b6fde493c --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/create/transforms/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { transformCreateBody } from './transform_create_body/latest'; + +export { transformCreateBody as transformCreateBodyV1 } from './transform_create_body/v1'; diff --git a/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/latest.ts b/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/v1.ts b/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/v1.ts new file mode 100644 index 0000000000000..38c081b2168ce --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/create/transforms/transform_create_body/v1.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { + CreateRuleActionV1, + CreateRuleRequestBodyV1, +} from '../../../../../../common/routes/rule/create'; +import type { CreateRuleData } from '../../../../../application/rule/create'; +import type { RuleParams } from '../../../../../application/rule/types'; + +const transformCreateBodyActions = (actions: CreateRuleActionV1[]): CreateRuleData['actions'] => { + if (!actions) return []; + + return actions.map(({ frequency, alerts_filter: alertsFilter, ...action }) => { + return { + group: action.group, + id: action.id, + params: action.params, + actionTypeId: action.actionTypeId, + ...(action.uuid ? { uuid: action.uuid } : {}), + ...(frequency + ? { + frequency: { + summary: frequency.summary, + throttle: frequency.throttle, + notifyWhen: frequency.notify_when, + }, + } + : {}), + ...(alertsFilter ? { alertsFilter } : {}), + }; + }); +}; + +export const transformCreateBody = ( + createBody: CreateRuleRequestBodyV1 +): CreateRuleData => { + return { + name: createBody.name, + alertTypeId: createBody.rule_type_id, + enabled: createBody.enabled, + consumer: createBody.consumer, + tags: createBody.tags, + ...(createBody.throttle ? { throttle: createBody.throttle } : {}), + params: createBody.params, + schedule: createBody.schedule, + actions: transformCreateBodyActions(createBody.actions), + ...(createBody.notify_when ? { notifyWhen: createBody.notify_when } : {}), + }; +}; diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts b/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts new file mode 100644 index 0000000000000..c589df53347f3 --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { transformRuleToRuleResponse } from './transform_rule_to_rule_response/latest'; +export { transformRuleToRuleResponse as transformRuleToRuleResponseV1 } from './transform_rule_to_rule_response/v1'; diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts b/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts new file mode 100644 index 0000000000000..11e717fe2d16d --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { transformRuleToRuleResponse } from './v1'; diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts b/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts new file mode 100644 index 0000000000000..38e6da6c11429 --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts @@ -0,0 +1,82 @@ +/* + * 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 { RuleResponseV1, RuleParamsV1 } from '../../../../../common/routes/rule/rule_response'; +import { Rule, RuleLastRun, RuleParams } from '../../../../application/rule/types'; + +const transformRuleLastRun = (lastRun: RuleLastRun): RuleResponseV1['last_run'] => { + return { + outcome: lastRun.outcome, + outcome_order: lastRun.outcomeOrder, + ...(lastRun.warning ? { warning: lastRun.warning } : {}), + alerts_count: lastRun.alertsCount, + outcome_msg: lastRun.outcomeMsg, + }; +}; + +export const transformRuleToRuleResponse = ( + rule: Rule +): RuleResponseV1 => ({ + id: rule.id, + enabled: rule.enabled, + name: rule.name, + tags: rule.tags, + rule_type_id: rule.alertTypeId, + consumer: rule.consumer, + schedule: rule.schedule, + actions: rule.actions.map( + ({ group, id, actionTypeId, params, frequency, uuid, alertsFilter }) => ({ + group, + id, + params, + connector_type_id: actionTypeId, + ...(frequency + ? { + frequency: { + summary: frequency.summary, + notify_when: frequency.notifyWhen, + throttle: frequency.throttle, + }, + } + : {}), + ...(uuid && { uuid }), + ...(alertsFilter && { alerts_filter: alertsFilter }), + }) + ), + params: rule.params, + created_by: rule.createdBy, + updated_by: rule.updatedBy, + created_at: rule.createdAt.toISOString(), + updated_at: rule.updatedAt.toISOString(), + api_key_owner: rule.apiKeyOwner, + ...(rule.apiKeyCreatedByUser !== undefined + ? { api_key_created_by_user: rule.apiKeyCreatedByUser } + : {}), + ...(rule.throttle !== undefined ? { throttle: rule.throttle } : {}), + ...(rule.notifyWhen !== undefined ? { notify_when: rule.notifyWhen } : {}), + mute_all: rule.muteAll, + muted_alert_ids: rule.mutedInstanceIds, + ...(rule.scheduledTaskId !== undefined ? { scheduled_task_id: rule.scheduledTaskId } : {}), + ...(rule.isSnoozedUntil !== undefined + ? { is_snoozed_until: rule.isSnoozedUntil?.toISOString() || null } + : {}), + execution_status: { + status: rule.executionStatus.status, + ...(rule.executionStatus.error ? { error: rule.executionStatus.error } : {}), + ...(rule.executionStatus.warning ? { warning: rule.executionStatus.warning } : {}), + last_execution_date: rule.executionStatus.lastExecutionDate?.toISOString(), + ...(rule.executionStatus.lastDuration !== undefined + ? { last_duration: rule.executionStatus.lastDuration } + : {}), + }, + ...(rule.lastRun !== undefined + ? { last_run: rule.lastRun ? transformRuleLastRun(rule.lastRun) : null } + : {}), + ...(rule.nextRun !== undefined ? { next_run: rule.nextRun?.toISOString() || null } : {}), + revision: rule.revision, + ...(rule.running !== undefined ? { running: rule.running } : {}), +}); diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts b/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts index fbd812618aad6..6d45866dc73d3 100644 --- a/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts +++ b/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts @@ -7,7 +7,8 @@ import { SavedObjectReference, SavedObject } from '@kbn/core/server'; import { withSpan } from '@kbn/apm-utils'; -import { RawRule, RuleTypeParams } from '../../types'; +import { Rule, RuleWithLegacyId, RawRule, RuleTypeParams } from '../../types'; +import { RuleAttributes } from '../../data/rule/types'; import { bulkMarkApiKeysForInvalidation } from '../../invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation'; import { ruleAuditEvent, RuleAuditAction } from '../common/audit_events'; import { SavedObjectOptions } from '../types'; @@ -15,23 +16,42 @@ import { RulesClientContext } from '../types'; import { updateMeta } from './update_meta'; import { scheduleTask } from './schedule_task'; import { getAlertFromRaw } from './get_alert_from_raw'; +import { createRuleSo, deleteRuleSo, updateRuleSo } from '../../data/rule'; +interface CreateRuleSavedObjectParams { + intervalInMs: number; + rawRule: RawRule; + references: SavedObjectReference[]; + ruleId: string; + options?: SavedObjectOptions; + returnRuleAttributes?: false; +} + +interface CreateRuleSavedObjectAttributeParams { + intervalInMs: number; + rawRule: RuleAttributes; + references: SavedObjectReference[]; + ruleId: string; + options?: SavedObjectOptions; + returnRuleAttributes: true; +} + +// TODO (http-versioning): Remove this overload when we convert all types, +// this exists for easy interop until then. export async function createRuleSavedObject( context: RulesClientContext, - { - intervalInMs, - rawRule, - references, - ruleId, - options, - }: { - intervalInMs: number; - rawRule: RawRule; - references: SavedObjectReference[]; - ruleId: string; - options?: SavedObjectOptions; - } -) { + params: CreateRuleSavedObjectParams +): Promise | RuleWithLegacyId>; +export async function createRuleSavedObject( + context: RulesClientContext, + params: CreateRuleSavedObjectAttributeParams +): Promise>; +export async function createRuleSavedObject( + context: RulesClientContext, + params: CreateRuleSavedObjectParams | CreateRuleSavedObjectAttributeParams +): Promise | RuleWithLegacyId | SavedObject> { + const { intervalInMs, rawRule, references, ruleId, options, returnRuleAttributes } = params; + context.auditLogger?.log( ruleAuditEvent({ action: RuleAuditAction.CREATE, @@ -40,17 +60,22 @@ export async function createRuleSavedObject; try { - createdAlert = await withSpan( + createdAlert = (await withSpan( { name: 'unsecuredSavedObjectsClient.create', type: 'rules' }, () => - context.unsecuredSavedObjectsClient.create('alert', updateMeta(context, rawRule), { - ...options, - references, - id: ruleId, + createRuleSo({ + ruleAttributes: updateMeta(context, rawRule as RawRule) as RuleAttributes, + savedObjectClient: context.unsecuredSavedObjectsClient, + savedObjectCreateOptions: { + ...options, + references, + id: ruleId, + }, }) - ); + )) as SavedObject; } catch (e) { // Avoid unused API key await bulkMarkApiKeysForInvalidation( @@ -75,7 +100,10 @@ export async function createRuleSavedObject - context.unsecuredSavedObjectsClient.update('alert', createdAlert.id, { - scheduledTaskId, + updateRuleSo({ + savedObjectClient: context.unsecuredSavedObjectsClient, + id: createdAlert.id, + updateRuleAttributes: { + scheduledTaskId, + }, }) ); createdAlert.attributes.scheduledTaskId = scheduledTaskId; @@ -103,6 +135,11 @@ export async function createRuleSavedObject; + } + return getAlertFromRaw( context, createdAlert.id, diff --git a/x-pack/plugins/alerting/server/rules_client/methods/clone.ts b/x-pack/plugins/alerting/server/rules_client/methods/clone.ts index 8cb5aee60ca7f..f11b5c69012c4 100644 --- a/x-pack/plugins/alerting/server/rules_client/methods/clone.ts +++ b/x-pack/plugins/alerting/server/rules_client/methods/clone.ts @@ -15,7 +15,7 @@ import { getDefaultMonitoring } from '../../lib'; import { WriteOperations, AlertingAuthorizationEntity } from '../../authorization'; import { parseDuration } from '../../../common/parse_duration'; import { ruleAuditEvent, RuleAuditAction } from '../common/audit_events'; -import { getRuleExecutionStatusPending } from '../../lib/rule_execution_status'; +import { getRuleExecutionStatusPendingAttributes } from '../../lib/rule_execution_status'; import { isDetectionEngineAADRuleType } from '../../saved_objects/migrations/utils'; import { createNewAPIKeySet, createRuleSavedObject } from '../lib'; import { RulesClientContext } from '../types'; @@ -114,7 +114,7 @@ export async function clone( snoozeSchedule: [], muteAll: false, mutedInstanceIds: [], - executionStatus: getRuleExecutionStatusPending(lastRunTimestamp.toISOString()), + executionStatus: getRuleExecutionStatusPendingAttributes(lastRunTimestamp.toISOString()), monitoring: getDefaultMonitoring(lastRunTimestamp.toISOString()), revision: 0, scheduledTaskId: null, diff --git a/x-pack/plugins/alerting/server/rules_client/methods/create.ts b/x-pack/plugins/alerting/server/rules_client/methods/create.ts deleted file mode 100644 index fd83a7b9b92e1..0000000000000 --- a/x-pack/plugins/alerting/server/rules_client/methods/create.ts +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ -import Semver from 'semver'; -import Boom from '@hapi/boom'; -import { SavedObjectsUtils } from '@kbn/core/server'; -import { withSpan } from '@kbn/apm-utils'; -import { parseDuration } from '../../../common/parse_duration'; -import { RawRule, SanitizedRule, RuleTypeParams, Rule } from '../../types'; -import { WriteOperations, AlertingAuthorizationEntity } from '../../authorization'; -import { validateRuleTypeParams, getRuleNotifyWhenType, getDefaultMonitoring } from '../../lib'; -import { getRuleExecutionStatusPending } from '../../lib/rule_execution_status'; -import { - createRuleSavedObject, - extractReferences, - validateActions, - addGeneratedActionValues, -} from '../lib'; -import { generateAPIKeyName, getMappedParams, apiKeyAsAlertAttributes } from '../common'; -import { ruleAuditEvent, RuleAuditAction } from '../common/audit_events'; -import { NormalizedAlertAction, RulesClientContext } from '../types'; - -interface SavedObjectOptions { - id?: string; - migrationVersion?: Record; -} - -export interface CreateOptions { - data: Omit< - Rule, - | 'id' - | 'createdBy' - | 'updatedBy' - | 'createdAt' - | 'updatedAt' - | 'apiKey' - | 'apiKeyOwner' - | 'apiKeyCreatedByUser' - | 'muteAll' - | 'mutedInstanceIds' - | 'actions' - | 'executionStatus' - | 'snoozeSchedule' - | 'isSnoozedUntil' - | 'lastRun' - | 'nextRun' - | 'revision' - > & { actions: NormalizedAlertAction[] }; - options?: SavedObjectOptions; - allowMissingConnectorSecrets?: boolean; -} - -export async function create( - context: RulesClientContext, - { data: initialData, options, allowMissingConnectorSecrets }: CreateOptions -): Promise> { - const data = { ...initialData, actions: addGeneratedActionValues(initialData.actions) }; - - const id = options?.id || SavedObjectsUtils.generateId(); - - try { - await withSpan({ name: 'authorization.ensureAuthorized', type: 'rules' }, () => - context.authorization.ensureAuthorized({ - ruleTypeId: data.alertTypeId, - consumer: data.consumer, - operation: WriteOperations.Create, - entity: AlertingAuthorizationEntity.Rule, - }) - ); - } catch (error) { - context.auditLogger?.log( - ruleAuditEvent({ - action: RuleAuditAction.CREATE, - savedObject: { type: 'alert', id }, - error, - }) - ); - throw error; - } - - context.ruleTypeRegistry.ensureRuleTypeEnabled(data.alertTypeId); - - // Throws an error if alert type isn't registered - const ruleType = context.ruleTypeRegistry.get(data.alertTypeId); - - const validatedAlertTypeParams = validateRuleTypeParams(data.params, ruleType.validate.params); - const username = await context.getUserName(); - - let createdAPIKey = null; - let isAuthTypeApiKey = false; - try { - isAuthTypeApiKey = context.isAuthenticationTypeAPIKey(); - const name = generateAPIKeyName(ruleType.id, data.name); - createdAPIKey = data.enabled - ? isAuthTypeApiKey - ? context.getAuthenticationAPIKey(`${name}-user-created`) - : await withSpan( - { - name: 'createAPIKey', - type: 'rules', - }, - () => context.createAPIKey(name) - ) - : null; - } catch (error) { - throw Boom.badRequest(`Error creating rule: could not create API key - ${error.message}`); - } - - await withSpan({ name: 'validateActions', type: 'rules' }, () => - validateActions(context, ruleType, data, allowMissingConnectorSecrets) - ); - - // Throw error if schedule interval is less than the minimum and we are enforcing it - const intervalInMs = parseDuration(data.schedule.interval); - if ( - intervalInMs < context.minimumScheduleIntervalInMs && - context.minimumScheduleInterval.enforce - ) { - throw Boom.badRequest( - `Error creating rule: the interval is less than the allowed minimum interval of ${context.minimumScheduleInterval.value}` - ); - } - - // Extract saved object references for this rule - const { - references, - params: updatedParams, - actions, - } = await withSpan({ name: 'extractReferences', type: 'rules' }, () => - extractReferences(context, ruleType, data.actions, validatedAlertTypeParams) - ); - - const createTime = Date.now(); - const lastRunTimestamp = new Date(); - const legacyId = Semver.lt(context.kibanaVersion, '8.0.0') ? id : null; - const notifyWhen = getRuleNotifyWhenType(data.notifyWhen ?? null, data.throttle ?? null); - const throttle = data.throttle ?? null; - - const rawRule: RawRule = { - ...data, - ...apiKeyAsAlertAttributes(createdAPIKey, username, isAuthTypeApiKey), - legacyId, - actions, - createdBy: username, - updatedBy: username, - createdAt: new Date(createTime).toISOString(), - updatedAt: new Date(createTime).toISOString(), - snoozeSchedule: [], - params: updatedParams as RawRule['params'], - muteAll: false, - mutedInstanceIds: [], - notifyWhen, - throttle, - executionStatus: getRuleExecutionStatusPending(lastRunTimestamp.toISOString()), - monitoring: getDefaultMonitoring(lastRunTimestamp.toISOString()), - revision: 0, - running: false, - }; - - const mappedParams = getMappedParams(updatedParams); - - if (Object.keys(mappedParams).length) { - rawRule.mapped_params = mappedParams; - } - - return await withSpan({ name: 'createRuleSavedObject', type: 'rules' }, () => - createRuleSavedObject(context, { - intervalInMs, - rawRule, - references, - ruleId: id, - options, - }) - ); -} diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/plugins/alerting/server/rules_client/rules_client.ts index ab693b410744d..ed6e94f8508dc 100644 --- a/x-pack/plugins/alerting/server/rules_client/rules_client.ts +++ b/x-pack/plugins/alerting/server/rules_client/rules_client.ts @@ -10,7 +10,7 @@ import { parseDuration } from '../../common/parse_duration'; import { RulesClientContext, BulkOptions, MuteOptions } from './types'; import { clone, CloneArguments } from './methods/clone'; -import { create, CreateOptions } from './methods/create'; +import { createRule, CreateRuleParams } from '../application/rule/create'; import { get, GetParams } from './methods/get'; import { resolve, ResolveParams } from './methods/resolve'; import { getAlertState, GetAlertStateParams } from './methods/get_alert_state'; @@ -107,8 +107,8 @@ export class RulesClient { aggregate(this.context, params); public clone = (...args: CloneArguments) => clone(this.context, ...args); - public create = (params: CreateOptions) => - create(this.context, params); + public create = (params: CreateRuleParams) => + createRule(this.context, params); public delete = (params: { id: string }) => deleteRule(this.context, params); public find = (params?: FindParams) => find(this.context, params); diff --git a/x-pack/plugins/alerting/server/rules_client/types.ts b/x-pack/plugins/alerting/server/rules_client/types.ts index cb68900e49083..ef839f1dc72f7 100644 --- a/x-pack/plugins/alerting/server/rules_client/types.ts +++ b/x-pack/plugins/alerting/server/rules_client/types.ts @@ -35,7 +35,6 @@ export type { BulkEditOptionsFilter, BulkEditOptionsIds, } from './methods/bulk_edit'; -export type { CreateOptions } from './methods/create'; export type { FindOptions, FindResult } from './methods/find'; export type { UpdateOptions } from './methods/update'; export type { GetAlertSummaryParams } from './methods/get_alert_summary'; diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts b/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts index eea12e78bdc69..1269a9a776307 100644 --- a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts +++ b/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts @@ -7,7 +7,7 @@ import { transformRulesForExport } from './transform_rule_for_export'; jest.mock('../lib/rule_execution_status', () => ({ - getRuleExecutionStatusPending: () => ({ + getRuleExecutionStatusPendingAttributes: () => ({ status: 'pending', lastExecutionDate: '2020-08-20T19:23:38Z', error: null, diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts b/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts index fe4f1023d8103..9e1c78cbe04cf 100644 --- a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts +++ b/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts @@ -6,7 +6,7 @@ */ import { SavedObject } from '@kbn/core/server'; -import { getRuleExecutionStatusPending } from '../lib/rule_execution_status'; +import { getRuleExecutionStatusPendingAttributes } from '../lib/rule_execution_status'; import { RawRule } from '../types'; export function transformRulesForExport(rules: SavedObject[]): Array> { @@ -28,7 +28,7 @@ function transformRuleForExport( apiKeyOwner: null, apiKeyCreatedByUser: null, scheduledTaskId: null, - executionStatus: getRuleExecutionStatusPending(exportDate), + executionStatus: getRuleExecutionStatusPendingAttributes(exportDate), }, }; } diff --git a/x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx b/x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx index 9379351045eac..a04573a2d743e 100644 --- a/x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useCallback, useEffect, useState } from 'react'; +import React, { useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { Filter, @@ -16,7 +16,6 @@ import { import { useHistory, useLocation } from 'react-router-dom'; import deepEqual from 'fast-deep-equal'; import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { EuiSkeletonRectangle } from '@elastic/eui'; import qs from 'query-string'; import { DataView, UI_SETTINGS } from '@kbn/data-plugin/common'; import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; @@ -158,7 +157,6 @@ export function UnifiedSearchBar({ UI_SETTINGS.TIMEPICKER_TIME_DEFAULTS ); const urlTimeRange = useUrlTimeRange(timePickerTimeDefaults); - const [displaySearchBar, setDisplaySearchBar] = useState(false); const syncSearchBarWithUrl = useCallback(() => { // Sync Kuery params with Search Bar @@ -202,10 +200,6 @@ export function UnifiedSearchBar({ processorEvent ); - useEffect(() => { - if (dataView) setDisplaySearchBar(true); - }, [dataView]); - const customFilters = boolFilter ?? getBoolFilter({ @@ -288,32 +282,26 @@ export function UnifiedSearchBar({ }; return ( - - - + ); } diff --git a/x-pack/plugins/cases/common/api/cases/comment/index.test.ts b/x-pack/plugins/cases/common/api/cases/comment/index.test.ts index afef03b9dd3fe..929a5b951732a 100644 --- a/x-pack/plugins/cases/common/api/cases/comment/index.test.ts +++ b/x-pack/plugins/cases/common/api/cases/comment/index.test.ts @@ -4,8 +4,8 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import { PathReporter } from 'io-ts/lib/PathReporter'; -import { MAX_ADD_COMMENTS } from '../../../constants'; import { CommentAttributesBasicRt, CommentType, @@ -30,7 +30,7 @@ import { BulkGetAttachmentsRequestRt, BulkGetAttachmentsResponseRt, } from '.'; -import { PathReporter } from 'io-ts/lib/PathReporter'; +import { MAX_COMMENT_LENGTH, MAX_ADD_COMMENTS } from '../../../constants'; describe('Comments', () => { describe('CommentAttributesBasicRt', () => { @@ -325,6 +325,7 @@ describe('Comments', () => { type: CommentType.user, owner: 'cases', }; + it('has expected attributes in request', () => { const query = CommentRequestRt.decode(defaultRequest); @@ -342,6 +343,68 @@ describe('Comments', () => { right: defaultRequest, }); }); + + describe('errors', () => { + describe('commentType: user', () => { + it('throws error when comment is too long', () => { + const longComment = 'x'.repeat(MAX_COMMENT_LENGTH + 1); + + expect( + PathReporter.report( + CommentRequestRt.decode({ ...defaultRequest, comment: longComment }) + ) + ).toContain('The length of the comment is too long. The maximum length is 30000.'); + }); + + it('throws error when comment is empty', () => { + expect( + PathReporter.report(CommentRequestRt.decode({ ...defaultRequest, comment: '' })) + ).toContain('The comment field cannot be an empty string.'); + }); + + it('throws error when comment string of empty characters', () => { + expect( + PathReporter.report(CommentRequestRt.decode({ ...defaultRequest, comment: ' ' })) + ).toContain('The comment field cannot be an empty string.'); + }); + }); + + describe('commentType: action', () => { + const request = { + type: CommentType.actions, + actions: { + targets: [ + { + hostname: 'host1', + endpointId: '001', + }, + ], + type: 'isolate', + }, + owner: 'cases', + }; + + it('throws error when comment is too long', () => { + const longComment = 'x'.repeat(MAX_COMMENT_LENGTH + 1); + + expect( + PathReporter.report(CommentRequestRt.decode({ ...request, comment: longComment })) + ).toContain('The length of the comment is too long. The maximum length is 30000.'); + }); + + it('throws error when comment is empty', () => { + expect( + PathReporter.report(CommentRequestRt.decode({ ...request, comment: '' })) + ).toContain('The comment field cannot be an empty string.'); + }); + + it('throws error when comment string of empty characters', () => { + expect( + PathReporter.report(CommentRequestRt.decode({ ...request, comment: ' ' })) + ).toContain('The comment field cannot be an empty string.'); + }); + }); + }); }); describe('CommentRt', () => { diff --git a/x-pack/plugins/cases/common/api/cases/comment/index.ts b/x-pack/plugins/cases/common/api/cases/comment/index.ts index 55774a81e7609..cb23c7011314f 100644 --- a/x-pack/plugins/cases/common/api/cases/comment/index.ts +++ b/x-pack/plugins/cases/common/api/cases/comment/index.ts @@ -10,8 +10,9 @@ import { MAX_ADD_COMMENTS, MAX_BULK_GET_ATTACHMENTS, MAX_COMMENTS_PER_PAGE, + MAX_COMMENT_LENGTH, } from '../../../constants'; -import { limitedArraySchema, paginationSchema } from '../../../schema'; +import { limitedArraySchema, paginationSchema, limitedStringSchema } from '../../../schema'; import { jsonValueRt } from '../../runtime_types'; import { UserRt } from '../../user'; @@ -197,7 +198,31 @@ const BasicCommentRequestRt = rt.union([ PersistableStateAttachmentRt, ]); -export const CommentRequestRt = rt.union([BasicCommentRequestRt, ExternalReferenceSORt]); +export const CommentRequestRt = rt.union([ + rt.strict({ + comment: limitedStringSchema({ fieldName: 'comment', min: 1, max: MAX_COMMENT_LENGTH }), + type: rt.literal(CommentType.user), + owner: rt.string, + }), + AlertCommentRequestRt, + rt.strict({ + type: rt.literal(CommentType.actions), + comment: limitedStringSchema({ fieldName: 'comment', min: 1, max: MAX_COMMENT_LENGTH }), + actions: rt.strict({ + targets: rt.array( + rt.strict({ + hostname: rt.string, + endpointId: rt.string, + }) + ), + type: rt.string, + }), + owner: rt.string, + }), + ExternalReferenceNoSORt, + ExternalReferenceSORt, + PersistableStateAttachmentRt, +]); export const CommentRequestWithoutRefsRt = rt.union([ BasicCommentRequestRt, diff --git a/x-pack/plugins/cases/common/constants/index.ts b/x-pack/plugins/cases/common/constants/index.ts index e03e399dea04c..d9fa9f4fea93b 100644 --- a/x-pack/plugins/cases/common/constants/index.ts +++ b/x-pack/plugins/cases/common/constants/index.ts @@ -119,6 +119,7 @@ export const MAX_REPORTERS_FILTER_LENGTH = 100 as const; export const MAX_TITLE_LENGTH = 160 as const; export const MAX_CATEGORY_LENGTH = 50 as const; export const MAX_DESCRIPTION_LENGTH = 30000 as const; +export const MAX_COMMENT_LENGTH = 30000 as const; export const MAX_LENGTH_PER_TAG = 256 as const; export const MAX_TAGS_PER_CASE = 200 as const; export const MAX_DELETE_IDS_LENGTH = 100 as const; diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/plugins/cases/docs/openapi/bundled.json index c504d966cb9d2..888f537d6d461 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.json +++ b/x-pack/plugins/cases/docs/openapi/bundled.json @@ -5553,6 +5553,7 @@ "comment": { "description": "The new comment. It is required only when `type` is `user`.", "type": "string", + "maxLength": 30000, "example": "A new comment." }, "owner": { @@ -5642,6 +5643,7 @@ "comment": { "description": "The new comment. It is required only when `type` is `user`.", "type": "string", + "maxLength": 30000, "example": "A new comment." }, "id": { diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/plugins/cases/docs/openapi/bundled.yaml index d393da4d334a0..ac1df4c1436e8 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.yaml +++ b/x-pack/plugins/cases/docs/openapi/bundled.yaml @@ -3597,6 +3597,7 @@ components: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. owner: $ref: '#/components/schemas/owners' @@ -3663,6 +3664,7 @@ components: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. id: type: string diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml index 40efb7f945f45..beac63c377ade 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml @@ -5,6 +5,7 @@ properties: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. owner: $ref: 'owners.yaml' diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml index 22fb76d9bba74..a83050e93eaaf 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml @@ -5,6 +5,7 @@ properties: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. id: type: string diff --git a/x-pack/plugins/cases/server/client/attachments/add.test.ts b/x-pack/plugins/cases/server/client/attachments/add.test.ts index 0e39ff30a65ec..b78ec1219088b 100644 --- a/x-pack/plugins/cases/server/client/attachments/add.test.ts +++ b/x-pack/plugins/cases/server/client/attachments/add.test.ts @@ -7,6 +7,7 @@ import { comment } from '../../mocks'; import { createCasesClientMockArgs } from '../mocks'; +import { MAX_COMMENT_LENGTH } from '../../../common/constants'; import { addComment } from './add'; describe('addComment', () => { @@ -22,4 +23,30 @@ describe('addComment', () => { addComment({ comment: { ...comment, foo: 'bar' }, caseId: 'test-case' }, clientArgs) ).rejects.toThrow('invalid keys "foo"'); }); + + it('should throw an error if the comment length is too long', async () => { + const longComment = 'x'.repeat(MAX_COMMENT_LENGTH + 1); + + await expect( + addComment({ comment: { ...comment, comment: longComment }, caseId: 'test-case' }, clientArgs) + ).rejects.toThrow( + `Failed while adding a comment to case id: test-case error: Error: The length of the comment is too long. The maximum length is ${MAX_COMMENT_LENGTH}.` + ); + }); + + it('should throw an error if the comment is an empty string', async () => { + await expect( + addComment({ comment: { ...comment, comment: '' }, caseId: 'test-case' }, clientArgs) + ).rejects.toThrow( + 'Failed while adding a comment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); + + it('should throw an error if the description is a string with empty characters', async () => { + await expect( + addComment({ comment: { ...comment, comment: ' ' }, caseId: 'test-case' }, clientArgs) + ).rejects.toThrow( + 'Failed while adding a comment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); }); diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts b/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts index bbe2133feed89..03b6a725f8e65 100644 --- a/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts +++ b/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { MAX_ADD_COMMENTS } from '../../../common/constants'; -import { comment } from '../../mocks'; +import { MAX_ADD_COMMENTS, MAX_COMMENT_LENGTH } from '../../../common/constants'; +import { comment, actionComment } from '../../mocks'; import { createCasesClientMockArgs } from '../mocks'; import { bulkCreate } from './bulk_create'; @@ -37,4 +37,79 @@ describe('bulkCreate', () => { 'Failed while bulk creating attachment to case id: test-case error: Error: The length of the field attachments is too long. Array must be of length <= 100.' ); }); + + describe('comments', () => { + it('should throw an error if the comment length is too long', async () => { + const longComment = Array(MAX_COMMENT_LENGTH + 1) + .fill('x') + .toString(); + + await expect( + bulkCreate( + { attachments: [{ ...comment, comment: longComment }], caseId: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + `Failed while bulk creating attachment to case id: test-case error: Error: The length of the comment is too long. The maximum length is ${MAX_COMMENT_LENGTH}.` + ); + }); + + it('should throw an error if the comment is an empty string', async () => { + await expect( + bulkCreate({ attachments: [{ ...comment, comment: '' }], caseId: 'test-case' }, clientArgs) + ).rejects.toThrow( + 'Failed while bulk creating attachment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); + + it('should throw an error if the description is a string with empty characters', async () => { + await expect( + bulkCreate( + { attachments: [{ ...comment, comment: ' ' }], caseId: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed while bulk creating attachment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); + }); + + describe('actions', () => { + it('should throw an error if the comment length is too long', async () => { + const longComment = Array(MAX_COMMENT_LENGTH + 1) + .fill('x') + .toString(); + + await expect( + bulkCreate( + { attachments: [{ ...actionComment, comment: longComment }], caseId: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + `Failed while bulk creating attachment to case id: test-case error: Error: The length of the comment is too long. The maximum length is ${MAX_COMMENT_LENGTH}.` + ); + }); + + it('should throw an error if the comment is an empty string', async () => { + await expect( + bulkCreate( + { attachments: [{ ...actionComment, comment: '' }], caseId: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed while bulk creating attachment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); + + it('should throw an error if the description is a string with empty characters', async () => { + await expect( + bulkCreate( + { attachments: [{ ...actionComment, comment: ' ' }], caseId: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed while bulk creating attachment to case id: test-case error: Error: The comment field cannot be an empty string.' + ); + }); + }); }); diff --git a/x-pack/plugins/cases/server/client/attachments/update.test.ts b/x-pack/plugins/cases/server/client/attachments/update.test.ts new file mode 100644 index 0000000000000..c3ebb40d396d5 --- /dev/null +++ b/x-pack/plugins/cases/server/client/attachments/update.test.ts @@ -0,0 +1,100 @@ +/* + * 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 { comment, actionComment } from '../../mocks'; +import { createCasesClientMockArgs } from '../mocks'; +import { MAX_COMMENT_LENGTH } from '../../../common/constants'; +import { update } from './update'; + +describe('update', () => { + const clientArgs = createCasesClientMockArgs(); + + beforeEach(() => { + jest.clearAllMocks(); + }); + + describe('comments', () => { + const updateComment = { ...comment, id: 'comment-id', version: 'WzAsMV0=' }; + it('should throw an error if the comment length is too long', async () => { + const longComment = Array(MAX_COMMENT_LENGTH + 1) + .fill('x') + .toString(); + + await expect( + update( + { updateRequest: { ...updateComment, comment: longComment }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + `Failed to patch comment case id: test-case: Error: The length of the comment is too long. The maximum length is ${MAX_COMMENT_LENGTH}.` + ); + }); + + it('should throw an error if the comment is an empty string', async () => { + await expect( + update( + { updateRequest: { ...updateComment, comment: '' }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed to patch comment case id: test-case: Error: The comment field cannot be an empty string.' + ); + }); + + it('should throw an error if the description is a string with empty characters', async () => { + await expect( + update( + { updateRequest: { ...updateComment, comment: ' ' }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed to patch comment case id: test-case: Error: The comment field cannot be an empty string.' + ); + }); + }); + + describe('actions', () => { + const updateActionComment = { ...actionComment, id: 'comment-id', version: 'WzAsMV0=' }; + + it('should throw an error if the comment length is too long', async () => { + const longComment = Array(MAX_COMMENT_LENGTH + 1) + .fill('x') + .toString(); + + await expect( + update( + { updateRequest: { ...updateActionComment, comment: longComment }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + `Failed to patch comment case id: test-case: Error: The length of the comment is too long. The maximum length is ${MAX_COMMENT_LENGTH}.` + ); + }); + + it('should throw an error if the comment is an empty string', async () => { + await expect( + update( + { updateRequest: { ...updateActionComment, comment: '' }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed to patch comment case id: test-case: Error: The comment field cannot be an empty string.' + ); + }); + + it('should throw an error if the description is a string with empty characters', async () => { + await expect( + update( + { updateRequest: { ...updateActionComment, comment: ' ' }, caseID: 'test-case' }, + clientArgs + ) + ).rejects.toThrow( + 'Failed to patch comment case id: test-case: Error: The comment field cannot be an empty string.' + ); + }); + }); +}); diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/plugins/cases/server/mocks.ts index 479873f7c0a9e..8eacf10c59e15 100644 --- a/x-pack/plugins/cases/server/mocks.ts +++ b/x-pack/plugins/cases/server/mocks.ts @@ -9,6 +9,7 @@ import type { SavedObject } from '@kbn/core/server'; import type { CasePostRequest, CommentAttributes, + CommentRequestActionsType, CommentRequestAlertType, CommentRequestUserType, ConnectorMappings, @@ -664,6 +665,21 @@ export const comment: CommentRequestUserType = { owner: SECURITY_SOLUTION_OWNER, }; +export const actionComment: CommentRequestActionsType = { + type: CommentType.actions, + comment: 'I just isolated the host!', + actions: { + targets: [ + { + hostname: 'host1', + endpointId: '001', + }, + ], + type: 'isolate', + }, + owner: 'cases', +}; + export const alertComment: CommentRequestAlertType = { alertId: 'alert-id-1', index: 'alert-index-1', diff --git a/x-pack/plugins/fleet/common/constants/output.ts b/x-pack/plugins/fleet/common/constants/output.ts index 318712d228859..6822a98d946e9 100644 --- a/x-pack/plugins/fleet/common/constants/output.ts +++ b/x-pack/plugins/fleet/common/constants/output.ts @@ -12,6 +12,50 @@ export const OUTPUT_SAVED_OBJECT_TYPE = 'ingest-outputs'; export const outputType = { Elasticsearch: 'elasticsearch', Logstash: 'logstash', + Kafka: 'kafka', +} as const; + +export const kafkaCompressionType = { + None: 'none', + Snappy: 'snappy', + Lz4: 'lz4', + Gzip: 'gzip', +} as const; + +export const kafkaAuthType = { + Userpass: 'user_pass', + Ssl: 'ssl', + Kerberos: 'kerberos', +} as const; + +export const kafkaSaslMechanism = { + Plain: 'PLAIN', + ScramSha256: 'SCRAM-SHA-256', + ScramSha512: 'SCRAM-SHA-512', +} as const; + +export const kafkaPartitionType = { + Random: 'random', + RoundRobin: 'round_robin', + Hash: 'hash', +} as const; + +export const kafkaTopicWhenType = { + Equals: 'equals', + Contains: 'contains', + Regexp: 'regexp', + Range: 'range', + Network: 'network', + HasFields: 'has_fields', + Or: 'or', + And: 'and', + Not: 'not', +} as const; + +export const kafkaAcknowledgeReliabilityLevel = { + Commit: 'Wait for local commit', + Replica: 'Wait for all replicas to commit', + DoNotWait: 'Do not wait', } as const; export const DEFAULT_OUTPUT_ID = 'fleet-default-output'; diff --git a/x-pack/plugins/fleet/common/mocks.ts b/x-pack/plugins/fleet/common/mocks.ts index 0784a5a0b36e8..13d0edcf07e58 100644 --- a/x-pack/plugins/fleet/common/mocks.ts +++ b/x-pack/plugins/fleet/common/mocks.ts @@ -5,9 +5,14 @@ * 2.0. */ -import type { PostDeletePackagePoliciesResponse, NewPackagePolicy, PackagePolicy } from './types'; +import type { + PostDeletePackagePoliciesResponse, + NewPackagePolicy, + PackagePolicy, + AgentPolicy, +} from './types'; import type { FleetAuthz } from './authz'; -import { ENDPOINT_PRIVILEGES } from './constants'; +import { dataTypes, ENDPOINT_PRIVILEGES } from './constants'; export const createNewPackagePolicyMock = (): NewPackagePolicy => { return { @@ -105,3 +110,21 @@ export const createFleetAuthzMock = (): FleetAuthz => { }, }; }; + +export const createAgentPolicyMock = (overrideProps?: Partial): AgentPolicy => { + return { + id: 'agent-policy-1', + name: 'agent-policy-1', + description: 'an agent policy', + status: 'active', + namespace: 'default', + monitoring_enabled: Object.values(dataTypes), + inactivity_timeout: 1209600, + updated_at: '2023-06-30T16:03:38.159292', + updated_by: 'user-1', + revision: 1, + is_managed: false, + is_protected: false, + ...overrideProps, + }; +}; diff --git a/x-pack/plugins/fleet/common/openapi/bundled.json b/x-pack/plugins/fleet/common/openapi/bundled.json index c6c8b9eec478d..bcf8b0438d9a8 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.json +++ b/x-pack/plugins/fleet/common/openapi/bundled.json @@ -4359,7 +4359,7 @@ "items": { "type": "array", "items": { - "$ref": "#/components/schemas/output" + "$ref": "#/components/schemas/output_create_request" } }, "total": { @@ -4396,7 +4396,7 @@ "type": "object", "properties": { "item": { - "$ref": "#/components/schemas/output" + "$ref": "#/components/schemas/output_create_request" } } } @@ -4408,46 +4408,11 @@ } }, "requestBody": { + "required": true, "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "elasticsearch" - ] - }, - "is_default": { - "type": "boolean" - }, - "is_default_monitoring": { - "type": "boolean" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - } - }, - "ca_sha256": { - "type": "string" - }, - "config_yaml": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] + "$ref": "#/components/schemas/output_create_request" } } } @@ -4467,15 +4432,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "item": { - "$ref": "#/components/schemas/output" - } - }, - "required": [ - "item" - ] + "$ref": "#/components/schemas/output_create_request" } } } @@ -4541,43 +4498,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "elasticsearch" - ] - }, - "is_default": { - "type": "boolean" - }, - "is_default_monitoring": { - "type": "boolean" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - } - }, - "ca_sha256": { - "type": "string" - }, - "ca_trusted_fingerprint": { - "type": "string" - }, - "config_yaml": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] + "$ref": "#/components/schemas/output_update_request" } } } @@ -4588,15 +4509,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "item": { - "$ref": "#/components/schemas/output" - } - }, - "required": [ - "item" - ] + "$ref": "#/components/schemas/output_update_request" } } } @@ -7595,8 +7508,8 @@ } } }, - "output": { - "title": "Output", + "output_create_request_elasticsearch": { + "title": "elasticsearch", "type": "object", "properties": { "id": { @@ -7614,8 +7527,7 @@ "type": { "type": "string", "enum": [ - "elasticsearch", - "logstash" + "elasticsearch" ] }, "hosts": { @@ -7684,12 +7596,714 @@ } }, "required": [ - "id", - "is_default", + "name" + ] + }, + "output_create_request_kafka": { + "title": "kafka", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "is_default_monitoring": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "kafka" + ] + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "ca_sha256": { + "type": "string" + }, + "ca_trusted_fingerprint": { + "type": "string" + }, + "config": { + "type": "object" + }, + "config_yaml": { + "type": "string" + }, + "ssl": { + "type": "object", + "properties": { + "certificate_authorities": { + "type": "array", + "items": { + "type": "string" + } + }, + "certificate": { + "type": "string" + }, + "key": { + "type": "string" + } + } + }, + "proxy_id": { + "type": "string" + }, + "shipper": { + "type": "object", + "properties": { + "disk_queue_enabled": { + "type": "boolean" + }, + "disk_queue_path": { + "type": "string" + }, + "disk_queue_max_size": { + "type": "number" + }, + "disk_queue_encryption_enabled": { + "type": "boolean" + }, + "disk_queue_compression_enabled": { + "type": "boolean" + }, + "compression_level": { + "type": "number" + }, + "loadbalance": { + "type": "boolean" + } + } + }, + "version": { + "type": "string" + }, + "key": { + "type": "string" + }, + "compression": { + "type": "string" + }, + "compression_level": { + "type": "number" + }, + "client_id": { + "type": "string" + }, + "auth_type": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "sasl": { + "type": "object", + "properties": { + "mechanism": { + "type": "string" + } + } + }, + "partition": { + "type": "string" + }, + "random": { + "type": "object", + "properties": { + "group_events": { + "type": "number" + } + } + }, + "round_robin": { + "type": "object", + "properties": { + "group_events": { + "type": "number" + } + } + }, + "topics": { + "type": "array", + "items": { + "type": "object", + "properties": { + "topic": { + "type": "string" + }, + "when": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "condition": { + "type": "string" + } + } + } + } + } + }, + "headers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + } + }, + "timeout": { + "type": "number" + }, + "broker_timeout": { + "type": "number" + }, + "broker_buffer_size": { + "type": "number" + }, + "broker_ack_reliability": { + "type": "string" + } + }, + "required": [ "name", - "type" + "type", + "topics", + "auth_type", + "hosts" ] }, + "output_create_request_logstash": { + "title": "logstash", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "is_default_monitoring": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "logstash" + ] + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "ca_sha256": { + "type": "string" + }, + "ca_trusted_fingerprint": { + "type": "string" + }, + "config": { + "type": "object" + }, + "config_yaml": { + "type": "string" + }, + "ssl": { + "type": "object", + "properties": { + "certificate_authorities": { + "type": "array", + "items": { + "type": "string" + } + }, + "certificate": { + "type": "string" + }, + "key": { + "type": "string" + } + } + }, + "proxy_id": { + "type": "string" + }, + "shipper": { + "type": "object", + "properties": { + "disk_queue_enabled": { + "type": "boolean" + }, + "disk_queue_path": { + "type": "string" + }, + "disk_queue_max_size": { + "type": "number" + }, + "disk_queue_encryption_enabled": { + "type": "boolean" + }, + "disk_queue_compression_enabled": { + "type": "boolean" + }, + "compression_level": { + "type": "number" + }, + "loadbalance": { + "type": "boolean" + } + } + } + }, + "required": [ + "name", + "hosts", + "type" + ] + }, + "output_create_request": { + "title": "Output", + "oneOf": [ + { + "$ref": "#/components/schemas/output_create_request_elasticsearch" + }, + { + "$ref": "#/components/schemas/output_create_request_kafka" + }, + { + "$ref": "#/components/schemas/output_create_request_logstash" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "elasticsearch": "#/components/schemas/output_create_request_elasticsearch", + "kafka": "#/components/schemas/output_create_request_kafka", + "logstash": "#/components/schemas/output_create_request_logstash" + } + } + }, + "output_update_request_elasticsearch": { + "title": "elasticsearch", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "is_default_monitoring": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "elasticsearch" + ] + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "ca_sha256": { + "type": "string" + }, + "ca_trusted_fingerprint": { + "type": "string" + }, + "config": { + "type": "object" + }, + "config_yaml": { + "type": "string" + }, + "ssl": { + "type": "object", + "properties": { + "certificate_authorities": { + "type": "array", + "items": { + "type": "string" + } + }, + "certificate": { + "type": "string" + }, + "key": { + "type": "string" + } + } + }, + "proxy_id": { + "type": "string" + }, + "shipper": { + "type": "object", + "properties": { + "disk_queue_enabled": { + "type": "boolean" + }, + "disk_queue_path": { + "type": "string" + }, + "disk_queue_max_size": { + "type": "number" + }, + "disk_queue_encryption_enabled": { + "type": "boolean" + }, + "disk_queue_compression_enabled": { + "type": "boolean" + }, + "compression_level": { + "type": "number" + }, + "loadbalance": { + "type": "boolean" + } + } + } + }, + "required": [ + "name", + "hosts", + "type" + ] + }, + "output_update_request_kafka": { + "title": "kafka", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "is_default_monitoring": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "kafka" + ] + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "ca_sha256": { + "type": "string" + }, + "ca_trusted_fingerprint": { + "type": "string" + }, + "config": { + "type": "object" + }, + "config_yaml": { + "type": "string" + }, + "ssl": { + "type": "object", + "properties": { + "certificate_authorities": { + "type": "array", + "items": { + "type": "string" + } + }, + "certificate": { + "type": "string" + }, + "key": { + "type": "string" + } + } + }, + "proxy_id": { + "type": "string" + }, + "shipper": { + "type": "object", + "properties": { + "disk_queue_enabled": { + "type": "boolean" + }, + "disk_queue_path": { + "type": "string" + }, + "disk_queue_max_size": { + "type": "number" + }, + "disk_queue_encryption_enabled": { + "type": "boolean" + }, + "disk_queue_compression_enabled": { + "type": "boolean" + }, + "compression_level": { + "type": "number" + }, + "loadbalance": { + "type": "boolean" + } + } + }, + "version": { + "type": "string" + }, + "key": { + "type": "string" + }, + "compression": { + "type": "string" + }, + "compression_level": { + "type": "number" + }, + "client_id": { + "type": "string" + }, + "auth_type": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "sasl": { + "type": "object", + "properties": { + "mechanism": { + "type": "string" + } + } + }, + "partition": { + "type": "string" + }, + "random": { + "type": "object", + "properties": { + "group_events": { + "type": "number" + } + } + }, + "round_robin": { + "type": "object", + "properties": { + "group_events": { + "type": "number" + } + } + }, + "topics": { + "type": "array", + "items": { + "type": "object", + "properties": { + "topic": { + "type": "string" + }, + "when": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "condition": { + "type": "string" + } + } + } + } + } + }, + "headers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + } + }, + "timeout": { + "type": "number" + }, + "broker_timeout": { + "type": "number" + }, + "broker_ack_reliability": { + "type": "string" + }, + "broker_buffer_size": { + "type": "number" + } + }, + "required": [ + "name" + ] + }, + "output_update_request_logstash": { + "title": "logstash", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "is_default_monitoring": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "logstash" + ] + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "ca_sha256": { + "type": "string" + }, + "ca_trusted_fingerprint": { + "type": "string" + }, + "config": { + "type": "object" + }, + "config_yaml": { + "type": "string" + }, + "ssl": { + "type": "object", + "properties": { + "certificate_authorities": { + "type": "array", + "items": { + "type": "string" + } + }, + "certificate": { + "type": "string" + }, + "key": { + "type": "string" + } + } + }, + "proxy_id": { + "type": "string" + }, + "shipper": { + "type": "object", + "properties": { + "disk_queue_enabled": { + "type": "boolean" + }, + "disk_queue_path": { + "type": "string" + }, + "disk_queue_max_size": { + "type": "number" + }, + "disk_queue_encryption_enabled": { + "type": "boolean" + }, + "disk_queue_compression_enabled": { + "type": "boolean" + }, + "compression_level": { + "type": "number" + }, + "loadbalance": { + "type": "boolean" + } + } + } + }, + "required": [ + "name" + ] + }, + "output_update_request": { + "title": "Output", + "oneOf": [ + { + "$ref": "#/components/schemas/output_update_request_elasticsearch" + }, + { + "$ref": "#/components/schemas/output_update_request_kafka" + }, + { + "$ref": "#/components/schemas/output_update_request_logstash" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "elasticsearch": "#/components/schemas/output_update_request_elasticsearch", + "kafka": "#/components/schemas/output_update_request_kafka", + "logstash": "#/components/schemas/output_update_request_logstash" + } + } + }, "download_sources": { "title": "Download Source", "type": "object", diff --git a/x-pack/plugins/fleet/common/openapi/bundled.yaml b/x-pack/plugins/fleet/common/openapi/bundled.yaml index 44bc6faf1e5b2..f6e2e202283be 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.yaml +++ b/x-pack/plugins/fleet/common/openapi/bundled.yaml @@ -2721,7 +2721,7 @@ paths: items: type: array items: - $ref: '#/components/schemas/output' + $ref: '#/components/schemas/output_create_request' total: type: integer page: @@ -2744,38 +2744,15 @@ paths: type: object properties: item: - $ref: '#/components/schemas/output' + $ref: '#/components/schemas/output_create_request' '400': $ref: '#/components/responses/error' requestBody: + required: true content: application/json: schema: - type: object - properties: - id: - type: string - name: - type: string - type: - type: string - enum: - - elasticsearch - is_default: - type: boolean - is_default_monitoring: - type: boolean - hosts: - type: array - items: - type: string - ca_sha256: - type: string - config_yaml: - type: string - required: - - name - - type + $ref: '#/components/schemas/output_create_request' operationId: post-outputs /outputs/{outputId}: get: @@ -2788,12 +2765,7 @@ paths: content: application/json: schema: - type: object - properties: - item: - $ref: '#/components/schemas/output' - required: - - item + $ref: '#/components/schemas/output_create_request' '400': $ref: '#/components/responses/error' operationId: get-output @@ -2833,43 +2805,14 @@ paths: content: application/json: schema: - type: object - properties: - name: - type: string - type: - type: string - enum: - - elasticsearch - is_default: - type: boolean - is_default_monitoring: - type: boolean - hosts: - type: array - items: - type: string - ca_sha256: - type: string - ca_trusted_fingerprint: - type: string - config_yaml: - type: string - required: - - name - - type + $ref: '#/components/schemas/output_update_request' responses: '200': description: OK content: application/json: schema: - type: object - properties: - item: - $ref: '#/components/schemas/output' - required: - - item + $ref: '#/components/schemas/output_update_request' '400': $ref: '#/components/responses/error' parameters: @@ -4896,8 +4839,8 @@ components: type: array items: $ref: '#/components/schemas/full_agent_policy_input' - output: - title: Output + output_create_request_elasticsearch: + title: elasticsearch type: object properties: id: @@ -4912,6 +4855,193 @@ components: type: string enum: - elasticsearch + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + required: + - name + output_create_request_kafka: + title: kafka + type: object + properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: + - kafka + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + version: + type: string + key: + type: string + compression: + type: string + compression_level: + type: number + client_id: + type: string + auth_type: + type: string + username: + type: string + password: + type: string + sasl: + type: object + properties: + mechanism: + type: string + partition: + type: string + random: + type: object + properties: + group_events: + type: number + round_robin: + type: object + properties: + group_events: + type: number + topics: + type: array + items: + type: object + properties: + topic: + type: string + when: + type: object + properties: + type: + type: string + condition: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + timeout: + type: number + broker_timeout: + type: number + broker_buffer_size: + type: number + broker_ack_reliability: + type: string + required: + - name + - type + - topics + - auth_type + - hosts + output_create_request_logstash: + title: logstash + type: object + properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: - logstash hosts: type: array @@ -4956,10 +5086,279 @@ components: loadbalance: type: boolean required: - - id - - is_default - name + - hosts - type + output_create_request: + title: Output + oneOf: + - $ref: '#/components/schemas/output_create_request_elasticsearch' + - $ref: '#/components/schemas/output_create_request_kafka' + - $ref: '#/components/schemas/output_create_request_logstash' + discriminator: + propertyName: type + mapping: + elasticsearch: '#/components/schemas/output_create_request_elasticsearch' + kafka: '#/components/schemas/output_create_request_kafka' + logstash: '#/components/schemas/output_create_request_logstash' + output_update_request_elasticsearch: + title: elasticsearch + type: object + properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: + - elasticsearch + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + required: + - name + - hosts + - type + output_update_request_kafka: + title: kafka + type: object + properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: + - kafka + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + version: + type: string + key: + type: string + compression: + type: string + compression_level: + type: number + client_id: + type: string + auth_type: + type: string + username: + type: string + password: + type: string + sasl: + type: object + properties: + mechanism: + type: string + partition: + type: string + random: + type: object + properties: + group_events: + type: number + round_robin: + type: object + properties: + group_events: + type: number + topics: + type: array + items: + type: object + properties: + topic: + type: string + when: + type: object + properties: + type: + type: string + condition: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + timeout: + type: number + broker_timeout: + type: number + broker_ack_reliability: + type: string + broker_buffer_size: + type: number + required: + - name + output_update_request_logstash: + title: logstash + type: object + properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: + - logstash + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + required: + - name + output_update_request: + title: Output + oneOf: + - $ref: '#/components/schemas/output_update_request_elasticsearch' + - $ref: '#/components/schemas/output_update_request_kafka' + - $ref: '#/components/schemas/output_update_request_logstash' + discriminator: + propertyName: type + mapping: + elasticsearch: '#/components/schemas/output_update_request_elasticsearch' + kafka: '#/components/schemas/output_update_request_kafka' + logstash: '#/components/schemas/output_update_request_logstash' download_sources: title: Download Source type: object diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request.yaml new file mode 100644 index 0000000000000..21506825cfd61 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request.yaml @@ -0,0 +1,11 @@ +title: Output +oneOf: + - $ref: './output_create_request_elasticsearch.yaml' + - $ref: './output_create_request_kafka.yaml' + - $ref: './output_create_request_logstash.yaml' +discriminator: + propertyName: type + mapping: + elasticsearch: './output_create_request_elasticsearch.yaml' + kafka: './output_create_request_kafka.yaml' + logstash: './output_create_request_logstash.yaml' diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_elasticsearch.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_elasticsearch.yaml new file mode 100644 index 0000000000000..aefa17057e065 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_elasticsearch.yaml @@ -0,0 +1,58 @@ +title: elasticsearch +type: object +properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: ['elasticsearch'] + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean +required: + - name diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_kafka.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_kafka.yaml new file mode 100644 index 0000000000000..dbed2b44dc08a --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_kafka.yaml @@ -0,0 +1,126 @@ +title: kafka +type: object +properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: ['kafka'] + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + version: + type: string + key: + type: string + compression: + type: string + compression_level: + type: number + client_id: + type: string + auth_type: + type: string + username: + type: string + password: + type: string + sasl: + type: object + properties: + mechanism: + type: string + partition: + type: string + random: + type: object + properties: + group_events: + type: number + round_robin: + type: object + properties: + group_events: + type: number + topics: + type: array + items: + type: object + properties: + topic: + type: string + when: + type: object + properties: + type: + type: string + condition: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + timeout: + type: number + broker_timeout: + type: number + broker_buffer_size: + type: number + broker_ack_reliability: + type: string +required: + - name + - type + - topics + - auth_type + - hosts diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_logstash.yaml similarity index 92% rename from x-pack/plugins/fleet/common/openapi/components/schemas/output.yaml rename to x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_logstash.yaml index 1f56c3388651f..9618694490004 100644 --- a/x-pack/plugins/fleet/common/openapi/components/schemas/output.yaml +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_create_request_logstash.yaml @@ -1,4 +1,4 @@ -title: Output +title: logstash type: object properties: id: @@ -11,7 +11,7 @@ properties: type: string type: type: string - enum: ['elasticsearch', 'logstash'] + enum: ['logstash'] hosts: type: array items: @@ -55,7 +55,6 @@ properties: loadbalance: type: boolean required: - - id - - is_default - name + - hosts - type diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request.yaml new file mode 100644 index 0000000000000..9b2add84bbc40 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request.yaml @@ -0,0 +1,11 @@ +title: Output +oneOf: + - $ref: './output_update_request_elasticsearch.yaml' + - $ref: './output_update_request_kafka.yaml' + - $ref: './output_update_request_logstash.yaml' +discriminator: + propertyName: type + mapping: + elasticsearch: './output_update_request_elasticsearch.yaml' + kafka: './output_update_request_kafka.yaml' + logstash: './output_update_request_logstash.yaml' diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_elasticsearch.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_elasticsearch.yaml new file mode 100644 index 0000000000000..bc10be5922883 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_elasticsearch.yaml @@ -0,0 +1,60 @@ +title: elasticsearch +type: object +properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: ['elasticsearch'] + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean +required: + - name + - hosts + - type diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_kafka.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_kafka.yaml new file mode 100644 index 0000000000000..bb1e76fa70a55 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_kafka.yaml @@ -0,0 +1,122 @@ +title: kafka +type: object +properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: ['kafka'] + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean + version: + type: string + key: + type: string + compression: + type: string + compression_level: + type: number + client_id: + type: string + auth_type: + type: string + username: + type: string + password: + type: string + sasl: + type: object + properties: + mechanism: + type: string + partition: + type: string + random: + type: object + properties: + group_events: + type: number + round_robin: + type: object + properties: + group_events: + type: number + topics: + type: array + items: + type: object + properties: + topic: + type: string + when: + type: object + properties: + type: + type: string + condition: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + timeout: + type: number + broker_timeout: + type: number + broker_ack_reliability: + type: string + broker_buffer_size: + type: number +required: + - name diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_logstash.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_logstash.yaml new file mode 100644 index 0000000000000..db6bdd12d8802 --- /dev/null +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/output_update_request_logstash.yaml @@ -0,0 +1,58 @@ +title: logstash +type: object +properties: + id: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + name: + type: string + type: + type: string + enum: ['logstash'] + hosts: + type: array + items: + type: string + ca_sha256: + type: string + ca_trusted_fingerprint: + type: string + config: + type: object + config_yaml: + type: string + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + proxy_id: + type: string + shipper: + type: object + properties: + disk_queue_enabled: + type: boolean + disk_queue_path: + type: string + disk_queue_max_size: + type: number + disk_queue_encryption_enabled: + type: boolean + disk_queue_compression_enabled: + type: boolean + compression_level: + type: number + loadbalance: + type: boolean +required: + - name diff --git a/x-pack/plugins/fleet/common/openapi/paths/outputs.yaml b/x-pack/plugins/fleet/common/openapi/paths/outputs.yaml index 5ba06a5c36372..85ce75e2762d2 100644 --- a/x-pack/plugins/fleet/common/openapi/paths/outputs.yaml +++ b/x-pack/plugins/fleet/common/openapi/paths/outputs.yaml @@ -13,7 +13,7 @@ get: items: type: array items: - $ref: ../components/schemas/output.yaml + $ref: ../components/schemas/output_create_request.yaml total: type: integer page: @@ -36,35 +36,13 @@ post: type: object properties: item: - $ref: ../components/schemas/output.yaml + $ref: ../components/schemas/output_create_request.yaml '400': $ref: ../components/responses/error.yaml requestBody: + required: true content: application/json: schema: - type: object - properties: - id: - type: string - name: - type: string - type: - type: string - enum: ['elasticsearch'] - is_default: - type: boolean - is_default_monitoring: - type: boolean - hosts: - type: array - items: - type: string - ca_sha256: - type: string - config_yaml: - type: string - required: - - name - - type + $ref: ../components/schemas/output_create_request.yaml operationId: post-outputs diff --git a/x-pack/plugins/fleet/common/openapi/paths/outputs@{output_id}.yaml b/x-pack/plugins/fleet/common/openapi/paths/outputs@{output_id}.yaml index 8bd6ae2fc288c..6049f98ca5062 100644 --- a/x-pack/plugins/fleet/common/openapi/paths/outputs@{output_id}.yaml +++ b/x-pack/plugins/fleet/common/openapi/paths/outputs@{output_id}.yaml @@ -8,12 +8,7 @@ get: content: application/json: schema: - type: object - properties: - item: - $ref: ../components/schemas/output.yaml - required: - - item + $ref: ../components/schemas/output_create_request.yaml '400': $ref: ../components/responses/error.yaml operationId: get-output @@ -53,42 +48,14 @@ put: content: application/json: schema: - type: object - properties: - name: - type: string - type: - type: string - enum: ['elasticsearch'] - is_default: - type: boolean - is_default_monitoring: - type: boolean - hosts: - type: array - items: - type: string - ca_sha256: - type: string - ca_trusted_fingerprint: - type: string - config_yaml: - type: string - required: - - name - - type + $ref: ../components/schemas/output_update_request.yaml responses: '200': description: OK content: application/json: schema: - type: object - properties: - item: - $ref: ../components/schemas/output.yaml - required: - - item + $ref: ../components/schemas/output_update_request.yaml '400': $ref: ../components/responses/error.yaml parameters: diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts b/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts new file mode 100644 index 0000000000000..70ee2ae631a3c --- /dev/null +++ b/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts @@ -0,0 +1,53 @@ +/* + * 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 { pick } from 'lodash'; + +import { licenseMock } from '@kbn/licensing-plugin/common/licensing.mock'; + +import { + isAgentPolicyValidForLicense, + unsetAgentPolicyAccordingToLicenseLevel, +} from './agent_policy_config'; +import { generateNewAgentPolicyWithDefaults } from './generate_new_agent_policy'; + +describe('agent policy config and licenses', () => { + const Platinum = licenseMock.createLicense({ license: { type: 'platinum', mode: 'platinum' } }); + const Gold = licenseMock.createLicense({ license: { type: 'gold', mode: 'gold' } }); + describe('isAgentPolicyValidForLicense', () => { + it('does not allow agent tampering protection to be turned on for gold and below licenses', () => { + const partialPolicy = { is_protected: true }; + expect(isAgentPolicyValidForLicense(partialPolicy, Gold)).toBeFalsy(); + }); + it('allows agent tampering protection to be turned on for platinum licenses', () => { + const partialPolicy = { is_protected: true }; + expect(isAgentPolicyValidForLicense(partialPolicy, Platinum)).toBeTruthy(); + }); + it('allows agent tampering protection to be turned off for platinum licenses', () => { + const partialPolicy = { is_protected: false }; + expect(isAgentPolicyValidForLicense(partialPolicy, Platinum)).toBeTruthy(); + }); + }); + describe('unsetAgentPolicyAccordingToLicenseLevel', () => { + it('resets all paid features to default if license is gold', () => { + const defaults = pick(generateNewAgentPolicyWithDefaults(), 'is_protected'); + const partialPolicy = { is_protected: true }; + const retPolicy = unsetAgentPolicyAccordingToLicenseLevel(partialPolicy, Gold); + expect(retPolicy).toEqual(defaults); + }); + it('does not change paid features if license is platinum', () => { + const expected = pick(generateNewAgentPolicyWithDefaults(), 'is_protected'); + const partialPolicy = { is_protected: false }; + const expected2 = { is_protected: true }; + const partialPolicy2 = { is_protected: true }; + const retPolicy = unsetAgentPolicyAccordingToLicenseLevel(partialPolicy, Platinum); + expect(retPolicy).toEqual(expected); + const retPolicy2 = unsetAgentPolicyAccordingToLicenseLevel(partialPolicy2, Platinum); + expect(retPolicy2).toEqual(expected2); + }); + }); +}); diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.ts b/x-pack/plugins/fleet/common/services/agent_policy_config.ts new file mode 100644 index 0000000000000..7a949fe91c416 --- /dev/null +++ b/x-pack/plugins/fleet/common/services/agent_policy_config.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { ILicense } from '@kbn/licensing-plugin/common/types'; + +import type { AgentPolicy } from '../types'; + +import { agentPolicyWithoutPaidFeatures } from './generate_new_agent_policy'; + +function isAgentTamperingPolicyValidForLicense( + policy: Partial, + license: ILicense | null +) { + if (license && license.hasAtLeast('platinum')) { + // platinum allows agent tamper protection + return true; + } + + const defaults = agentPolicyWithoutPaidFeatures(policy); + + // only platinum or higher may modify agent tampering + if (policy.is_protected !== defaults.is_protected) { + return false; + } + + return true; +} + +export const isAgentPolicyValidForLicense = ( + policy: Partial, + license: ILicense | null +): boolean => { + return isAgentTamperingPolicyValidForLicense(policy, license); +}; + +/** + * Resets paid features in a AgentPolicy back to default values + * when unsupported by the given license level. + */ +export const unsetAgentPolicyAccordingToLicenseLevel = ( + policy: Partial, + license: ILicense | null +): Partial => { + if (license && license.hasAtLeast('platinum')) { + return policy; + } + + // set any license-gated features back to the defaults + return agentPolicyWithoutPaidFeatures(policy); +}; diff --git a/x-pack/plugins/fleet/public/services/generate_new_agent_policy.test.ts b/x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts similarity index 93% rename from x-pack/plugins/fleet/public/services/generate_new_agent_policy.test.ts rename to x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts index 5cd6c5d144019..97e63be4bd701 100644 --- a/x-pack/plugins/fleet/public/services/generate_new_agent_policy.test.ts +++ b/x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts @@ -17,6 +17,7 @@ describe('generateNewAgentPolicyWithDefaults', () => { namespace: 'default', monitoring_enabled: ['logs', 'metrics'], inactivity_timeout: 1209600, + is_protected: false, }); }); @@ -26,6 +27,7 @@ describe('generateNewAgentPolicyWithDefaults', () => { description: 'test description', namespace: 'test-namespace', monitoring_enabled: ['logs'], + is_protected: true, }); expect(newAgentPolicy).toEqual({ @@ -34,6 +36,7 @@ describe('generateNewAgentPolicyWithDefaults', () => { namespace: 'test-namespace', monitoring_enabled: ['logs'], inactivity_timeout: 1209600, + is_protected: true, }); }); }); diff --git a/x-pack/plugins/fleet/public/services/generate_new_agent_policy.ts b/x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts similarity index 70% rename from x-pack/plugins/fleet/public/services/generate_new_agent_policy.ts rename to x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts index 94fdf5f26632c..58e01bb2748ee 100644 --- a/x-pack/plugins/fleet/public/services/generate_new_agent_policy.ts +++ b/x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { dataTypes } from '../../common/constants'; +import { dataTypes } from '../constants'; -import type { NewAgentPolicy } from '../types'; +import type { AgentPolicy, NewAgentPolicy } from '../types'; const TWO_WEEKS_SECONDS = 1209600; // create a new agent policy with the defaults set @@ -21,6 +21,16 @@ export function generateNewAgentPolicyWithDefaults( namespace: 'default', monitoring_enabled: Object.values(dataTypes), inactivity_timeout: TWO_WEEKS_SECONDS, + is_protected: false, ...overrideProps, }; } + +export function agentPolicyWithoutPaidFeatures( + agentPolicy: Partial +): Partial { + return { + ...agentPolicy, + is_protected: false, + }; +} diff --git a/x-pack/plugins/fleet/common/services/index.ts b/x-pack/plugins/fleet/common/services/index.ts index 671f416f0c972..6b392f506b4c6 100644 --- a/x-pack/plugins/fleet/common/services/index.ts +++ b/x-pack/plugins/fleet/common/services/index.ts @@ -64,3 +64,13 @@ export { getAllowedOutputTypeForPolicy } from './output_helpers'; export { agentStatusesToSummary } from './agent_statuses_to_summary'; export { policyHasFleetServer, policyHasAPMIntegration } from './agent_policies_helpers'; + +export { + generateNewAgentPolicyWithDefaults, + agentPolicyWithoutPaidFeatures, +} from './generate_new_agent_policy'; + +export { + isAgentPolicyValidForLicense, + unsetAgentPolicyAccordingToLicenseLevel, +} from './agent_policy_config'; diff --git a/x-pack/plugins/fleet/common/types/models/output.ts b/x-pack/plugins/fleet/common/types/models/output.ts index 665498cf8f322..95f353575afd6 100644 --- a/x-pack/plugins/fleet/common/types/models/output.ts +++ b/x-pack/plugins/fleet/common/types/models/output.ts @@ -7,10 +7,20 @@ import type { outputType } from '../../constants'; import type { ValueOf } from '..'; +import type { kafkaAuthType, kafkaCompressionType, kafkaSaslMechanism } from '../../constants'; +import type { kafkaPartitionType } from '../../constants'; +import type { kafkaTopicWhenType } from '../../constants'; +import type { kafkaAcknowledgeReliabilityLevel } from '../../constants'; export type OutputType = typeof outputType; +export type KafkaCompressionType = typeof kafkaCompressionType; +export type KafkaAuthType = typeof kafkaAuthType; +export type KafkaSaslMechanism = typeof kafkaSaslMechanism; +export type KafkaPartitionType = typeof kafkaPartitionType; +export type KafkaTopicWhenType = typeof kafkaTopicWhenType; +export type KafkaAcknowledgeReliabilityLevel = typeof kafkaAcknowledgeReliabilityLevel; -export interface NewOutput { +interface NewBaseOutput { is_default: boolean; is_default_monitoring: boolean; is_preconfigured?: boolean; @@ -30,6 +40,16 @@ export interface NewOutput { allow_edit?: string[]; } +export interface NewElasticsearchOutput extends NewBaseOutput { + type: OutputType['Elasticsearch']; +} + +export interface NewLogstashOutput extends NewBaseOutput { + type: OutputType['Logstash']; +} + +export type NewOutput = NewElasticsearchOutput | NewLogstashOutput | KafkaOutput; + export type Output = NewOutput & { id: string; }; @@ -46,3 +66,45 @@ export interface ShipperOutput { queue_flush_timeout?: number | null; max_batch_bytes?: number | null; } + +export interface KafkaOutput extends NewBaseOutput { + type: OutputType['Kafka']; + hosts?: string[]; + client_id?: string; + version?: string; + key?: string; + compression?: ValueOf; + compression_level?: number; + auth_type?: ValueOf; + username?: string; + password?: string; + sasl?: { + mechanism?: ValueOf; + }; + partition?: ValueOf; + random?: { + group_events?: number; + }; + round_robin?: { + group_events?: number; + }; + hash?: { + hash?: string; + random?: boolean; + }; + topics?: Array<{ + topic: string; + when?: { + type?: ValueOf; + condition?: string; + }; + }>; + headers?: Array<{ + key: string; + value: string; + }>; + timeout?: number; + broker_timeout?: number; + broker_ack_reliability?: ValueOf; + broker_buffer_size?: number; +} diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx index 4e371767c0ece..7abeb00dfb65d 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx @@ -22,11 +22,12 @@ import { FormattedMessage } from '@kbn/i18n-react'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; -import { generateNewAgentPolicyWithDefaults } from '../../../services'; import type { AgentPolicy, NewAgentPolicy } from '../../../types'; import { sendCreateAgentPolicy, useStartServices } from '../../../hooks'; +import { generateNewAgentPolicyWithDefaults } from '../../../../../../common/services/generate_new_agent_policy'; + import { agentPolicyFormValidation } from '.'; import { AgentPolicyAdvancedOptionsContent } from './agent_policy_advanced_fields'; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx index 0c51b78c8d1af..2c5a2c10ff0bc 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx @@ -8,14 +8,14 @@ import { useEffect, useState } from 'react'; import { i18n } from '@kbn/i18n'; +import { generateNewAgentPolicyWithDefaults } from '../../../../../../../../common/services/generate_new_agent_policy'; + import { sendCreateAgentPolicy, sendGetOneAgentPolicy, sendGetEnrollmentAPIKeys, } from '../../../../../../../hooks'; -import { generateNewAgentPolicyWithDefaults } from '../../../../../../../services'; - import type { AgentPolicy, NewAgentPolicy, EnrollmentAPIKey } from '../../../../../../../types'; interface UseGetAgentPolicyOrDefaultResponse { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx index cec6f96b0532a..12ac34bf9fbb5 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx @@ -401,6 +401,7 @@ describe('when on the package policy create page', () => { name: 'Agent policy 2', namespace: 'default', inactivity_timeout: 1209600, + is_protected: false, }, { withSysMonitoring: false } ); @@ -432,6 +433,7 @@ describe('when on the package policy create page', () => { name: 'Agent policy 2', namespace: 'default', inactivity_timeout: 1209600, + is_protected: false, }, { withSysMonitoring: true } ); diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx index c216135a8ffd3..9b26311699ea7 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx @@ -30,7 +30,6 @@ import { import { useCancelAddPackagePolicy } from '../hooks'; import { splitPkgKey } from '../../../../../../../common/services'; -import { generateNewAgentPolicyWithDefaults } from '../../../../services'; import type { NewAgentPolicy } from '../../../../types'; import { useConfig, sendGetAgentStatus, useGetPackageInfoByKeyQuery } from '../../../../hooks'; import { @@ -56,6 +55,8 @@ import { StepSelectHosts, } from '../components'; +import { generateNewAgentPolicyWithDefaults } from '../../../../../../../common/services/generate_new_agent_policy'; + import { CreatePackagePolicySinglePageLayout, PostInstallAddAgentModal } from './components'; import { useDevToolsRequest, useOnSubmit } from './hooks'; import { PostInstallCloudFormationModal } from './components/post_install_cloud_formation_modal'; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx index 2c48eac8923a8..09650bafdff3c 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx @@ -29,10 +29,8 @@ import { useAuthz, useStartServices, sendCreateAgentPolicy } from '../../../../h import { AgentPolicyForm, agentPolicyFormValidation } from '../../components'; import { DevtoolsRequestFlyoutButton } from '../../../../components'; import { generateCreateAgentPolicyDevToolsRequest } from '../../services'; -import { - ExperimentalFeaturesService, - generateNewAgentPolicyWithDefaults, -} from '../../../../services'; +import { ExperimentalFeaturesService } from '../../../../services'; +import { generateNewAgentPolicyWithDefaults } from '../../../../../../../common/services/generate_new_agent_policy'; const FlyoutWithHigherZIndex = styled(EuiFlyout)` z-index: ${(props) => props.theme.eui.euiZLevel5}; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx index 464c512ecf8e0..32e4f005c963a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx @@ -11,6 +11,8 @@ import { EuiBasicTable, EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiIconTip } f import type { EuiBasicTableColumn } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { outputType } from '../../../../../../../common/constants'; + import { useLink } from '../../../../hooks'; import type { Output } from '../../../../types'; @@ -136,6 +138,7 @@ export const OutputsTable: React.FunctionComponent = ({ defaultMessage: 'Edit', })} data-test-subj="editOutputBtn" + isDisabled={output.type === outputType.Kafka} // Kafka output is not supported yet but can be created via api /> diff --git a/x-pack/plugins/fleet/public/services/index.ts b/x-pack/plugins/fleet/public/services/index.ts index d8e7a3697a66e..1da10c7384cdc 100644 --- a/x-pack/plugins/fleet/public/services/index.ts +++ b/x-pack/plugins/fleet/public/services/index.ts @@ -48,6 +48,5 @@ export { isPackageUpdatable } from './is_package_updatable'; export { pkgKeyFromPackageInfo } from './pkg_key_from_package_info'; export { createExtensionRegistrationCallback } from './ui_extensions'; export { incrementPolicyName } from './increment_policy_name'; -export { generateNewAgentPolicyWithDefaults } from './generate_new_agent_policy'; export { getCloudFormationTemplateUrlFromPackagePolicy } from './get_cloud_formation_template_url_from_package_policy'; export { getCloudFormationTemplateUrlFromAgentPolicy } from './get_cloud_formation_template_url_from_agent_policy'; diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index 1dceeda1ccb38..94f56c813dc62 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -127,6 +127,7 @@ import { } from './services/security/uninstall_token_service'; import { FleetActionsClient, type FleetActionsClientInterface } from './services/actions'; import type { FilesClientFactory } from './services/files/types'; +import { PolicyWatcher } from './services/agent_policy_watch'; export interface FleetSetupDeps { security: SecurityPluginSetup; @@ -256,6 +257,7 @@ export class FleetPlugin private agentService?: AgentService; private packageService?: PackageService; private packagePolicyService?: PackagePolicyService; + private policyWatcher?: PolicyWatcher; constructor(private readonly initializerContext: PluginInitializerContext) { this.config$ = this.initializerContext.config.create(); @@ -491,7 +493,6 @@ export class FleetPlugin uninstallTokenService, }); licenseService.start(plugins.licensing.license$); - this.telemetryEventsSender.start(plugins.telemetry, core); this.bulkActionsResolver?.start(plugins.taskManager); this.fleetUsageSender?.start(plugins.taskManager); @@ -500,6 +501,10 @@ export class FleetPlugin const logger = appContextService.getLogger(); + this.policyWatcher = new PolicyWatcher(core.savedObjects, core.elasticsearch, logger); + + this.policyWatcher.start(licenseService); + const fleetSetupPromise = (async () => { try { // Fleet remains `available` during setup as to excessively delay Kibana's boot process. @@ -591,6 +596,7 @@ export class FleetPlugin public async stop() { appContextService.stop(); + this.policyWatcher?.stop(); licenseService.stop(); this.telemetryEventsSender.stop(); this.fleetStatus$.complete(); diff --git a/x-pack/plugins/fleet/server/routes/output/handler.ts b/x-pack/plugins/fleet/server/routes/output/handler.ts index 71e30b84677c5..d90ed9ddf11de 100644 --- a/x-pack/plugins/fleet/server/routes/output/handler.ts +++ b/x-pack/plugins/fleet/server/routes/output/handler.ts @@ -66,7 +66,7 @@ export const getOneOuputHandler: RequestHandler< } }; -export const putOuputHandler: RequestHandler< +export const putOutputHandler: RequestHandler< TypeOf, undefined, TypeOf @@ -99,7 +99,7 @@ export const putOuputHandler: RequestHandler< } }; -export const postOuputHandler: RequestHandler< +export const postOutputHandler: RequestHandler< undefined, undefined, TypeOf diff --git a/x-pack/plugins/fleet/server/routes/output/index.ts b/x-pack/plugins/fleet/server/routes/output/index.ts index 827fca7c9444a..330d9f57cc653 100644 --- a/x-pack/plugins/fleet/server/routes/output/index.ts +++ b/x-pack/plugins/fleet/server/routes/output/index.ts @@ -20,8 +20,8 @@ import { deleteOutputHandler, getOneOuputHandler, getOutputsHandler, - postOuputHandler, - putOuputHandler, + postOutputHandler, + putOutputHandler, postLogstashApiKeyHandler, } from './handler'; @@ -54,7 +54,7 @@ export const registerRoutes = (router: FleetAuthzRouter) => { fleet: { all: true }, }, }, - putOuputHandler + putOutputHandler ); router.post( @@ -65,7 +65,7 @@ export const registerRoutes = (router: FleetAuthzRouter) => { fleet: { all: true }, }, }, - postOuputHandler + postOutputHandler ); router.delete( diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/plugins/fleet/server/saved_objects/index.ts index 48a997a180365..6bdd53194f102 100644 --- a/x-pack/plugins/fleet/server/saved_objects/index.ts +++ b/x-pack/plugins/fleet/server/saved_objects/index.ts @@ -164,6 +164,64 @@ const getSavedObjectTypes = (): { [key: string]: SavedObjectsType } => ({ properties: {}, }, allow_edit: { enabled: false }, + version: { type: 'keyword' }, + key: { type: 'keyword' }, + compression: { type: 'keyword' }, + compression_level: { type: 'integer' }, + client_id: { type: 'keyword' }, + auth_type: { type: 'keyword' }, + username: { type: 'keyword' }, + password: { type: 'text', index: false }, + sasl: { + dynamic: false, + properties: { + mechanism: { type: 'text' }, + }, + }, + partition: { type: 'keyword' }, + random: { + dynamic: false, + properties: { + group_events: { type: 'integer' }, + }, + }, + round_robin: { + dynamic: false, + properties: { + group_events: { type: 'integer' }, + }, + }, + hash: { + dynamic: false, + properties: { + hash: { type: 'text' }, + random: { type: 'boolean' }, + }, + }, + topics: { + dynamic: false, + properties: { + topic: { type: 'keyword' }, + when: { + dynamic: false, + properties: { + type: { type: 'text' }, + condition: { type: 'text' }, + }, + }, + }, + }, + headers: { + dynamic: false, + properties: { + key: { type: 'text' }, + value: { type: 'text' }, + }, + }, + timeout: { type: 'integer' }, + broker_timeout: { type: 'integer' }, + broker_ack_reliability: { type: 'text' }, + broker_buffer_size: { type: 'integer' }, }, }, migrations: { diff --git a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts b/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts index 43a8be265e9c6..5b76ebb6eb472 100644 --- a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts +++ b/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts @@ -272,6 +272,55 @@ export function transformOutputToFullPolicyOutput( const isShipperDisabled = !configJs?.shipper || configJs?.shipper?.enabled === false; let shipperDiskQueueData = {}; let generalShipperData; + let kafkaData = {}; + + if (type === outputType.Kafka) { + /* eslint-disable @typescript-eslint/naming-convention */ + const { + client_id, + version, + key, + compression, + compression_level, + auth_type, + username, + password, + sasl, + partition, + random, + round_robin, + hash, + topics, + headers, + timeout, + broker_timeout, + broker_buffer_size, + broker_ack_reliability, + } = output; + /* eslint-enable @typescript-eslint/naming-convention */ + + kafkaData = { + client_id, + version, + key, + compression, + compression_level, + auth_type, + username, + password, + sasl, + partition, + random, + round_robin, + hash, + topics, + headers, + timeout, + broker_timeout, + broker_buffer_size, + broker_ack_reliability, + }; + } if (shipper) { if (!isShipperDisabled) { @@ -301,6 +350,7 @@ export function transformOutputToFullPolicyOutput( ...shipperDiskQueueData, type, hosts, + ...kafkaData, ...(!isShipperDisabled ? generalShipperData : {}), ...(ca_sha256 ? { ca_sha256 } : {}), ...(ssl ? { ssl } : {}), diff --git a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts b/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts index 4873d2aa21426..d93bb965295ef 100644 --- a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts +++ b/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts @@ -36,8 +36,11 @@ export async function getDataOutputForAgentPolicy( /** * Validate outputs are valid for a policy using the current kibana licence or throw. - * @param data * @returns + * @param soClient + * @param newData + * @param existingData + * @param allowedOutputTypeForPolicy */ export async function validateOutputForPolicy( soClient: SavedObjectsClientContract, diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts b/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts new file mode 100644 index 0000000000000..0f3e1d73cf5f5 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts @@ -0,0 +1,114 @@ +/* + * 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 { + elasticsearchServiceMock, + loggingSystemMock, + savedObjectsServiceMock, +} from '@kbn/core/server/mocks'; +import { licenseMock } from '@kbn/licensing-plugin/common/licensing.mock'; +import type { ILicense } from '@kbn/licensing-plugin/common/types'; +import { Subject } from 'rxjs'; + +import { LicenseService } from '../../common/services'; + +import { createAgentPolicyMock } from '../../common/mocks'; + +import { PolicyWatcher } from './agent_policy_watch'; +import { agentPolicyService } from './agent_policy'; + +jest.mock('./agent_policy'); + +const agentPolicySvcMock = agentPolicyService as jest.Mocked; + +describe('Agent Policy-Changing license watcher', () => { + const logger = loggingSystemMock.create().get('license_watch.test'); + const soStartMock = savedObjectsServiceMock.createStartContract(); + const esStartMock = elasticsearchServiceMock.createStart(); + + const Platinum = licenseMock.createLicense({ license: { type: 'platinum', mode: 'platinum' } }); + const Gold = licenseMock.createLicense({ license: { type: 'gold', mode: 'gold' } }); + const Basic = licenseMock.createLicense({ license: { type: 'basic', mode: 'basic' } }); + + it('is activated on license changes', () => { + // mock a license-changing service to test reactivity + const licenseEmitter: Subject = new Subject(); + const licenseService = new LicenseService(); + const pw = new PolicyWatcher(soStartMock, esStartMock, logger); + + // swap out watch function, just to ensure it gets called when a license change happens + const mockWatch = jest.fn(); + pw.watch = mockWatch; + + // licenseService is watching our subject for incoming licenses + licenseService.start(licenseEmitter); + pw.start(licenseService); // and the PolicyWatcher under test, uses that to subscribe as well + + // Enqueue a license change! + licenseEmitter.next(Platinum); + + // policywatcher should have triggered + expect(mockWatch.mock.calls.length).toBe(1); + + pw.stop(); + licenseService.stop(); + licenseEmitter.complete(); + }); + + it('pages through all agent policies', async () => { + const TOTAL = 247; + + // set up the mocked agent policy service to return and do what we want + agentPolicySvcMock.list + .mockResolvedValueOnce({ + items: Array.from({ length: 100 }, () => createAgentPolicyMock()), + total: TOTAL, + page: 1, + perPage: 100, + }) + .mockResolvedValueOnce({ + items: Array.from({ length: 100 }, () => createAgentPolicyMock()), + total: TOTAL, + page: 2, + perPage: 100, + }) + .mockResolvedValueOnce({ + items: Array.from({ length: TOTAL - 200 }, () => createAgentPolicyMock()), + total: TOTAL, + page: 3, + perPage: 100, + }); + + const pw = new PolicyWatcher(soStartMock, esStartMock, logger); + await pw.watch(Gold); // just manually trigger with a given license + + expect(agentPolicySvcMock.list.mock.calls.length).toBe(3); // should have asked for 3 pages of resuts + + // Assert: on the first call to agentPolicy.list, we asked for page 1 + expect(agentPolicySvcMock.list.mock.calls[0][1].page).toBe(1); + expect(agentPolicySvcMock.list.mock.calls[1][1].page).toBe(2); // second call, asked for page 2 + expect(agentPolicySvcMock.list.mock.calls[2][1].page).toBe(3); // etc + }); + + it('alters no-longer-licensed features', async () => { + // mock an agent policy with agent tamper protection enabled + agentPolicySvcMock.list.mockResolvedValueOnce({ + items: [createAgentPolicyMock({ is_protected: true })], + total: 1, + page: 1, + perPage: 100, + }); + + const pw = new PolicyWatcher(soStartMock, esStartMock, logger); + + // emulate a license change below paid tier + await pw.watch(Basic); + + expect(agentPolicySvcMock.update).toHaveBeenCalled(); + expect(agentPolicySvcMock.update.mock.calls[0][3].is_protected).toEqual(false); + }); +}); diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.ts b/x-pack/plugins/fleet/server/services/agent_policy_watch.ts new file mode 100644 index 0000000000000..1e10230a9acf8 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/agent_policy_watch.ts @@ -0,0 +1,143 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Subscription } from 'rxjs'; +import type { + ElasticsearchClient, + ElasticsearchServiceStart, + KibanaRequest, + Logger, + SavedObjectsClientContract, + SavedObjectsServiceStart, +} from '@kbn/core/server'; +import { SECURITY_EXTENSION_ID } from '@kbn/core-saved-objects-server'; +import type { ILicense } from '@kbn/licensing-plugin/common/types'; + +import { pick } from 'lodash'; + +import type { LicenseService } from '../../common/services/license'; + +import type { AgentPolicy } from '../../common'; +import { AGENT_POLICY_SAVED_OBJECT_TYPE } from '../../common'; +import { + isAgentPolicyValidForLicense, + unsetAgentPolicyAccordingToLicenseLevel, +} from '../../common/services/agent_policy_config'; + +import { agentPolicyService } from './agent_policy'; + +export class PolicyWatcher { + private logger: Logger; + private esClient: ElasticsearchClient; + private subscription: Subscription | undefined; + private soStart: SavedObjectsServiceStart; + constructor( + soStart: SavedObjectsServiceStart, + esStart: ElasticsearchServiceStart, + logger: Logger + ) { + this.esClient = esStart.client.asInternalUser; + this.logger = logger; + this.soStart = soStart; + } + + /** + * The policy watcher is not called as part of a HTTP request chain, where the + * request-scoped SOClient could be passed down. It is called via license observable + * changes. We are acting as the 'system' in response to license changes, so we are + * intentionally using the system user here. Be very aware of what you are using this + * client to do + */ + private makeInternalSOClient(soStart: SavedObjectsServiceStart): SavedObjectsClientContract { + const fakeRequest = { + headers: {}, + getBasePath: () => '', + path: '/', + route: { settings: {} }, + url: { href: {} }, + raw: { req: { url: '/' } }, + } as unknown as KibanaRequest; + return soStart.getScopedClient(fakeRequest, { excludedExtensions: [SECURITY_EXTENSION_ID] }); + } + + public start(licenseService: LicenseService) { + this.subscription = licenseService.getLicenseInformation$()?.subscribe(this.watch.bind(this)); + } + + public stop() { + if (this.subscription) { + this.subscription.unsubscribe(); + } + } + + public async watch(license: ILicense) { + let page = 1; + let response: { + items: AgentPolicy[]; + total: number; + page: number; + perPage: number; + }; + + do { + try { + response = await agentPolicyService.list(this.makeInternalSOClient(this.soStart), { + page: page++, + perPage: 100, + kuery: AGENT_POLICY_SAVED_OBJECT_TYPE, + }); + } catch (e) { + this.logger.warn( + `Unable to verify agent policies in line with license change: failed to fetch agent policies: ${e.message}` + ); + return; + } + const updatedPolicyIds: string[] = []; + for (const policy of response.items as AgentPolicy[]) { + let updatePolicy = pick(policy, ['is_protected']) as Partial; + + try { + if (!isAgentPolicyValidForLicense(updatePolicy, license)) { + updatePolicy = unsetAgentPolicyAccordingToLicenseLevel(updatePolicy, license); + try { + this.logger.info('Updating agent policies per license change'); + await agentPolicyService.update( + this.makeInternalSOClient(this.soStart), + this.esClient, + policy.id, + updatePolicy + ); + // accumulate list of policies updated + updatedPolicyIds.push(policy.id); + } catch (e) { + // try again for transient issues + try { + await agentPolicyService.update( + this.makeInternalSOClient(this.soStart), + this.esClient, + policy.id, + updatePolicy + ); + } catch (ee) { + this.logger.warn( + `Unable to remove platinum features from agent policy ${policy.id}` + ); + this.logger.warn(ee); + } + } + } + } catch (error) { + this.logger.warn( + `Failure while attempting to verify features for agent policy [${policy.id}]` + ); + this.logger.warn(error); + } + } + this.logger.info(`Agent policies updated by license change: [${updatedPolicyIds.join()}]`); + } while (response.page * response.perPage < response.total); + } +} diff --git a/x-pack/plugins/fleet/server/services/output.test.ts b/x-pack/plugins/fleet/server/services/output.test.ts index 588f686a6eaf7..7c0076abfc653 100644 --- a/x-pack/plugins/fleet/server/services/output.test.ts +++ b/x-pack/plugins/fleet/server/services/output.test.ts @@ -109,6 +109,13 @@ function getMockedSoClient( }); } + case outputIdToUuid('existing-kafka-output'): { + return mockOutputSO('existing-kafka-output', { + type: 'kafka', + is_default: false, + }); + } + case outputIdToUuid('existing-es-output'): { return mockOutputSO('existing-es-output', { type: 'elasticsearch', @@ -194,6 +201,37 @@ function getMockedSoClient( describe('Output Service', () => { const esClientMock = elasticsearchServiceMock.createElasticsearchClient(); + const mockedAgentPolicyResolvedValue = { + items: [ + { + name: 'fleet server policy', + id: 'fleet_server_policy', + is_default_fleet_server: true, + package_policies: [ + { + name: 'fleet-server-123', + package: { + name: 'fleet_server', + }, + }, + ], + }, + { + name: 'agent policy 1', + id: 'agent_policy_1', + is_managed: false, + package_policies: [ + { + name: 'nginx', + package: { + name: 'nginx', + }, + }, + ], + }, + ], + } as unknown as ReturnType; + beforeEach(() => { mockedAgentPolicyService.list.mockClear(); mockedAgentPolicyService.hasAPMIntegration.mockClear(); @@ -408,36 +446,7 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue({ - items: [ - { - name: 'fleet server policy', - id: 'fleet_server_policy', - is_default_fleet_server: true, - package_policies: [ - { - name: 'fleet-server-123', - package: { - name: 'fleet_server', - }, - }, - ], - }, - { - name: 'agent policy 1', - id: 'agent_policy_1', - is_managed: false, - package_policies: [ - { - name: 'nginx', - package: { - name: 'nginx', - }, - }, - ], - }, - ], - } as unknown as ReturnType); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -468,36 +477,7 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue({ - items: [ - { - name: 'fleet server policy', - id: 'fleet_server_policy', - is_default_fleet_server: true, - package_policies: [ - { - name: 'fleet-server-123', - package: { - name: 'fleet_server', - }, - }, - ], - }, - { - name: 'agent policy 1', - id: 'agent_policy_1', - is_managed: false, - package_policies: [ - { - name: 'nginx', - package: { - name: 'nginx', - }, - }, - ], - }, - ], - } as unknown as ReturnType); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -534,6 +514,61 @@ describe('Output Service', () => { savedObjectType: OUTPUT_SAVED_OBJECT_TYPE, }); }); + + // With kafka output + it('Should update fleet server policies with data_output_id=default_output_id if a new default kafka output is created', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ + canEncrypt: true, + } as any); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); + + await outputService.create( + soClient, + esClientMock, + { + is_default: true, + is_default_monitoring: false, + name: 'Test', + type: 'kafka', + }, + { id: 'output-1' } + ); + + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'fleet_server_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + + it('Should allow to create a new kafka output with no errors if is not set as default', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ + canEncrypt: true, + } as any); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); + + await outputService.create( + soClient, + esClientMock, + { + is_default: false, + is_default_monitoring: false, + name: 'Test', + type: 'kafka', + }, + { id: 'output-1' } + ); + }); }); describe('update', () => { @@ -744,6 +779,44 @@ describe('Output Service', () => { }); }); + it('Should delete Kafka specific fields if the output type change to ES', async () => { + const soClient = getMockedSoClient({}); + mockedAgentPolicyService.list.mockResolvedValue({ + items: [{}], + } as unknown as ReturnType); + mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); + + await outputService.update(soClient, esClientMock, 'existing-kafka-output', { + type: 'elasticsearch', + hosts: ['http://test:4343'], + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'elasticsearch', + hosts: ['http://test:4343'], + auth_type: null, + broker_timeout: null, + broker_ack_reliability: null, + broker_buffer_size: null, + client_id: null, + compression: null, + compression_level: null, + hash: null, + key: null, + partition: null, + password: null, + random: null, + round_robin: null, + sasl: null, + ssl: null, + timeout: null, + topics: null, + headers: null, + username: null, + version: null, + }); + }); + // With logstash output it('Should work if you try to make that output the default output and no policies using default output has APM integration', async () => { const soClient = getMockedSoClient({}); @@ -784,7 +857,7 @@ describe('Output Service', () => { }); }); - it('Should throw if you try to make that output the default output and somne policies using default output has APM integration', async () => { + it('Should throw if you try to make that output the default output and some policies using default output has APM integration', async () => { const soClient = getMockedSoClient({}); mockedAgentPolicyService.list.mockResolvedValue({ items: [{}], @@ -819,6 +892,46 @@ describe('Output Service', () => { }); }); + it('Should delete Kafka specific fields if the output type changes to logstash', async () => { + const soClient = getMockedSoClient({}); + mockedAgentPolicyService.list.mockResolvedValue({ + items: [{}], + } as unknown as ReturnType); + mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + + await outputService.update(soClient, esClientMock, 'existing-kafka-output', { + type: 'logstash', + hosts: ['test:4343'], + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'logstash', + hosts: ['test:4343'], + ca_sha256: null, + ca_trusted_fingerprint: null, + auth_type: null, + broker_timeout: null, + broker_ack_reliability: null, + broker_buffer_size: null, + client_id: null, + compression: null, + compression_level: null, + hash: null, + key: null, + partition: null, + password: null, + random: null, + round_robin: null, + sasl: null, + timeout: null, + topics: null, + headers: null, + username: null, + version: null, + }); + }); + it('Should update fleet server policies with data_output_id=default_output_id if a default ES output is changed to logstash', async () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', @@ -1000,6 +1113,152 @@ describe('Output Service', () => { savedObjectType: OUTPUT_SAVED_OBJECT_TYPE, }); }); + + // With Kafka output + + it('Should delete ES specific fields if the output type changes to kafka', async () => { + const soClient = getMockedSoClient({}); + mockedAgentPolicyService.list.mockResolvedValue({ + items: [{}], + } as unknown as ReturnType); + mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + + await outputService.update(soClient, esClientMock, 'existing-es-output', { + type: 'kafka', + hosts: ['test:4343'], + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'kafka', + hosts: ['test:4343'], + ca_sha256: null, + ca_trusted_fingerprint: null, + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + version: '1.0.0', + }); + }); + + it('Should delete Logstash specific fields if the output type changes to kafka', async () => { + const soClient = getMockedSoClient({}); + mockedAgentPolicyService.list.mockResolvedValue({ + items: [{}], + } as unknown as ReturnType); + mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + + await outputService.update(soClient, esClientMock, 'existing-logstash-output', { + type: 'kafka', + hosts: ['test:4343'], + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + hosts: ['test:4343'], + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + ca_sha256: null, + ca_trusted_fingerprint: null, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + type: 'kafka', + version: '1.0.0', + }); + }); + + it('Should update fleet server policies with data_output_id=default_output_id if a default ES output is changed to kafka', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); + + await outputService.update(soClient, esClientMock, 'output-test', { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + version: '1.0.0', + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'fleet_server_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + + it('Should update fleet server policies with data_output_id=default_output_id and force=true if a default ES output is changed to kafka, from preconfiguration', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); + + await outputService.update( + soClient, + esClientMock, + 'output-test', + { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + }, + { + fromPreconfiguration: true, + } + ); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + version: '1.0.0', + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'fleet_server_policy', + { data_output_id: 'output-test' }, + { force: true } + ); + }); }); describe('delete', () => { diff --git a/x-pack/plugins/fleet/server/services/output.ts b/x-pack/plugins/fleet/server/services/output.ts index afa92127dae97..a9e546d878fb5 100644 --- a/x-pack/plugins/fleet/server/services/output.ts +++ b/x-pack/plugins/fleet/server/services/output.ts @@ -17,14 +17,29 @@ import type { } from '@kbn/core/server'; import { SavedObjectsUtils } from '@kbn/core/server'; -import type { AgentPolicy, NewOutput, Output, OutputSOAttributes } from '../types'; +import _ from 'lodash'; + +import type { + NewOutput, + Output, + OutputSOAttributes, + AgentPolicy, + OutputSoKafkaAttributes, +} from '../types'; import { AGENT_POLICY_SAVED_OBJECT_TYPE, DEFAULT_OUTPUT, DEFAULT_OUTPUT_ID, OUTPUT_SAVED_OBJECT_TYPE, } from '../constants'; -import { outputType, SO_SEARCH_LIMIT } from '../../common/constants'; +import { + SO_SEARCH_LIMIT, + outputType, + kafkaSaslMechanism, + kafkaPartitionType, + kafkaCompressionType, + kafkaAcknowledgeReliabilityLevel, +} from '../../common/constants'; import { normalizeHostsForAgents } from '../../common/services'; import { FleetEncryptedSavedObjectEncryptionKeyRequired, @@ -32,6 +47,8 @@ import { OutputUnauthorizedError, } from '../errors'; +import type { OutputType } from '../types'; + import { agentPolicyService } from './agent_policy'; import { appContextService } from './app_context'; import { escapeSearchQueryPhrase } from './saved_object'; @@ -151,11 +168,16 @@ async function findPoliciesWithFleetServer( return []; } -function validateLogstashOutputNotUsedInFleetServerPolicy(agentPolicies: AgentPolicy[]) { +function validateOutputNotUsedInFleetServerPolicy( + agentPolicies: AgentPolicy[], + dataOutputType: OutputType['Logstash'] | OutputType['Kafka'] +) { // Validate no policy with fleet server use that policy for (const agentPolicy of agentPolicies) { throw new OutputInvalidError( - `Logstash output cannot be used with Fleet Server integration in ${agentPolicy.name}. Please create a new ElasticSearch output.` + `${_.capitalize(dataOutputType)} output cannot be used with Fleet Server integration in ${ + agentPolicy.name + }. Please create a new ElasticSearch output.` ); } } @@ -175,10 +197,13 @@ async function validateTypeChanges( if (data.type === outputType.Logstash || originalOutput.type === outputType.Logstash) { await validateLogstashOutputNotUsedInAPMPolicy(soClient, id, mergedIsDefault); } - // prevent changing an ES output to logstash if it's used by fleet server policies - if (originalOutput.type === outputType.Elasticsearch && data?.type === outputType.Logstash) { + // prevent changing an ES output to logstash or kafka if it's used by fleet server policies + if ( + originalOutput.type === outputType.Elasticsearch && + (data?.type === outputType.Logstash || data?.type === outputType.Kafka) + ) { // Validate no policy with fleet server use that policy - validateLogstashOutputNotUsedInFleetServerPolicy(fleetServerPolicies); + validateOutputNotUsedInFleetServerPolicy(fleetServerPolicies, data.type); } await updateFleetServerPoliciesDataOutputId( soClient, @@ -203,7 +228,7 @@ async function updateFleetServerPoliciesDataOutputId( // if a logstash output is updated to become default // if fleet server policies don't have data_output_id // update them to use the default output - if (data?.type === outputType.Logstash && isDefault) { + if ((data?.type === outputType.Logstash || data?.type === outputType.Kafka) && isDefault) { for (const policy of fleetServerPolicies) { if (!policy.data_output_id) { await agentPolicyService.update( @@ -440,6 +465,7 @@ class OutputService { if (!output.config_yaml && output.shipper) { data.shipper = null; } + if (output.config_yaml) { const configJs = safeLoad(output.config_yaml); const isShipperDisabled = !configJs?.shipper || configJs?.shipper?.enabled === false; @@ -449,6 +475,54 @@ class OutputService { } } + if (output.type === outputType.Kafka && data.type === outputType.Kafka) { + if (!output.version) { + data.version = '1.0.0'; + } + if (!output.compression) { + data.compression = kafkaCompressionType.Gzip; + } + if ( + !output.compression || + (output.compression === kafkaCompressionType.Gzip && !output.compression_level) + ) { + data.compression_level = 4; + } + if (!output.client_id) { + data.client_id = 'Elastic Agent'; + } + if (output.username && output.password && !output.sasl?.mechanism) { + data.sasl = { + mechanism: kafkaSaslMechanism.Plain, + }; + } + if (!output.partition) { + data.partition = kafkaPartitionType.Hash; + } + if (output.partition === kafkaPartitionType.Random && !output.random?.group_events) { + data.random = { + group_events: 1, + }; + } + if (output.partition === kafkaPartitionType.RoundRobin && !output.round_robin?.group_events) { + data.round_robin = { + group_events: 1, + }; + } + if (!output.timeout) { + data.timeout = 30; + } + if (!output.broker_timeout) { + data.broker_timeout = 10; + } + if (!output.broker_ack_reliability) { + data.broker_ack_reliability = kafkaAcknowledgeReliabilityLevel.Commit; + } + if (!output.broker_buffer_size) { + data.broker_buffer_size = 256; + } + } + const id = options?.id ? outputIdToUuid(options.id) : SavedObjectsUtils.generateId(); auditLoggingService.writeCustomSoAuditLog({ @@ -629,16 +703,98 @@ class OutputService { fromPreconfiguration ); + const removeKafkaFields = (target: Nullable>) => { + target.version = null; + target.key = null; + target.compression = null; + target.compression_level = null; + target.client_id = null; + target.auth_type = null; + target.username = null; + target.password = null; + target.sasl = null; + target.partition = null; + target.random = null; + target.round_robin = null; + target.hash = null; + target.topics = null; + target.headers = null; + target.timeout = null; + target.broker_timeout = null; + target.broker_ack_reliability = null; + target.broker_buffer_size = null; + }; + // If the output type changed if (data.type && data.type !== originalOutput.type) { + if ( + (data.type === outputType.Elasticsearch || data.type === outputType.Logstash) && + originalOutput.type === outputType.Kafka + ) { + removeKafkaFields(updateData as Nullable); + } + if (data.type === outputType.Logstash) { // remove ES specific field updateData.ca_trusted_fingerprint = null; updateData.ca_sha256 = null; - } else { + } + + if (data.type === outputType.Elasticsearch) { // remove logstash specific field updateData.ssl = null; } + + if (data.type === outputType.Kafka && updateData.type === outputType.Kafka) { + updateData.ca_trusted_fingerprint = null; + updateData.ca_sha256 = null; + + if (!data.version) { + updateData.version = '1.0.0'; + } + if (!data.compression) { + updateData.compression = kafkaCompressionType.Gzip; + } + if ( + !data.compression || + (data.compression === kafkaCompressionType.Gzip && !data.compression_level) + ) { + updateData.compression_level = 4; + } + if (!data.client_id) { + updateData.client_id = 'Elastic Agent'; + } + if (data.username && data.password && !data.sasl?.mechanism) { + updateData.sasl = { + mechanism: kafkaSaslMechanism.Plain, + }; + } + if (!data.partition) { + updateData.partition = kafkaPartitionType.Hash; + } + if (data.partition === kafkaPartitionType.Random && !data.random?.group_events) { + updateData.random = { + group_events: 1, + }; + } + if (data.partition === kafkaPartitionType.RoundRobin && !data.round_robin?.group_events) { + updateData.round_robin = { + group_events: 1, + }; + } + if (!data.timeout) { + updateData.timeout = 30; + } + if (!data.broker_timeout) { + updateData.broker_timeout = 10; + } + if (!data.broker_ack_reliability) { + updateData.broker_ack_reliability = kafkaAcknowledgeReliabilityLevel.Commit; + } + if (!data.broker_buffer_size) { + updateData.broker_buffer_size = 256; + } + } } if (data.ssl) { diff --git a/x-pack/plugins/fleet/server/types/models/output.ts b/x-pack/plugins/fleet/server/types/models/output.ts index df04dc0380d9d..2b9a13b225ce9 100644 --- a/x-pack/plugins/fleet/server/types/models/output.ts +++ b/x-pack/plugins/fleet/server/types/models/output.ts @@ -7,7 +7,15 @@ import { schema } from '@kbn/config-schema'; -import { outputType } from '../../../common/constants'; +import { + kafkaAcknowledgeReliabilityLevel, + kafkaAuthType, + kafkaCompressionType, + kafkaPartitionType, + kafkaSaslMechanism, + kafkaTopicWhenType, + outputType, +} from '../../../common/constants'; export function validateLogstashHost(val: string) { if (val.match(/^http([s]){0,1}:\/\//)) { @@ -25,23 +33,13 @@ export function validateLogstashHost(val: string) { } } -const OutputBaseSchema = { +/** + * Base schemas + */ + +const BaseSchema = { id: schema.maybe(schema.string()), name: schema.string(), - type: schema.oneOf([ - schema.literal(outputType.Elasticsearch), - schema.literal(outputType.Logstash), - ]), - hosts: schema.conditional( - schema.siblingRef('type'), - schema.literal(outputType.Elasticsearch), - schema.arrayOf(schema.uri({ scheme: ['http', 'https'] }), { - minSize: 1, - }), - schema.arrayOf(schema.string({ validate: validateLogstashHost }), { - minSize: 1, - }) - ), is_default: schema.boolean({ defaultValue: false }), is_default_monitoring: schema.boolean({ defaultValue: false }), ca_sha256: schema.maybe(schema.string()), @@ -71,49 +69,175 @@ const OutputBaseSchema = { ), }; -export const NewOutputSchema = schema.object({ ...OutputBaseSchema }); - -export const UpdateOutputSchema = schema.object({ +const UpdateSchema = { + ...BaseSchema, name: schema.maybe(schema.string()), - type: schema.maybe( - schema.oneOf([schema.literal(outputType.Elasticsearch), schema.literal(outputType.Logstash)]) - ), + is_default: schema.maybe(schema.boolean()), + is_default_monitoring: schema.maybe(schema.boolean()), +}; + +/** + * Elasticsearch schemas + */ + +export const ElasticSearchSchema = { + ...BaseSchema, + type: schema.literal(outputType.Elasticsearch), + hosts: schema.arrayOf(schema.uri({ scheme: ['http', 'https'] }), { minSize: 1 }), +}; + +const ElasticSearchUpdateSchema = { + ...UpdateSchema, + type: schema.maybe(schema.literal(outputType.Elasticsearch)), + hosts: schema.maybe(schema.arrayOf(schema.uri({ scheme: ['http', 'https'] }), { minSize: 1 })), +}; + +/** + * Logstash schemas + */ + +export const LogstashSchema = { + ...BaseSchema, + type: schema.literal(outputType.Logstash), + hosts: schema.arrayOf(schema.string({ validate: validateLogstashHost }), { minSize: 1 }), +}; + +const LogstashUpdateSchema = { + ...UpdateSchema, + type: schema.maybe(schema.literal(outputType.Logstash)), hosts: schema.maybe( + schema.arrayOf(schema.string({ validate: validateLogstashHost }), { minSize: 1 }) + ), +}; + +/** + * Kafka schemas + */ + +const KafkaTopicsSchema = schema.arrayOf( + schema.object({ + topic: schema.string(), + when: schema.maybe( + schema.object({ + type: schema.maybe( + schema.oneOf([ + schema.literal(kafkaTopicWhenType.And), + schema.literal(kafkaTopicWhenType.Not), + schema.literal(kafkaTopicWhenType.Or), + schema.literal(kafkaTopicWhenType.Equals), + schema.literal(kafkaTopicWhenType.Contains), + schema.literal(kafkaTopicWhenType.Regexp), + schema.literal(kafkaTopicWhenType.HasFields), + schema.literal(kafkaTopicWhenType.Network), + schema.literal(kafkaTopicWhenType.Range), + ]) + ), + condition: schema.maybe(schema.string()), + }) + ), + }), + { minSize: 1 } +); + +export const KafkaSchema = { + ...BaseSchema, + type: schema.literal(outputType.Kafka), + hosts: schema.arrayOf(schema.uri({ scheme: ['http', 'https'] }), { minSize: 1 }), + version: schema.maybe(schema.string()), + key: schema.maybe(schema.string()), + compression: schema.maybe( schema.oneOf([ - schema.arrayOf(schema.uri({ scheme: ['http', 'https'] })), - schema.arrayOf(schema.string({ validate: validateLogstashHost })), + schema.literal(kafkaCompressionType.Gzip), + schema.literal(kafkaCompressionType.Snappy), + schema.literal(kafkaCompressionType.Lz4), ]) ), - is_default: schema.maybe(schema.boolean()), - is_default_monitoring: schema.maybe(schema.boolean()), - ca_sha256: schema.maybe(schema.string()), - ca_trusted_fingerprint: schema.maybe(schema.string()), - config_yaml: schema.maybe(schema.string()), - ssl: schema.maybe( - schema.object({ - certificate_authorities: schema.maybe(schema.arrayOf(schema.string())), - certificate: schema.maybe(schema.string()), - key: schema.maybe(schema.string()), - }) + compression_level: schema.conditional( + schema.siblingRef('compression'), + schema.string(), + schema.number(), + schema.never() ), - proxy_id: schema.nullable(schema.string()), - shipper: schema.maybe( + client_id: schema.maybe(schema.string()), + auth_type: schema.oneOf([ + schema.literal(kafkaAuthType.Userpass), + schema.literal(kafkaAuthType.Ssl), + schema.literal(kafkaAuthType.Kerberos), + ]), + username: schema.conditional( + schema.siblingRef('auth_type'), + kafkaAuthType.Userpass, + schema.string(), + schema.never() + ), + password: schema.conditional( + schema.siblingRef('username'), + schema.string(), + schema.string(), + schema.never() + ), + sasl: schema.maybe( schema.object({ - disk_queue_enabled: schema.nullable(schema.boolean({ defaultValue: false })), - disk_queue_path: schema.nullable(schema.string()), - disk_queue_max_size: schema.nullable(schema.number()), - disk_queue_encryption_enabled: schema.nullable(schema.boolean()), - disk_queue_compression_enabled: schema.nullable(schema.boolean()), - compression_level: schema.nullable(schema.number()), - loadbalance: schema.nullable(schema.boolean()), - mem_queue_events: schema.nullable(schema.number()), - queue_flush_timeout: schema.nullable(schema.number()), - max_batch_bytes: schema.nullable(schema.number()), + mechanism: schema.maybe( + schema.oneOf([ + schema.literal(kafkaSaslMechanism.Plain), + schema.literal(kafkaSaslMechanism.ScramSha256), + schema.literal(kafkaSaslMechanism.ScramSha512), + ]) + ), }) ), -}); + partition: schema.maybe( + schema.oneOf([ + schema.literal(kafkaPartitionType.Random), + schema.literal(kafkaPartitionType.RoundRobin), + schema.literal(kafkaPartitionType.Hash), + ]) + ), + random: schema.maybe(schema.object({ group_events: schema.maybe(schema.number()) })), + round_robin: schema.maybe(schema.object({ group_events: schema.maybe(schema.number()) })), + hash: schema.maybe( + schema.object({ hash: schema.maybe(schema.string()), random: schema.maybe(schema.boolean()) }) + ), + topics: KafkaTopicsSchema, + headers: schema.maybe( + schema.arrayOf(schema.object({ key: schema.string(), value: schema.string() })) + ), + timeout: schema.maybe(schema.number()), + broker_timeout: schema.maybe(schema.number()), + broker_buffer_size: schema.maybe(schema.number()), + broker_ack_reliability: schema.maybe( + schema.oneOf([ + schema.literal(kafkaAcknowledgeReliabilityLevel.Commit), + schema.literal(kafkaAcknowledgeReliabilityLevel.Replica), + schema.literal(kafkaAcknowledgeReliabilityLevel.DoNotWait), + ]) + ), +}; + +const KafkaUpdateSchema = { + ...UpdateSchema, + ...KafkaSchema, + type: schema.maybe(schema.literal(outputType.Kafka)), + hosts: schema.maybe(schema.arrayOf(schema.uri({ scheme: ['http', 'https'] }), { minSize: 1 })), + auth_type: schema.maybe( + schema.oneOf([ + schema.literal(kafkaAuthType.Userpass), + schema.literal(kafkaAuthType.Ssl), + schema.literal(kafkaAuthType.Kerberos), + ]) + ), + topics: schema.maybe(KafkaTopicsSchema), +}; + +export const OutputSchema = schema.oneOf([ + schema.object({ ...ElasticSearchSchema }), + schema.object({ ...LogstashSchema }), + schema.object({ ...KafkaSchema }), +]); -export const OutputSchema = schema.object({ - ...OutputBaseSchema, - id: schema.string(), -}); +export const UpdateOutputSchema = schema.oneOf([ + schema.object({ ...ElasticSearchUpdateSchema }), + schema.object({ ...LogstashUpdateSchema }), + schema.object({ ...KafkaUpdateSchema }), +]); diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts b/x-pack/plugins/fleet/server/types/models/preconfiguration.ts index e8c9fee5a6492..65626c470f8b9 100644 --- a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts +++ b/x-pack/plugins/fleet/server/types/models/preconfiguration.ts @@ -11,9 +11,10 @@ import semverValid from 'semver/functions/valid'; import { PRECONFIGURATION_LATEST_KEYWORD } from '../../constants'; import type { PreconfiguredOutput } from '../../../common/types'; +import { ElasticSearchSchema, KafkaSchema, LogstashSchema } from './output'; + import { AgentPolicyBaseSchema } from './agent_policy'; import { NamespaceSchema } from './package_policy'; -import { NewOutputSchema } from './output'; const varsSchema = schema.maybe( schema.arrayOf( @@ -73,17 +74,20 @@ function validatePreconfiguredOutputs(outputs: PreconfiguredOutput[]) { } } +const PreconfiguredOutputBaseSchema = { + id: schema.string(), + config: schema.maybe(schema.object({}, { unknowns: 'allow' })), + config_yaml: schema.never(), + allow_edit: schema.maybe(schema.arrayOf(schema.string())), +}; + export const PreconfiguredOutputsSchema = schema.arrayOf( - NewOutputSchema.extends({ - id: schema.string(), - config: schema.maybe(schema.object({}, { unknowns: 'allow' })), - config_yaml: schema.never(), - allow_edit: schema.maybe(schema.arrayOf(schema.string())), - }), - { - defaultValue: [], - validate: validatePreconfiguredOutputs, - } + schema.oneOf([ + schema.object({ ...ElasticSearchSchema }).extends(PreconfiguredOutputBaseSchema), + schema.object({ ...LogstashSchema }).extends(PreconfiguredOutputBaseSchema), + schema.object({ ...KafkaSchema }).extends(PreconfiguredOutputBaseSchema), + ]), + { defaultValue: [], validate: validatePreconfiguredOutputs } ); export const PreconfiguredFleetServerHostsSchema = schema.arrayOf( diff --git a/x-pack/plugins/fleet/server/types/rest_spec/output.ts b/x-pack/plugins/fleet/server/types/rest_spec/output.ts index 21a0b19c0dd20..c6c7ba89bc0a6 100644 --- a/x-pack/plugins/fleet/server/types/rest_spec/output.ts +++ b/x-pack/plugins/fleet/server/types/rest_spec/output.ts @@ -7,7 +7,7 @@ import { schema } from '@kbn/config-schema'; -import { NewOutputSchema, UpdateOutputSchema } from '../models'; +import { OutputSchema, UpdateOutputSchema } from '../models'; export const GetOneOutputRequestSchema = { params: schema.object({ @@ -24,7 +24,7 @@ export const DeleteOutputRequestSchema = { export const GetOutputsRequestSchema = {}; export const PostOutputRequestSchema = { - body: NewOutputSchema, + body: OutputSchema, }; export const PutOutputRequestSchema = { diff --git a/x-pack/plugins/fleet/server/types/so_attributes.ts b/x-pack/plugins/fleet/server/types/so_attributes.ts index 835dcaabb5924..13ccff751c38d 100644 --- a/x-pack/plugins/fleet/server/types/so_attributes.ts +++ b/x-pack/plugins/fleet/server/types/so_attributes.ts @@ -13,6 +13,7 @@ import type { AgentMetadata, OutputType, ShipperOutput, + KafkaAcknowledgeReliabilityLevel, } from '../../common/types'; import type { AgentType, FleetServerAgentComponent } from '../../common/types/models'; @@ -23,6 +24,12 @@ import type { PackagePolicyConfigRecord, } from '../../common/types/models/package_policy'; import type { PolicySecretReference } from '../../common/types/models/secret'; +import type { KafkaAuthType, KafkaCompressionType } from '../../common/types'; +import type { + KafkaPartitionType, + KafkaSaslMechanism, + KafkaTopicWhenType, +} from '../../common/types'; export type AgentPolicyStatus = typeof agentPolicyStatuses; @@ -120,11 +127,10 @@ export interface PackagePolicySOAttributes { agents?: number; } -export interface OutputSOAttributes { +interface OutputSoBaseAttributes { is_default: boolean; is_default_monitoring: boolean; name: string; - type: ValueOf; hosts?: string[]; ca_sha256?: string | null; ca_trusted_fingerprint?: string | null; @@ -137,6 +143,60 @@ export interface OutputSOAttributes { ssl?: string | null; // encrypted ssl field } +interface OutputSoElasticsearchAttributes extends OutputSoBaseAttributes { + type: OutputType['Elasticsearch']; +} + +interface OutputSoLogstashAttributes extends OutputSoBaseAttributes { + type: OutputType['Logstash']; +} + +export interface OutputSoKafkaAttributes extends OutputSoBaseAttributes { + type: OutputType['Kafka']; + client_id?: string; + version?: string; + key?: string; + compression?: ValueOf; + compression_level?: number; + auth_type?: ValueOf; + username?: string; + password?: string; + sasl?: { + mechanism?: ValueOf; + }; + partition?: ValueOf; + random?: { + group_events?: number; + }; + round_robin?: { + group_events?: number; + }; + hash?: { + hash?: string; + random?: boolean; + }; + topics?: Array<{ + topic: string; + when?: { + type?: ValueOf; + condition?: string; + }; + }>; + headers?: Array<{ + key: string; + value: string; + }>; + timeout?: number; + broker_timeout?: number; + broker_buffer_size?: number; + broker_ack_reliability?: ValueOf; +} + +export type OutputSOAttributes = + | OutputSoElasticsearchAttributes + | OutputSoLogstashAttributes + | OutputSoKafkaAttributes; + export interface SettingsSOAttributes { prerelease_integrations_enabled: boolean; has_seen_add_data_notice?: boolean; diff --git a/x-pack/plugins/maps/kibana.jsonc b/x-pack/plugins/maps/kibana.jsonc index bfb15e72828a2..42cbd85998e59 100644 --- a/x-pack/plugins/maps/kibana.jsonc +++ b/x-pack/plugins/maps/kibana.jsonc @@ -47,7 +47,8 @@ "kibanaReact", "kibanaUtils", "usageCollection", - "unifiedSearch" + "unifiedSearch", + "fieldFormats" ], "extraPublicDirs": [ "common" diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts b/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts index 7edf1428d9312..70f735c4b3aa6 100644 --- a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts +++ b/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts @@ -5,87 +5,7 @@ * 2.0. */ -import { i18n } from '@kbn/i18n'; -import * as usng from 'usng.js'; +import { geoUtils } from '@kbn/field-formats-plugin/common'; -// @ts-ignore -const converter = new usng.Converter(); - -export function withinRange(value: string | number, min: number, max: number) { - const isInvalid = value === '' || value > max || value < min; - const error = isInvalid - ? i18n.translate('xpack.maps.setViewControl.outOfRangeErrorMsg', { - defaultMessage: `Must be between {min} and {max}`, - values: { min, max }, - }) - : null; - return { isInvalid, error }; -} - -export function ddToUTM(lat: number, lon: number) { - try { - const utm = converter.LLtoUTM(lat, lon); - return { - northing: utm === converter.UNDEFINED_STR ? '' : String(Math.round(utm.northing)), - easting: utm === converter.UNDEFINED_STR ? '' : String(Math.round(utm.easting)), - zone: - utm === converter.UNDEFINED_STR - ? '' - : `${utm.zoneNumber}${converter.UTMLetterDesignator(lat)}`, - }; - } catch (e) { - return { - northing: '', - easting: '', - zone: '', - }; - } -} - -export function utmToDD(northing: string, easting: string, zoneNumber: string) { - try { - return converter.UTMtoLL(northing, easting, zoneNumber); - } catch (e) { - return undefined; - } -} - -export function ddToMGRS(lat: number, lon: number) { - try { - const mgrsCoord = converter.LLtoMGRS(lat, lon, 5); - return mgrsCoord; - } catch (e) { - return ''; - } -} - -function mgrstoUSNG(mgrs: string) { - let squareIdEastSpace = 0; - for (let i = mgrs.length - 1; i > -1; i--) { - // check if we have hit letters yet - if (isNaN(parseInt(mgrs.substr(i, 1), 10))) { - squareIdEastSpace = i + 1; - break; - } - } - const gridZoneSquareIdSpace = squareIdEastSpace ? squareIdEastSpace - 2 : -1; - const numPartLength = mgrs.substr(squareIdEastSpace).length / 2; - // add the number split space - const eastNorthSpace = squareIdEastSpace ? squareIdEastSpace + numPartLength : -1; - const stringArray = mgrs.split(''); - - stringArray.splice(eastNorthSpace, 0, ' '); - stringArray.splice(squareIdEastSpace, 0, ' '); - stringArray.splice(gridZoneSquareIdSpace, 0, ' '); - - const rejoinedArray = stringArray.join(''); - return rejoinedArray; -} - -export function mgrsToDD(mgrs: string) { - try { - return converter.USNGtoLL(mgrstoUSNG(mgrs)); - } catch (e) { - return undefined; - } -} +export const { mgrsToDD, mgrstoUSNG, utmToDD, withinRange, ddToMGRS, ddToUTM, converter } = + geoUtils; diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts index 81dc7741a2bf4..8ce2fb9bf7f1a 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts @@ -114,7 +114,7 @@ export type DiffableCustomQueryFields = t.TypeOf export const DiffableSavedQueryFields = buildSchema({ required: { type: t.literal('saved_query'), - data_query: RuleKqlQuery, // NOTE: new field + kql_query: RuleKqlQuery, // NOTE: new field }, optional: { data_source: RuleDataSource, // NOTE: new field @@ -138,7 +138,7 @@ export type DiffableEqlFields = t.TypeOf; export const DiffableEqlFields = buildSchema({ required: { type: t.literal('eql'), - data_query: RuleEqlQuery, // NOTE: new field + eql_query: RuleEqlQuery, // NOTE: new field }, optional: { data_source: RuleDataSource, // NOTE: new field @@ -152,7 +152,7 @@ export type DiffableThreatMatchFields = t.TypeOf; export const DiffableThresholdFields = buildSchema({ required: { type: t.literal('threshold'), - data_query: RuleKqlQuery, // NOTE: new field + kql_query: RuleKqlQuery, // NOTE: new field threshold: Threshold, }, optional: { @@ -191,7 +191,7 @@ export type DiffableNewTermsFields = t.TypeOf; export const DiffableNewTermsFields = buildSchema({ required: { type: t.literal('new_terms'), - data_query: InlineKqlQuery, // NOTE: new field + kql_query: InlineKqlQuery, // NOTE: new field new_terms_fields: NewTermsFields, history_window_start: HistoryWindowStart, }, @@ -239,3 +239,21 @@ export const DiffableRule = t.intersection([ DiffableNewTermsFields, ]), ]); + +/** + * This is a merge of all fields from all rule types into a single TS type. + * This is NOT a union discriminated by rule type, as DiffableRule is. + */ +export type DiffableAllFields = DiffableCommonFields & + Omit & + Omit & + Omit & + Omit & + Omit & + Omit & + Omit & + DiffableRuleTypeField; + +interface DiffableRuleTypeField { + type: DiffableRule['type']; +} diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts index 8a28b358f5303..bdc9b1e2a6e2c 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts @@ -6,6 +6,7 @@ */ import type { + DiffableAllFields, DiffableCommonFields, DiffableCustomQueryFields, DiffableEqlFields, @@ -18,6 +19,7 @@ import type { import type { FieldsDiff } from './fields_diff'; +export type AllFieldsDiff = FieldsDiff; export type CommonFieldsDiff = FieldsDiff; export type CustomQueryFieldsDiff = FieldsDiff; export type SavedQueryFieldsDiff = FieldsDiff; diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/isolate.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/isolate.cy.ts index 118eadd4fcd5b..6894d7ac9dd29 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/isolate.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/isolate.cy.ts @@ -189,7 +189,8 @@ describe('Isolate command', () => { }); }); - describe('from Cases', () => { + // Flaky: https://github.com/elastic/security-team/issues/7048 + describe.skip('from Cases', () => { let endpointData: ReturnTypeFromChainable | undefined; let caseData: ReturnTypeFromChainable | undefined; let alertData: ReturnTypeFromChainable | undefined; diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/responder.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/responder.cy.ts index 881d1ec449eec..47cf9cc30d204 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/responder.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/responder.cy.ts @@ -38,7 +38,8 @@ describe('When accessing Endpoint Response Console', () => { login(); }); - describe('from Cases', () => { + // Flaky: https://github.com/elastic/security-team/issues/7048 + describe.skip('from Cases', () => { let endpointData: ReturnTypeFromChainable; let caseData: ReturnTypeFromChainable; let alertData: ReturnTypeFromChainable; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts index abd084c1789e4..4525556222331 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts @@ -9,6 +9,7 @@ import { assertUnreachable } from '../../../../../../../common/utility_types'; import { invariant } from '../../../../../../../common/utils/invariant'; import type { + DiffableAllFields, DiffableCommonFields, DiffableCustomQueryFields, DiffableEqlFields, @@ -20,6 +21,7 @@ import type { DiffableThresholdFields, } from '../../../../../../../common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule'; import type { + AllFieldsDiff, CommonFieldsDiff, CustomQueryFieldsDiff, EqlFieldsDiff, @@ -53,6 +55,24 @@ export const calculateRuleFieldsDiff = ( const { base_version, current_version, target_version } = ruleVersions; const hasBaseVersion = base_version !== MissingVersion; + const isRuleTypeDifferentInTargetVersion = current_version.type !== target_version.type; + const isRuleTypeDifferentInBaseVersion = hasBaseVersion + ? current_version.type !== base_version.type + : false; + + if (isRuleTypeDifferentInTargetVersion || isRuleTypeDifferentInBaseVersion) { + // If rule type has been changed by Elastic in the target version (can happen) + // or by user in the current version (should never happen), we can't calculate the diff + // only for fields of a single rule type, and need to calculate it for all fields + // of all the rule types we have. + // TODO: Try to get rid of "as" casting + return calculateAllFieldsDiff({ + base_version: base_version as DiffableAllFields | MissingVersion, + current_version: current_version as DiffableAllFields, + target_version: target_version as DiffableAllFields, + }) as RuleFieldsDiff; + } + switch (current_version.type) { case 'query': { if (hasBaseVersion) { @@ -175,7 +195,7 @@ const calculateCustomQueryFieldsDiff = ( const customQueryFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + kql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, alert_suppression: simpleDiffAlgorithm, }; @@ -188,7 +208,7 @@ const calculateSavedQueryFieldsDiff = ( const savedQueryFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + kql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, alert_suppression: simpleDiffAlgorithm, }; @@ -201,7 +221,7 @@ const calculateEqlFieldsDiff = ( const eqlFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + eql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, event_category_override: simpleDiffAlgorithm, timestamp_field: simpleDiffAlgorithm, @@ -216,7 +236,7 @@ const calculateThreatMatchFieldsDiff = ( const threatMatchFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + kql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, threat_query: simpleDiffAlgorithm, threat_index: simpleDiffAlgorithm, @@ -234,7 +254,7 @@ const calculateThresholdFieldsDiff = ( const thresholdFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + kql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, threshold: simpleDiffAlgorithm, }; @@ -260,8 +280,26 @@ const calculateNewTermsFieldsDiff = ( const newTermsFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { type: simpleDiffAlgorithm, - data_query: simpleDiffAlgorithm, + kql_query: simpleDiffAlgorithm, data_source: simpleDiffAlgorithm, new_terms_fields: simpleDiffAlgorithm, history_window_start: simpleDiffAlgorithm, }; + +const calculateAllFieldsDiff = ( + ruleVersions: ThreeVersionsOf +): AllFieldsDiff => { + return calculateFieldsDiffFor(ruleVersions, allFieldsDiffAlgorithms); +}; + +const allFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor = { + ...commonFieldsDiffAlgorithms, + ...customQueryFieldsDiffAlgorithms, + ...savedQueryFieldsDiffAlgorithms, + ...eqlFieldsDiffAlgorithms, + ...threatMatchFieldsDiffAlgorithms, + ...thresholdFieldsDiffAlgorithms, + ...machineLearningFieldsDiffAlgorithms, + ...newTermsFieldsDiffAlgorithms, + type: simpleDiffAlgorithm, +}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/normalization/convert_rule_to_diffable.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/normalization/convert_rule_to_diffable.ts index f917b7154a163..b1838d77dfeb8 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/normalization/convert_rule_to_diffable.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/normalization/convert_rule_to_diffable.ts @@ -146,7 +146,7 @@ const extractDiffableCustomQueryFields = ( ): DiffableCustomQueryFields => { return { type: rule.type, - data_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), + kql_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), data_source: extractRuleDataSource(rule.index, rule.data_view_id), alert_suppression: rule.alert_suppression, }; @@ -157,7 +157,7 @@ const extractDiffableSavedQueryFieldsFromRuleObject = ( ): DiffableSavedQueryFields => { return { type: rule.type, - data_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), + kql_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), data_source: extractRuleDataSource(rule.index, rule.data_view_id), alert_suppression: rule.alert_suppression, }; @@ -168,7 +168,7 @@ const extractDiffableEqlFieldsFromRuleObject = ( ): DiffableEqlFields => { return { type: rule.type, - data_query: extractRuleEqlQuery(rule.query, rule.language, rule.filters), + eql_query: extractRuleEqlQuery(rule.query, rule.language, rule.filters), data_source: extractRuleDataSource(rule.index, rule.data_view_id), event_category_override: rule.event_category_override, timestamp_field: rule.timestamp_field, @@ -181,7 +181,7 @@ const extractDiffableThreatMatchFieldsFromRuleObject = ( ): DiffableThreatMatchFields => { return { type: rule.type, - data_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), + kql_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), data_source: extractRuleDataSource(rule.index, rule.data_view_id), threat_query: extractInlineKqlQuery( rule.threat_query, @@ -201,7 +201,7 @@ const extractDiffableThresholdFieldsFromRuleObject = ( ): DiffableThresholdFields => { return { type: rule.type, - data_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), + kql_query: extractRuleKqlQuery(rule.query, rule.language, rule.filters, rule.saved_id), data_source: extractRuleDataSource(rule.index, rule.data_view_id), threshold: rule.threshold, }; @@ -222,7 +222,7 @@ const extractDiffableNewTermsFieldsFromRuleObject = ( ): DiffableNewTermsFields => { return { type: rule.type, - data_query: extractInlineKqlQuery(rule.query, rule.language, rule.filters), + kql_query: extractInlineKqlQuery(rule.query, rule.language, rule.filters), data_source: extractRuleDataSource(rule.index, rule.data_view_id), new_terms_fields: rule.new_terms_fields, history_window_start: rule.history_window_start, diff --git a/x-pack/plugins/security_solution_serverless/server/config.ts b/x-pack/plugins/security_solution_serverless/server/config.ts index 0b0a0f42b294f..07a9f5ad108df 100644 --- a/x-pack/plugins/security_solution_serverless/server/config.ts +++ b/x-pack/plugins/security_solution_serverless/server/config.ts @@ -20,4 +20,11 @@ export const config: PluginConfigDescriptor = { productTypes: true, }, schema: configSchema, + deprecations: ({ renameFromRoot }) => [ + renameFromRoot( + 'xpack.serverless.security.productTypes', + 'xpack.securitySolutionServerless.productTypes', + { silent: true, level: 'warning' } + ), + ], }; diff --git a/x-pack/plugins/synthetics/server/routes/default_alerts/default_alert_service.ts b/x-pack/plugins/synthetics/server/routes/default_alerts/default_alert_service.ts index f6fc7cdee70b2..d1ac601db007b 100644 --- a/x-pack/plugins/synthetics/server/routes/default_alerts/default_alert_service.ts +++ b/x-pack/plugins/synthetics/server/routes/default_alerts/default_alert_service.ts @@ -9,7 +9,10 @@ import { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; import { FindActionResult } from '@kbn/actions-plugin/server'; import { savedObjectsAdapter } from '../../saved_objects'; import { populateAlertActions } from '../../../common/rules/alert_actions'; -import { SyntheticsMonitorStatusTranslations } from '../../../common/rules/synthetics/translations'; +import { + SyntheticsMonitorStatusTranslations, + TlsTranslations, +} from '../../../common/rules/synthetics/translations'; import { SyntheticsServerSetup, UptimeRequestHandlerContext } from '../../types'; import { ACTION_GROUP_DEFINITIONS, @@ -64,7 +67,7 @@ export class DefaultAlertService { return this.createDefaultAlertIfNotExist( SYNTHETICS_TLS_RULE, `Synthetics internal TLS alert`, - '10m' + '1m' ); } @@ -92,7 +95,7 @@ export class DefaultAlertService { return alert; } - const actions = await this.getAlertActions(); + const actions = await this.getAlertActions(ruleType); const rulesClient = (await this.context.alerting)?.getRulesClient(); const newAlert = await rulesClient.create<{}>({ @@ -119,7 +122,7 @@ export class DefaultAlertService { ); } updateTlsRule() { - return this.updateDefaultAlert(SYNTHETICS_TLS_RULE, `Synthetics internal TLS alert`, '10m'); + return this.updateDefaultAlert(SYNTHETICS_TLS_RULE, `Synthetics internal TLS alert`, '1m'); } async updateDefaultAlert(ruleType: DefaultRuleType, name: string, interval: string) { @@ -127,7 +130,7 @@ export class DefaultAlertService { const alert = await this.getExistingAlert(ruleType); if (alert) { - const actions = await this.getAlertActions(); + const actions = await this.getAlertActions(ruleType); const updatedAlert = await rulesClient.update({ id: alert.id, data: { @@ -136,7 +139,6 @@ export class DefaultAlertService { tags: alert.tags, schedule: alert.schedule, params: alert.params, - notifyWhen: alert.notifyWhen, }, }); return { ...updatedAlert, ruleTypeId: updatedAlert.alertTypeId }; @@ -145,25 +147,39 @@ export class DefaultAlertService { return await this.createDefaultAlertIfNotExist(ruleType, name, interval); } - async getAlertActions() { + async getAlertActions(ruleType: DefaultRuleType) { const { actionConnectors, settings } = await this.getActionConnectors(); const defaultActions = (actionConnectors ?? []).filter((act) => settings?.defaultConnectors?.includes(act.id) ); - return populateAlertActions({ - groupId: ACTION_GROUP_DEFINITIONS.MONITOR_STATUS.id, - defaultActions, - defaultEmail: settings?.defaultEmail!, - translations: { - defaultActionMessage: SyntheticsMonitorStatusTranslations.defaultActionMessage, - defaultRecoveryMessage: SyntheticsMonitorStatusTranslations.defaultRecoveryMessage, - defaultSubjectMessage: SyntheticsMonitorStatusTranslations.defaultSubjectMessage, - defaultRecoverySubjectMessage: - SyntheticsMonitorStatusTranslations.defaultRecoverySubjectMessage, - }, - }); + if (ruleType === SYNTHETICS_STATUS_RULE) { + return populateAlertActions({ + defaultActions, + groupId: ACTION_GROUP_DEFINITIONS.MONITOR_STATUS.id, + defaultEmail: settings?.defaultEmail!, + translations: { + defaultActionMessage: SyntheticsMonitorStatusTranslations.defaultActionMessage, + defaultRecoveryMessage: SyntheticsMonitorStatusTranslations.defaultRecoveryMessage, + defaultSubjectMessage: SyntheticsMonitorStatusTranslations.defaultSubjectMessage, + defaultRecoverySubjectMessage: + SyntheticsMonitorStatusTranslations.defaultRecoverySubjectMessage, + }, + }); + } else { + return populateAlertActions({ + defaultActions, + groupId: ACTION_GROUP_DEFINITIONS.TLS_CERTIFICATE.id, + defaultEmail: settings?.defaultEmail!, + translations: { + defaultActionMessage: TlsTranslations.defaultActionMessage, + defaultRecoveryMessage: TlsTranslations.defaultRecoveryMessage, + defaultSubjectMessage: TlsTranslations.defaultSubjectMessage, + defaultRecoverySubjectMessage: TlsTranslations.defaultRecoverySubjectMessage, + }, + }); + } } async getActionConnectors() { diff --git a/x-pack/plugins/synthetics/server/routes/default_alerts/update_default_alert.ts b/x-pack/plugins/synthetics/server/routes/default_alerts/update_default_alert.ts index 6f2a361d15e0d..765ba5edefb95 100644 --- a/x-pack/plugins/synthetics/server/routes/default_alerts/update_default_alert.ts +++ b/x-pack/plugins/synthetics/server/routes/default_alerts/update_default_alert.ts @@ -17,9 +17,13 @@ export const updateDefaultAlertingRoute: SyntheticsRestApiRouteFactory = () => ( handler: async ({ context, server, savedObjectsClient }): Promise => { const defaultAlertService = new DefaultAlertService(context, server, savedObjectsClient); - return Promise.allSettled([ + const [statusRule, tlsRule] = await Promise.all([ defaultAlertService.updateStatusRule(), defaultAlertService.updateTlsRule(), ]); + return { + statusRule, + tlsRule, + }; }, }); diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 9ab100fe729a5..f3f5713ea7357 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -21363,7 +21363,6 @@ "xpack.maps.sescurity.destinationLayerLabel": "{indexPatternTitle} | Point de destination", "xpack.maps.sescurity.lineLayerLabel": "{indexPatternTitle} | Ligne", "xpack.maps.sescurity.sourceLayerLabel": "{indexPatternTitle} | Point source", - "xpack.maps.setViewControl.outOfRangeErrorMsg": "Doit être compris entre {min} et {max}", "xpack.maps.source.ems_xyzDescription": "Service de cartographie d'images matricielles utilisant le modèle URL {z}/{x}/{y}.", "xpack.maps.source.ems.noOnPremConnectionDescription": "Connexion à {host} impossible.", "xpack.maps.source.emsFile.unableToFindFileIdErrorMessage": "Impossible de trouver des formes de vecteur EMS pour l'ID : {id}. {info}", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index c79922135bd8e..cf26f95341638 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -21363,7 +21363,6 @@ "xpack.maps.sescurity.destinationLayerLabel": "{indexPatternTitle} | デスティネーションポイント", "xpack.maps.sescurity.lineLayerLabel": "{indexPatternTitle} | 折れ線", "xpack.maps.sescurity.sourceLayerLabel": "{indexPatternTitle} | ソースポイント", - "xpack.maps.setViewControl.outOfRangeErrorMsg": "{min}と{max}の間でなければなりません", "xpack.maps.source.ems_xyzDescription": "{z}/{x}/{y} urlパターンを使用するラスター画像タイルマッピングサービス。", "xpack.maps.source.ems.noOnPremConnectionDescription": "{host}に接続できません。", "xpack.maps.source.emsFile.unableToFindFileIdErrorMessage": "ID {id} の EMS ベクターシェイプが見つかりません:{info}", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 163f3c66e1448..6f5b3e721c83d 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -21363,7 +21363,6 @@ "xpack.maps.sescurity.destinationLayerLabel": "{indexPatternTitle} | 目标点", "xpack.maps.sescurity.lineLayerLabel": "{indexPatternTitle} | 线", "xpack.maps.sescurity.sourceLayerLabel": "{indexPatternTitle} | 源点", - "xpack.maps.setViewControl.outOfRangeErrorMsg": "必须介于 {min} 和 {max} 之间", "xpack.maps.source.ems_xyzDescription": "使用 {z}/{x}/{y} url 模式的 Raster 图像磁贴地图服务。", "xpack.maps.source.ems.noOnPremConnectionDescription": "无法连接到 {host}。", "xpack.maps.source.emsFile.unableToFindFileIdErrorMessage": "找不到 ID 为 {id} 的 EMS 矢量形状。{info}", diff --git a/x-pack/test/alerting_api_integration/observability/index.ts b/x-pack/test/alerting_api_integration/observability/index.ts index ad137560c9036..a5f284cbffeda 100644 --- a/x-pack/test/alerting_api_integration/observability/index.ts +++ b/x-pack/test/alerting_api_integration/observability/index.ts @@ -7,8 +7,14 @@ // eslint-disable-next-line import/no-default-export export default function ({ loadTestFile }: any) { - describe('MetricsUI Endpoints', () => { - loadTestFile(require.resolve('./metric_threshold_rule')); - loadTestFile(require.resolve('./threshold_rule')); + describe('Observability Rules', () => { + describe('MetricsUI Endpoints', () => { + loadTestFile(require.resolve('./metric_threshold_rule')); + loadTestFile(require.resolve('./threshold_rule')); + }); + + describe('Synthetics', () => { + loadTestFile(require.resolve('./synthetics_rule')); + }); }); } diff --git a/x-pack/test/alerting_api_integration/observability/synthetics_rule.ts b/x-pack/test/alerting_api_integration/observability/synthetics_rule.ts new file mode 100644 index 0000000000000..8c7ccdd9dcc68 --- /dev/null +++ b/x-pack/test/alerting_api_integration/observability/synthetics_rule.ts @@ -0,0 +1,538 @@ +/* + * 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 { API_URLS, SYNTHETICS_API_URLS } from '@kbn/synthetics-plugin/common/constants'; +import { SanitizedRule } from '@kbn/alerting-plugin/common'; +import { omit } from 'lodash'; +import { FtrProviderContext } from '../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + const server = getService('kibanaServer'); + + const testActions = [ + 'custom.ssl.noCustom', + 'notification-email', + 'preconfigured-es-index-action', + 'my-deprecated-servicenow', + 'my-slack1', + ]; + + describe('SyntheticsRules', () => { + before(async () => { + await server.savedObjects.cleanStandardList(); + }); + + after(async () => { + await server.savedObjects.cleanStandardList(); + }); + + it('creates rule when settings are configured', async () => { + await supertest + .post(API_URLS.DYNAMIC_SETTINGS) + .set('kbn-xsrf', 'true') + .send({ + heartbeatIndices: 'heartbeat-8*,heartbeat-7*', + certExpirationThreshold: 30, + certAgeThreshold: 730, + defaultConnectors: testActions.slice(0, 2), + defaultEmail: { to: ['test@gmail.com'], cc: [], bcc: [] }, + }) + .expect(200); + + const response = await supertest + .post(SYNTHETICS_API_URLS.ENABLE_DEFAULT_ALERTING) + .set('kbn-xsrf', 'true') + .send(); + const statusResult = response.body.statusRule; + const tlsResult = response.body.tlsRule; + expect(statusResult.actions.length).eql(4); + expect(tlsResult.actions.length).eql(4); + + compareRules(statusResult, statusRule); + compareRules(tlsResult, tlsRule); + + testActions.slice(0, 2).forEach((action) => { + const { recoveredAction, firingAction } = getActionById(statusRule, action); + const resultAction = getActionById(statusResult, action); + expect(firingAction).eql(resultAction.firingAction); + expect(recoveredAction).eql(resultAction.recoveredAction); + }); + + testActions.slice(0, 2).forEach((action) => { + const { recoveredAction, firingAction } = getActionById(tlsRule, action); + const resultAction = getActionById(tlsResult, action); + expect(firingAction).eql(resultAction.firingAction); + expect(recoveredAction).eql(resultAction.recoveredAction); + }); + }); + + it('updates rules when settings are updated', async () => { + await supertest + .post(API_URLS.DYNAMIC_SETTINGS) + .set('kbn-xsrf', 'true') + .send({ + heartbeatIndices: 'heartbeat-8*,heartbeat-7*', + certExpirationThreshold: 30, + certAgeThreshold: 730, + defaultConnectors: testActions, + defaultEmail: { to: ['test@gmail.com'], cc: [], bcc: [] }, + }) + .expect(200); + + const response = await supertest + .put(SYNTHETICS_API_URLS.ENABLE_DEFAULT_ALERTING) + .set('kbn-xsrf', 'true') + .send(); + + const statusResult = response.body.statusRule; + const tlsResult = response.body.tlsRule; + expect(statusResult.actions.length).eql(9); + expect(tlsResult.actions.length).eql(9); + + compareRules(statusResult, statusRule); + compareRules(tlsResult, tlsRule); + + testActions.forEach((action) => { + const { recoveredAction, firingAction } = getActionById(statusRule, action); + const resultAction = getActionById(statusResult, action); + expect(firingAction).eql(resultAction.firingAction); + expect(recoveredAction).eql(resultAction.recoveredAction); + }); + testActions.forEach((action) => { + const { recoveredAction, firingAction } = getActionById(tlsRule, action); + const resultAction = getActionById(tlsResult, action); + expect(firingAction).eql(resultAction.firingAction); + expect(recoveredAction).eql(resultAction.recoveredAction); + }); + }); + }); +} +const compareRules = (rule1: SanitizedRule, rule2: SanitizedRule) => { + expect(rule1.alertTypeId).eql(rule2.alertTypeId); + expect(rule1.schedule).eql(rule2.schedule); +}; + +const getActionById = (rule: SanitizedRule, id: string) => { + const actions = rule.actions.filter((action) => action.id === id); + const recoveredAction = actions.find((action) => action.group === 'recovered'); + const firingAction = actions.find((action) => action.group !== 'recovered'); + return { + recoveredAction: omit(recoveredAction, ['uuid']), + firingAction: omit(firingAction, ['uuid']), + }; +}; + +const statusRule = { + id: 'dbbc39f0-1781-11ee-80b9-6522650f1d50', + notifyWhen: null, + consumer: 'uptime', + alertTypeId: 'xpack.synthetics.alerts.monitorStatus', + tags: ['SYNTHETICS_DEFAULT_ALERT'], + name: 'Synthetics status internal alert', + enabled: true, + throttle: null, + apiKeyOwner: 'elastic', + apiKeyCreatedByUser: false, + createdBy: 'elastic', + updatedBy: 'elastic', + muteAll: false, + mutedInstanceIds: [], + revision: 0, + running: false, + schedule: { interval: '1m' }, + actions: [ + { + group: 'recovered', + params: { + body: 'The alert for "{{context.monitorName}}" from {{context.locationName}} is no longer active: {{context.recoveryReason}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}} \n- Last error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '789f2b81-e098-4f33-9802-1d355f4fabbe', + actionTypeId: '.webhook', + id: 'custom.ssl.noCustom', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.monitorStatus', + params: { + body: '"{{context.monitorName}}" is {{{context.status}}} from {{context.locationName}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- Checked at: {{context.checkedAt}} \n- From: {{context.locationName}} \n- Error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '1b3f3958-f019-4ca0-b6b1-ccc4cf51d501', + actionTypeId: '.webhook', + id: 'custom.ssl.noCustom', + }, + { + group: 'recovered', + params: { + to: ['test@gmail.com'], + subject: + '"{{context.monitorName}}" ({{context.locationName}}) {{context.recoveryStatus}} - Elastic Synthetics', + message: + 'The alert for "{{context.monitorName}}" from {{context.locationName}} is no longer active: {{context.recoveryReason}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}} \n- Last error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + messageHTML: null, + cc: [], + bcc: [], + kibanaFooterLink: { path: '', text: '' }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '1252f0ef-8846-4b4e-93c1-3e59900b5055', + actionTypeId: '.email', + id: 'notification-email', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.monitorStatus', + params: { + to: ['test@gmail.com'], + subject: + '"{{context.monitorName}}" ({{context.locationName}}) is down - Elastic Synthetics', + message: + '"{{context.monitorName}}" is {{{context.status}}} from {{context.locationName}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- Checked at: {{context.checkedAt}} \n- From: {{context.locationName}} \n- Error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + messageHTML: null, + cc: [], + bcc: [], + kibanaFooterLink: { path: '', text: '' }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: 'a8bca093-b81f-4a13-b8bd-24b8b2892ced', + actionTypeId: '.email', + id: 'notification-email', + }, + { + group: 'recovered', + params: { + documents: [ + { + monitorName: '{{context.monitorName}}', + monitorUrl: '{{{context.monitorUrl}}}', + statusMessage: '{{{context.status}}}', + latestErrorMessage: '{{{context.latestErrorMessage}}}', + observerLocation: '{{context.locationName}}', + recoveryReason: '{{context.recoveryReason}}', + }, + ], + indexOverride: null, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: 'a6e14e63-15fd-4949-935d-2759322d8d01', + actionTypeId: '.index', + id: 'preconfigured-es-index-action', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.monitorStatus', + params: { + documents: [ + { + monitorName: '{{context.monitorName}}', + monitorUrl: '{{{context.monitorUrl}}}', + statusMessage: '{{{context.status}}}', + latestErrorMessage: '{{{context.lastErrorMessage}}}', + observerLocation: '{{context.locationName}}', + }, + ], + indexOverride: null, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: 'feee9ec3-e9ac-4201-b24d-24a6c7d16afc', + actionTypeId: '.index', + id: 'preconfigured-es-index-action', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.monitorStatus', + params: { + subAction: 'pushToService', + subActionParams: { + incident: { + short_description: + '"{{context.monitorName}}" is {{{context.status}}} from {{context.locationName}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- Checked at: {{context.checkedAt}} \n- From: {{context.locationName}} \n- Error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + description: + '"{{context.monitorName}}" is {{{context.status}}} from {{context.locationName}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- Checked at: {{context.checkedAt}} \n- From: {{context.locationName}} \n- Error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + impact: '2', + severity: '2', + urgency: '2', + category: null, + subcategory: null, + externalId: null, + correlation_id: null, + correlation_display: null, + }, + comments: [], + }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '27350638-df5c-4c15-9f0b-9aaede3e23ee', + actionTypeId: '.servicenow', + id: 'my-deprecated-servicenow', + }, + { + group: 'recovered', + params: { + message: + 'The alert for "{{context.monitorName}}" from {{context.locationName}} is no longer active: {{context.recoveryReason}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}} \n- Last error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '2d73f370-a90c-4347-8480-753cbeae719f', + actionTypeId: '.slack', + id: 'my-slack1', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.monitorStatus', + params: { + message: + '"{{context.monitorName}}" is {{{context.status}}} from {{context.locationName}}. - Elastic Synthetics\n\nDetails:\n\n- Monitor name: {{context.monitorName}} \n- {{context.monitorUrlLabel}}: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- Checked at: {{context.checkedAt}} \n- From: {{context.locationName}} \n- Error received: {{{context.lastErrorMessage}}} \n{{{context.linkMessage}}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '1c5d0dd1-c360-4e14-8e4f-f24aa5c640c6', + actionTypeId: '.slack', + id: 'my-slack1', + }, + ], + params: {}, + snoozeSchedule: [], + updatedAt: '2023-06-30T20:08:20.874Z', + createdAt: '2023-06-30T20:08:20.874Z', + scheduledTaskId: 'dbbc39f0-1781-11ee-80b9-6522650f1d50', + executionStatus: { + status: 'ok', + lastExecutionDate: '2023-06-30T20:13:38.014Z', + lastDuration: 47, + }, + monitoring: { + run: { + history: [ + { duration: 1041, success: true, timestamp: 1688155702964 }, + { duration: 62, success: true, timestamp: 1688155765981 }, + { duration: 60, success: true, timestamp: 1688155828993 }, + { duration: 52, success: true, timestamp: 1688155891997 }, + { duration: 50, success: true, timestamp: 1688155955011 }, + { duration: 47, success: true, timestamp: 1688156018014 }, + ], + calculated_metrics: { success_ratio: 1, p99: 1041, p50: 56, p95: 1041 }, + last_run: { + timestamp: '2023-06-30T20:13:38.014Z', + metrics: { + duration: 47, + total_search_duration_ms: null, + total_indexing_duration_ms: null, + total_alerts_detected: null, + total_alerts_created: null, + gap_duration_s: null, + }, + }, + }, + }, + nextRun: '2023-06-30T20:14:37.949Z', + lastRun: { + outcomeOrder: 0, + alertsCount: { new: 0, ignored: 0, recovered: 0, active: 0 }, + outcomeMsg: null, + warning: null, + outcome: 'succeeded', + }, + ruleTypeId: 'xpack.synthetics.alerts.monitorStatus', +} as unknown as SanitizedRule; +const tlsRule = { + id: 'dbbc12e0-1781-11ee-80b9-6522650f1d50', + notifyWhen: null, + consumer: 'uptime', + alertTypeId: 'xpack.synthetics.alerts.tls', + tags: ['SYNTHETICS_DEFAULT_ALERT'], + name: 'Synthetics internal TLS alert', + enabled: true, + throttle: null, + apiKeyOwner: 'elastic', + apiKeyCreatedByUser: false, + createdBy: 'elastic', + updatedBy: 'elastic', + muteAll: false, + mutedInstanceIds: [], + revision: 0, + running: false, + schedule: { interval: '1m' }, + actions: [ + { + group: 'recovered', + params: { + body: 'Alert for TLS certificate {{context.commonName}} from issuer {{context.issuer}} has recovered - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '52070ef7-c288-40e7-ae5b-51c7d77463cb', + actionTypeId: '.webhook', + id: 'custom.ssl.noCustom', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.tls', + params: { + body: 'Detected TLS certificate {{context.commonName}} is {{context.status}} - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '4d003e7b-e37d-47e6-8ee6-2d80b61fa31f', + actionTypeId: '.webhook', + id: 'custom.ssl.noCustom', + }, + { + group: 'recovered', + params: { + to: ['test@gmail.com'], + subject: 'Alert has resolved for certificate {{context.commonName}} - Elastic Synthetics', + message: + 'Alert for TLS certificate {{context.commonName}} from issuer {{context.issuer}} has recovered - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + messageHTML: null, + cc: [], + bcc: [], + kibanaFooterLink: { path: '', text: '' }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: 'b5035977-2236-448e-9e2b-6fbbe1cc7678', + actionTypeId: '.email', + id: 'notification-email', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.tls', + params: { + to: ['test@gmail.com'], + subject: 'Alert triggered for certificate {{context.commonName}} - Elastic Synthetics', + message: + 'Detected TLS certificate {{context.commonName}} is {{context.status}} - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + messageHTML: null, + cc: [], + bcc: [], + kibanaFooterLink: { path: '', text: '' }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '85b9b6c4-2a61-49cf-aefb-78363167a584', + actionTypeId: '.email', + id: 'notification-email', + }, + { + group: 'recovered', + params: { + documents: [ + { + monitorName: '{{context.monitorName}}', + monitorUrl: '{{{context.monitorUrl}}}', + statusMessage: '{{{context.status}}}', + latestErrorMessage: '{{{context.latestErrorMessage}}}', + observerLocation: '{{context.locationName}}', + recoveryReason: '{{context.recoveryReason}}', + }, + ], + indexOverride: null, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: 'e7a23561-ee09-45b0-b093-189b51bad918', + actionTypeId: '.index', + id: 'preconfigured-es-index-action', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.tls', + params: { + documents: [ + { + monitorName: '{{context.monitorName}}', + monitorUrl: '{{{context.monitorUrl}}}', + statusMessage: '{{{context.status}}}', + latestErrorMessage: '{{{context.lastErrorMessage}}}', + observerLocation: '{{context.locationName}}', + }, + ], + indexOverride: null, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '2b40e26a-8dd7-4711-897e-95ce1d2ca4f6', + actionTypeId: '.index', + id: 'preconfigured-es-index-action', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.tls', + params: { + subAction: 'pushToService', + subActionParams: { + incident: { + short_description: + 'Detected TLS certificate {{context.commonName}} is {{context.status}} - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + description: + 'Detected TLS certificate {{context.commonName}} is {{context.status}} - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + impact: '2', + severity: '2', + urgency: '2', + category: null, + subcategory: null, + externalId: null, + correlation_id: null, + correlation_display: null, + }, + comments: [], + }, + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '172025b4-4032-4ada-bcfc-ccdc060409ab', + actionTypeId: '.servicenow', + id: 'my-deprecated-servicenow', + }, + { + group: 'recovered', + params: { + message: + 'Alert for TLS certificate {{context.commonName}} from issuer {{context.issuer}} has recovered - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '25822900-a030-4e59-b9c7-909ff665a862', + actionTypeId: '.slack', + id: 'my-slack1', + }, + { + group: 'xpack.synthetics.alerts.actionGroups.tls', + params: { + message: + 'Detected TLS certificate {{context.commonName}} is {{context.status}} - Elastic Synthetics\n\nDetails:\n\n- Summary: {{context.summary}}\n- Common name: {{context.commonName}}\n- Issuer: {{context.issuer}}\n- Monitor: {{context.monitorName}} \n- Monitor URL: {{{context.monitorUrl}}} \n- Monitor type: {{context.monitorType}} \n- From: {{context.locationName}}', + }, + frequency: { notifyWhen: 'onActionGroupChange', throttle: null, summary: false }, + uuid: '07896abe-5ebe-4e7f-95e4-3944e6831843', + actionTypeId: '.slack', + id: 'my-slack1', + }, + ], + params: {}, + snoozeSchedule: [], + updatedAt: '2023-06-30T20:08:20.878Z', + createdAt: '2023-06-30T20:08:20.878Z', + scheduledTaskId: 'dbbc12e0-1781-11ee-80b9-6522650f1d50', + executionStatus: { + status: 'ok', + lastExecutionDate: '2023-06-30T20:08:22.963Z', + lastDuration: 1044, + }, + monitoring: { + run: { + history: [{ duration: 1044, success: true, timestamp: 1688155702963 }], + calculated_metrics: { success_ratio: 1, p99: 1044, p50: 1044, p95: 1044 }, + last_run: { + timestamp: '2023-06-30T20:08:22.963Z', + metrics: { + duration: 1044, + total_search_duration_ms: null, + total_indexing_duration_ms: null, + total_alerts_detected: null, + total_alerts_created: null, + gap_duration_s: null, + }, + }, + }, + }, + nextRun: '2023-06-30T20:18:22.898Z', + lastRun: { + outcomeOrder: 0, + alertsCount: { new: 0, ignored: 0, recovered: 0, active: 0 }, + outcomeMsg: null, + warning: null, + outcome: 'succeeded', + }, + ruleTypeId: 'xpack.synthetics.alerts.tls', +} as unknown as SanitizedRule; diff --git a/x-pack/test/api_integration/apis/synthetics/enable_default_alerting.ts b/x-pack/test/api_integration/apis/synthetics/enable_default_alerting.ts index 6d8d1da2b6575..78d4d34a38b9f 100644 --- a/x-pack/test/api_integration/apis/synthetics/enable_default_alerting.ts +++ b/x-pack/test/api_integration/apis/synthetics/enable_default_alerting.ts @@ -144,7 +144,7 @@ const defaultAlertRules = { mutedInstanceIds: [], revision: 0, running: false, - schedule: { interval: '10m' }, + schedule: { interval: '1m' }, actions: [], params: {}, snoozeSchedule: [], diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts index fc7d86306fc41..16029e3f84615 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts @@ -173,6 +173,73 @@ export default ({ getService }: FtrProviderContext): void => { }); }); + it('unhappy path - 400s when comment is too long', async () => { + const postedCase = await createCase(supertest, postCaseReq); + const patchedCase = await createComment({ + supertest, + caseId: postedCase.id, + params: postCommentUserReq, + }); + const longComment = Array(30001).fill('a').toString(); + + await updateComment({ + supertest, + caseId: postedCase.id, + req: { + id: patchedCase.comments![0].id, + version: patchedCase.comments![0].version, + type: CommentType.user, + comment: longComment, + owner: 'securitySolutionFixture', + }, + expectedHttpCode: 400, + }); + }); + + it('unhappy path - 400s when comment is empty', async () => { + const postedCase = await createCase(supertest, postCaseReq); + const patchedCase = await createComment({ + supertest, + caseId: postedCase.id, + params: postCommentUserReq, + }); + + await updateComment({ + supertest, + caseId: postedCase.id, + req: { + id: patchedCase.comments![0].id, + version: patchedCase.comments![0].version, + type: CommentType.user, + comment: '', + owner: 'securitySolutionFixture', + }, + expectedHttpCode: 400, + }); + }); + + it('unhappy path - 400s when comment is a string of empty characters', async () => { + const postedCase = await createCase(supertest, postCaseReq); + const patchedCase = await createComment({ + supertest, + caseId: postedCase.id, + params: postCommentUserReq, + }); + + await updateComment({ + supertest, + caseId: postedCase.id, + req: { + id: patchedCase.comments![0].id, + version: patchedCase.comments![0].version, + type: CommentType.user, + comment: ' ', + owner: 'securitySolutionFixture', + }, + expectedHttpCode: 400, + }); + }); + it('unhappy path - 400s when trying to change comment type', async () => { const postedCase = await createCase(supertest, postCaseReq); const patchedCase = await createComment({ diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts index 34854939b4771..8851a95c6ebc3 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts @@ -274,6 +274,49 @@ export default ({ getService }: FtrProviderContext): void => { }); }); + it('400s when adding too long comment', async () => { + const postedCase = await createCase(supertest, postCaseReq); + const longComment = Array(30001).fill('a').toString(); + + await createComment({ + supertest, + caseId: postedCase.id, + // @ts-expect-error + params: { + comment: longComment, + }, + expectedHttpCode: 400, + }); + }); + + it('400s when adding empty comment', async () => { + const postedCase = await createCase(supertest, postCaseReq); + + await createComment({ + supertest, + caseId: postedCase.id, + // @ts-expect-error + params: { + comment: '', + }, + expectedHttpCode: 400, + }); + }); + + it('400s when adding a comment with only empty characters', async () => { + const postedCase = await createCase(supertest, postCaseReq); + + await createComment({ + supertest, + caseId: postedCase.id, + // @ts-expect-error + params: { + comment: ' ', + }, + expectedHttpCode: 400, + }); + }); + it('400s when adding excess attributes for type user', async () => { const postedCase = await createCase(supertest, postCaseReq); diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/bulk_create_attachments.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/bulk_create_attachments.ts index c9834a16a3fc8..c6dc4dbcb1d9b 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/bulk_create_attachments.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/bulk_create_attachments.ts @@ -422,6 +422,23 @@ export default ({ getService }: FtrProviderContext): void => { }); }); + it('400s when comment is too long', async () => { + const longComment = 'x'.repeat(30001); + + await bulkCreateAttachments({ + supertest, + caseId: 'case-id', + params: [ + { + type: CommentType.user, + comment: longComment, + owner: 'securitySolutionFixture', + }, + ], + expectedHttpCode: 400, + }); + }); + it('400s when adding excess attributes for type user', async () => { const postedCase = await createCase(supertest, postCaseReq); diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts index 93a9128154aea..eb935af66af33 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts @@ -133,7 +133,10 @@ function alertsAreTheSame(alertsA: any[], alertsB: any[]): void { ]); }; - expect(alertsA.map(mapAlert)).to.eql(alertsB.map(mapAlert)); + const sort = (alerts: any[]) => + alerts.sort((a: any, b: any) => a.message.localeCompare(b.message)); + + expect(sort(alertsA.map(mapAlert))).to.eql(sort(alertsB.map(mapAlert))); } // eslint-disable-next-line import/no-default-export diff --git a/x-pack/test/fleet_api_integration/apis/outputs/crud.ts b/x-pack/test/fleet_api_integration/apis/outputs/crud.ts index 785a04b01c88c..c870e4bca0ab1 100644 --- a/x-pack/test/fleet_api_integration/apis/outputs/crud.ts +++ b/x-pack/test/fleet_api_integration/apis/outputs/crud.ts @@ -190,6 +190,27 @@ export default function (providerContext: FtrProviderContext) { ); }); + it('should not allow to update a default ES output to Kafka', async function () { + const { body } = await supertest + .put(`/api/fleet/outputs/${defaultOutputId}`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'My Kafka Output', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + is_default: true, + is_default_monitoring: true, + topics: [{ topic: 'topic1' }], + }) + .expect(400); + expect(body.message).to.eql( + 'Kafka output cannot be used with Fleet Server integration in Fleet Server policy 1. Please create a new ElasticSearch output.' + ); + }); + it('should allow to update a default ES output if keeping it ES', async function () { await supertest .put(`/api/fleet/outputs/${defaultOutputId}`) @@ -197,7 +218,7 @@ export default function (providerContext: FtrProviderContext) { .send({ name: 'Updated Default ES Output', type: 'elasticsearch', - hosts: ['test.fr:443'], + hosts: ['http://test.fr:443'], }) .expect(200); }); @@ -245,6 +266,38 @@ export default function (providerContext: FtrProviderContext) { expect(updatedFleetServerPolicyWithCustomOutput.data_output_id === ESOutputId); }); + it('should allow to update a non-default ES output to kafka', async function () { + const { body: postResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Elasticsearch output', + type: 'elasticsearch', + hosts: ['https://test.fr:443'], + }) + .expect(200); + + const { id: elasticsearchOutputId } = postResponse.item; + await supertest + .put(`/api/fleet/outputs/${elasticsearchOutputId}`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'A Kafka Output', + type: 'kafka', + }) + .expect(200); + + const { body } = await supertest.get(`/api/fleet/agent_policies/${fleetServerPolicyId}`); + const updatedFleetServerPolicy = body.item; + expect(updatedFleetServerPolicy.data_output_id === defaultOutputId); + + const { body: bodyWithOutput } = await supertest.get( + `/api/fleet/agent_policies/${fleetServerPolicyWithCustomOutputId}` + ); + const updatedFleetServerPolicyWithCustomOutput = bodyWithOutput.item; + expect(updatedFleetServerPolicyWithCustomOutput.data_output_id === ESOutputId); + }); + it('should allow to update a default logstash output to logstash and fleet server policies should be updated', async function () { const { body: postResponse } = await supertest .post(`/api/fleet/outputs`) @@ -505,6 +558,99 @@ export default function (providerContext: FtrProviderContext) { ); }); + it('should allow to create a new kafka output', async function () { + const { body: postResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'My Kafka Output', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + topics: [{ topic: 'topic1' }], + }) + .expect(200); + + const { id: _, ...itemWithoutId } = postResponse.item; + expect(itemWithoutId).to.eql({ + is_default: false, + is_default_monitoring: false, + name: 'My Kafka Output', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + topics: [{ topic: 'topic1' }], + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + sasl: { + mechanism: 'PLAIN', + }, + timeout: 30, + partition: 'hash', + version: '1.0.0', + }); + }); + + it('should allow to create a new kafka default output and fleet server policies should not change', async function () { + const { body: postResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Default Kafka Output', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + topics: [{ topic: 'topic1' }], + is_default: true, + }) + .expect(200); + + const { id: _, ...itemWithoutId } = postResponse.item; + expect(itemWithoutId).to.eql({ + name: 'Default Kafka Output', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + topics: [{ topic: 'topic1' }], + is_default: true, + is_default_monitoring: false, + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + sasl: { + mechanism: 'PLAIN', + }, + timeout: 30, + partition: 'hash', + version: '1.0.0', + }); + + const { body } = await supertest.get(`/api/fleet/agent_policies/${fleetServerPolicyId}`); + const updatedFleetServerPolicy = body.item; + expect(updatedFleetServerPolicy.data_output_id === defaultOutputId); + + const { body: bodyWithOutput } = await supertest.get( + `/api/fleet/agent_policies/${fleetServerPolicyWithCustomOutputId}` + ); + const updatedFleetServerPolicyWithCustomOutput = bodyWithOutput.item; + expect(updatedFleetServerPolicyWithCustomOutput.data_output_id === ESOutputId); + }); + it('should toggle the default output when creating a new one', async function () { await supertest .post(`/api/fleet/outputs`) @@ -693,77 +839,166 @@ export default function (providerContext: FtrProviderContext) { const defaultOutputs = outputs.filter((o: any) => o.is_default_monitoring); expect(defaultOutputs[0].shipper).to.equal(null); }); - }); - - describe('DELETE /outputs/{outputId}', () => { - let outputId: string; - let defaultOutputIdToDelete: string; - let defaultMonitoringOutputId: string; - before(async () => { - const { body: postResponse } = await supertest + it('should allow to create a kafka output with the shipper values', async function () { + await supertest .post(`/api/fleet/outputs`) .set('kbn-xsrf', 'xxxx') .send({ - name: 'Output to delete test', - type: 'elasticsearch', + name: 'Kafka Output', + type: 'kafka', hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + topics: [{ topic: 'topic1' }], + config_yaml: 'shipper: {}', + shipper: { + disk_queue_enabled: true, + disk_queue_path: 'path/to/disk/queue', + disk_queue_encryption_enabled: true, + }, }) .expect(200); - outputId = postResponse.item.id; - const { body: defaultOutputPostResponse } = await supertest - .post(`/api/fleet/outputs`) - .set('kbn-xsrf', 'xxxx') - .send({ - name: 'Default Output to delete test', - type: 'elasticsearch', - hosts: ['https://test.fr'], - is_default: true, - }) - .expect(200); - defaultOutputIdToDelete = defaultOutputPostResponse.item.id; - const { body: defaultMonitoringOutputPostResponse } = await supertest - .post(`/api/fleet/outputs`) - .set('kbn-xsrf', 'xxxx') - .send({ - name: 'Default Output to delete test', - type: 'elasticsearch', - hosts: ['https://test.fr'], - is_default_monitoring: true, - }) - .expect(200); - defaultMonitoringOutputId = defaultMonitoringOutputPostResponse.item.id; + const { + body: { items: outputs }, + } = await supertest.get(`/api/fleet/outputs`).expect(200); + const newOutput = outputs.filter((o: any) => o.name === 'Kafka Output'); + expect(newOutput[0].shipper).to.eql({ + compression_level: null, + disk_queue_compression_enabled: null, + disk_queue_enabled: true, + disk_queue_encryption_enabled: true, + disk_queue_max_size: null, + disk_queue_path: 'path/to/disk/queue', + loadbalance: null, + max_batch_bytes: null, + mem_queue_events: null, + queue_flush_timeout: null, + }); }); + }); - it('should return a 400 when deleting a default output ', async function () { - await supertest - .delete(`/api/fleet/outputs/${defaultOutputIdToDelete}`) - .set('kbn-xsrf', 'xxxx') - .expect(400); - }); + describe('DELETE /outputs/{outputId}', () => { + describe('Elasticsearch output', () => { + let outputId: string; + let defaultOutputIdToDelete: string; + let defaultMonitoringOutputId: string; + + before(async () => { + const { body: postResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Output to delete test', + type: 'elasticsearch', + hosts: ['https://test.fr'], + }) + .expect(200); + outputId = postResponse.item.id; + + const { body: defaultOutputPostResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Default Output to delete test', + type: 'elasticsearch', + hosts: ['https://test.fr'], + is_default: true, + }) + .expect(200); + defaultOutputIdToDelete = defaultOutputPostResponse.item.id; + const { body: defaultMonitoringOutputPostResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Default Output to delete test', + type: 'elasticsearch', + hosts: ['https://test.fr'], + is_default_monitoring: true, + }) + .expect(200); + defaultMonitoringOutputId = defaultMonitoringOutputPostResponse.item.id; + }); - it('should return a 400 when deleting a default output ', async function () { - await supertest - .delete(`/api/fleet/outputs/${defaultMonitoringOutputId}`) - .set('kbn-xsrf', 'xxxx') - .expect(400); - }); + it('should return a 400 when deleting a default output ', async function () { + await supertest + .delete(`/api/fleet/outputs/${defaultOutputIdToDelete}`) + .set('kbn-xsrf', 'xxxx') + .expect(400); + }); - it('should return a 404 when deleting a non existing output ', async function () { - await supertest - .delete(`/api/fleet/outputs/idonotexists`) - .set('kbn-xsrf', 'xxxx') - .expect(404); + it('should return a 400 when deleting a default output ', async function () { + await supertest + .delete(`/api/fleet/outputs/${defaultMonitoringOutputId}`) + .set('kbn-xsrf', 'xxxx') + .expect(400); + }); + + it('should return a 404 when deleting a non existing output ', async function () { + await supertest + .delete(`/api/fleet/outputs/idonotexists`) + .set('kbn-xsrf', 'xxxx') + .expect(404); + }); + + it('should allow to delete an output ', async function () { + const { body: deleteResponse } = await supertest + .delete(`/api/fleet/outputs/${outputId}`) + .set('kbn-xsrf', 'xxxx') + .expect(200); + + expect(deleteResponse.id).to.eql(outputId); + }); }); - it('should allow to delete an output ', async function () { - const { body: deleteResponse } = await supertest - .delete(`/api/fleet/outputs/${outputId}`) - .set('kbn-xsrf', 'xxxx') - .expect(200); + describe('Kafka output', () => { + let outputId: string; + let defaultOutputIdToDelete: string; + + const kafkaOutputPayload = { + name: 'Output to delete test', + type: 'kafka', + hosts: ['https://test.fr'], + auth_type: 'user_pass', + username: 'user', + password: 'pass', + is_default: true, + topics: [{ topic: 'topic1' }], + }; + + before(async () => { + const { body: postResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send(kafkaOutputPayload) + .expect(200); + outputId = postResponse.item.id; + + const { body: defaultOutputPostResponse } = await supertest + .post(`/api/fleet/outputs`) + .set('kbn-xsrf', 'xxxx') + .send({ ...kafkaOutputPayload, name: 'Default Output to delete test' }) + .expect(200); + defaultOutputIdToDelete = defaultOutputPostResponse.item.id; + }); - expect(deleteResponse.id).to.eql(outputId); + it('should return a 400 when deleting a default output ', async function () { + await supertest + .delete(`/api/fleet/outputs/${defaultOutputIdToDelete}`) + .set('kbn-xsrf', 'xxxx') + .expect(400); + }); + + it('should allow to delete an output ', async function () { + const { body: deleteResponse } = await supertest + .delete(`/api/fleet/outputs/${outputId}`) + .set('kbn-xsrf', 'xxxx') + .expect(200); + + expect(deleteResponse.id).to.eql(outputId); + }); }); }); }); diff --git a/x-pack/test/functional/apps/infra/hosts_view.ts b/x-pack/test/functional/apps/infra/hosts_view.ts index ffb7e09099916..23dc3a18b70e0 100644 --- a/x-pack/test/functional/apps/infra/hosts_view.ts +++ b/x-pack/test/functional/apps/infra/hosts_view.ts @@ -245,9 +245,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - // FLAKY: https://github.com/elastic/kibana/issues/159368 - // FLAKY: https://github.com/elastic/kibana/issues/159369 - describe.skip('#Single host Flyout', () => { + describe('#Single host Flyout', () => { before(async () => { await setHostViewEnabled(true); await pageObjects.common.navigateToApp(HOSTS_VIEW_PATH); @@ -334,13 +332,11 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { const query = decodeURIComponent(url.query ?? ''); - const environment = 'environment=ENVIRONMENT_ALL'; const kuery = 'kuery=host.hostname:"Jennys-MBP.fritz.box"'; const rangeFrom = 'rangeFrom=2023-03-28T18:20:00.000Z'; const rangeTo = 'rangeTo=2023-03-28T18:21:00.000Z'; expect(url.pathname).to.eql('/app/apm/services'); - expect(query).to.contain(environment); expect(query).to.contain(kuery); expect(query).to.contain(rangeFrom); expect(query).to.contain(rangeTo);