Skip to content

Commit

Permalink
Merge branch 'main' into add-event-log
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Mar 28, 2022
2 parents 5c57859 + 065b585 commit 0b66a79
Show file tree
Hide file tree
Showing 790 changed files with 25,861 additions and 38,896 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipelines/pull_request/base.yml
Expand Up @@ -173,6 +173,6 @@ steps:
- command: .buildkite/scripts/steps/webpack_bundle_analyzer/build_and_upload.sh
label: 'Build Webpack Bundle Analyzer reports'
agents:
queue: n2-2
queue: c2-4
key: webpack_bundle_analyzer
timeout_in_minutes: 60
2 changes: 1 addition & 1 deletion .buildkite/scripts/bootstrap.sh
Expand Up @@ -15,7 +15,7 @@ if ! yarn kbn bootstrap; then
rm -rf node_modules

echo "--- yarn install and bootstrap, attempt 2"
yarn kbn bootstrap
yarn kbn bootstrap --force-install
fi

if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/build_kibana.sh
Expand Up @@ -8,7 +8,7 @@ echo "--- Build Kibana Distribution"
if [[ "${GITHUB_PR_LABELS:-}" == *"ci:build-all-platforms"* ]]; then
node scripts/build --all-platforms --skip-os-packages
elif [[ "${GITHUB_PR_LABELS:-}" == *"ci:build-os-packages"* ]]; then
node scripts/build --all-platforms
node scripts/build --all-platforms --docker-cross-compile
else
node scripts/build
fi
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/artifacts/build.sh
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
.buildkite/scripts/bootstrap.sh

echo "--- Build Kibana Distribution"
node scripts/build --all-platforms --debug --skip-docker-cloud
node scripts/build --all-platforms --debug --docker-cross-compile --skip-docker-cloud

echo "--- Build dependencies report"
node scripts/licenses_csv_report --csv=target/dependencies_report.csv
51 changes: 50 additions & 1 deletion api_docs/actions.devdocs.json
Expand Up @@ -598,6 +598,49 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-server.FindActionResult",
"type": "Interface",
"tags": [],
"label": "FindActionResult",
"description": [],
"signature": [
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.FindActionResult",
"text": "FindActionResult"
},
" extends ",
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.ActionResult",
"text": "ActionResult"
},
"<",
"ActionTypeConfig",
">"
],
"path": "x-pack/plugins/actions/server/types.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.FindActionResult.referencedByCount",
"type": "number",
"tags": [],
"label": "referencedByCount",
"description": [],
"path": "x-pack/plugins/actions/server/types.ts",
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-server.PreConfiguredAction",
Expand Down Expand Up @@ -866,7 +909,13 @@
"text": "ActionTypeExecutorResult"
},
"<unknown>>; getAll: () => Promise<",
"FindActionResult",
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.FindActionResult",
"text": "FindActionResult"
},
"[]>; getBulk: (ids: string[]) => Promise<",
{
"pluginId": "actions",
Expand Down
4 changes: 2 additions & 2 deletions api_docs/actions.mdx
Expand Up @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/actions
title: "actions"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the actions plugin
date: 2022-03-15
date: 2022-03-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
warning: 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.
---
Expand All @@ -18,7 +18,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 125 | 0 | 125 | 11 |
| 127 | 0 | 127 | 10 |

## Server

Expand Down
2 changes: 1 addition & 1 deletion api_docs/advanced_settings.mdx
Expand Up @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/advancedSettings
title: "advancedSettings"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the advancedSettings plugin
date: 2022-03-15
date: 2022-03-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
warning: 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.
---
Expand Down
128 changes: 102 additions & 26 deletions api_docs/alerting.devdocs.json
Expand Up @@ -57,7 +57,7 @@
"section": "def-common.AlertAction",
"text": "AlertAction"
},
"[]; throttle: string | null; alertTypeId: string; consumer: string; schedule: ",
"[]; throttle: string | null; consumer: string; alertTypeId: string; schedule: ",
{
"pluginId": "alerting",
"scope": "common",
Expand All @@ -81,7 +81,7 @@
"section": "def-common.AlertExecutionStatus",
"text": "AlertExecutionStatus"
},
"; }"
"; snoozeEndTime?: Date | null | undefined; }"
],
"path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts",
"deprecated": false
Expand Down Expand Up @@ -1904,8 +1904,8 @@
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.PublicAlertingConfig",
"text": "PublicAlertingConfig"
"section": "def-server.AlertingRulesConfig",
"text": "AlertingRulesConfig"
}
],
"path": "x-pack/plugins/alerting/server/plugin.ts",
Expand Down Expand Up @@ -2433,6 +2433,20 @@
],
"path": "x-pack/plugins/alerting/server/types.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-server.RuleType.config",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
"RuleTypeConfig",
" | undefined"
],
"path": "x-pack/plugins/alerting/server/types.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -2529,6 +2543,20 @@
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertingRulesConfig",
"type": "Type",
"tags": [],
"label": "AlertingRulesConfig",
"description": [],
"signature": [
"{ readonly minimumScheduleInterval: Readonly<{} & { value: string; enforce: boolean; }>; }"
],
"path": "x-pack/plugins/alerting/server/config.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertInstanceContext",
Expand Down Expand Up @@ -2651,20 +2679,6 @@
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.PublicAlertingConfig",
"type": "Type",
"tags": [],
"label": "PublicAlertingConfig",
"description": [],
"signature": [
"{ readonly minimumScheduleInterval: string; }"
],
"path": "x-pack/plugins/alerting/server/config.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.RulesClient",
Expand Down Expand Up @@ -2775,7 +2789,11 @@
"section": "def-common.AlertSummary",
"text": "AlertSummary"
},
">; updateApiKey: ({ id }: { id: string; }) => Promise<void>; unmuteAll: ({ id }: { id: string; }) => Promise<void>; muteInstance: ({ alertId, alertInstanceId }: ",
">; getExecutionLogForRule: ({ id, dateStart, dateEnd, filter, page, perPage, sort, }: ",
"GetExecutionLogByIdParams",
") => Promise<",
"IExecutionLogResult",
">; updateApiKey: ({ id }: { id: string; }) => Promise<void>; snooze: ({ id, snoozeEndTime, }: { id: string; snoozeEndTime: string | -1; }) => Promise<void>; unsnooze: ({ id }: { id: string; }) => Promise<void>; unmuteAll: ({ id }: { id: string; }) => Promise<void>; muteInstance: ({ alertId, alertInstanceId }: ",
"MuteOptions",
") => Promise<void>; unmuteInstance: ({ alertId, alertInstanceId }: ",
"MuteOptions",
Expand Down Expand Up @@ -3540,6 +3558,19 @@
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-common.Alert.snoozeEndTime",
"type": "CompoundType",
"tags": [],
"label": "snoozeEndTime",
"description": [],
"signature": [
"Date | null | undefined"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -3648,6 +3679,19 @@
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-common.AlertAggregations.ruleSnoozedStatus",
"type": "Object",
"tags": [],
"label": "ruleSnoozedStatus",
"description": [],
"signature": [
"{ snoozed: number; }"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand All @@ -3670,7 +3714,7 @@
"label": "status",
"description": [],
"signature": [
"\"error\" | \"unknown\" | \"pending\" | \"ok\" | \"active\""
"\"error\" | \"unknown\" | \"warning\" | \"pending\" | \"ok\" | \"active\""
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
Expand Down Expand Up @@ -3747,6 +3791,27 @@
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-common.AlertExecutionStatus.warning",
"type": "Object",
"tags": [],
"label": "warning",
"description": [],
"signature": [
"{ reason: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.AlertExecutionStatusWarningReasons",
"text": "AlertExecutionStatusWarningReasons"
},
"; message: string; } | undefined"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -4328,7 +4393,7 @@
"label": "state",
"description": [],
"signature": [
"{ alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; } & { metrics: { numSearches?: number | undefined; totalSearchDurationMs?: number | undefined; esSearchDurationMs?: number | undefined; }; triggeredActions: { group?: string | undefined; id?: string | undefined; actionTypeId?: string | undefined; params?: { [x: string]: unknown; } | undefined; }[]; }"
"{ alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; } & { metrics: { numSearches?: number | undefined; totalSearchDurationMs?: number | undefined; esSearchDurationMs?: number | undefined; }; alertExecutionStore: { numberOfTriggeredActions?: number | undefined; triggeredActionsStatus?: string | undefined; }; }"
],
"path": "x-pack/plugins/alerting/common/rule_task_instance.ts",
"deprecated": false
Expand Down Expand Up @@ -4777,12 +4842,23 @@
"label": "AlertExecutionStatuses",
"description": [],
"signature": [
"\"error\" | \"unknown\" | \"pending\" | \"ok\" | \"active\""
"\"error\" | \"unknown\" | \"warning\" | \"pending\" | \"ok\" | \"active\""
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.AlertExecutionStatusWarningReasons",
"type": "string",
"tags": [],
"label": "AlertExecutionStatusWarningReasons",
"description": [],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.AlertInstanceContext",
Expand Down Expand Up @@ -5108,7 +5184,7 @@
"label": "RuleExecutionState",
"description": [],
"signature": [
"{ alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; } & { metrics: { numSearches?: number | undefined; totalSearchDurationMs?: number | undefined; esSearchDurationMs?: number | undefined; }; triggeredActions: { group?: string | undefined; id?: string | undefined; actionTypeId?: string | undefined; params?: { [x: string]: unknown; } | undefined; }[]; }"
"{ alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; } & { metrics: { numSearches?: number | undefined; totalSearchDurationMs?: number | undefined; esSearchDurationMs?: number | undefined; }; alertExecutionStore: { numberOfTriggeredActions?: number | undefined; triggeredActionsStatus?: string | undefined; }; }"
],
"path": "x-pack/plugins/alerting/common/rule_task_instance.ts",
"deprecated": false,
Expand Down Expand Up @@ -5180,7 +5256,7 @@
"section": "def-common.AlertAction",
"text": "AlertAction"
},
"[]; throttle: string | null; alertTypeId: string; consumer: string; schedule: ",
"[]; throttle: string | null; consumer: string; alertTypeId: string; schedule: ",
{
"pluginId": "alerting",
"scope": "common",
Expand All @@ -5204,7 +5280,7 @@
"section": "def-common.AlertExecutionStatus",
"text": "AlertExecutionStatus"
},
"; }"
"; snoozeEndTime?: Date | null | undefined; }"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
Expand Down Expand Up @@ -5264,7 +5340,7 @@
"label": "AlertExecutionStatusValues",
"description": [],
"signature": [
"readonly [\"ok\", \"active\", \"error\", \"pending\", \"unknown\"]"
"readonly [\"ok\", \"active\", \"error\", \"pending\", \"unknown\", \"warning\"]"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
Expand Down
4 changes: 2 additions & 2 deletions api_docs/alerting.mdx
Expand Up @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/alerting
title: "alerting"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the alerting plugin
date: 2022-03-15
date: 2022-03-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
warning: 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.
---
Expand All @@ -18,7 +18,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 296 | 0 | 288 | 18 |
| 301 | 0 | 293 | 21 |

## Client

Expand Down

0 comments on commit 0b66a79

Please sign in to comment.