Skip to content

Commit 0efef8b

Browse files
authored
Merge branch 'main' into feature/94603
2 parents 4cf78d5 + 4997fdf commit 0efef8b

File tree

902 files changed

+20260
-4475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

902 files changed

+20260
-4475
lines changed

.buildkite/pipelines/pull_request/deploy_cloud.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ steps:
55
queue: n2-2-spot
66
depends_on: build
77
timeout_in_minutes: 30
8+
soft_fail: true
89
retry:
910
automatic:
1011
- exit_status: '-1'

.buildkite/scripts/common/setup_bazel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cat <<EOF > $KIBANA_DIR/.bazelrc
1111
build --build_metadata=ROLE=CI
1212
EOF
1313

14-
BAZEL_CACHE_MODE=${BAZEL_CACHE_MODE:-gcs}
14+
BAZEL_CACHE_MODE=none
1515

1616
if [[ "$BAZEL_CACHE_MODE" == "gcs" ]]; then
1717
echo "[bazel] enabling caching with GCS buckets"

.buildkite/scripts/steps/artifacts/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ if [ -d .beats ]; then
2929
cd .beats
3030
buildkite-agent artifact upload 'metricbeat-*'
3131
buildkite-agent artifact upload 'filebeat-*'
32+
buildkite-agent artifact upload 'beats_manifest.json'
3233
cd -
3334
fi

.buildkite/scripts/steps/artifacts/publish.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]]; then
5858
export VAULT_ROLE_ID="$(retry 5 15 gcloud secrets versions access latest --secret=kibana-buildkite-vault-role-id)"
5959
export VAULT_SECRET_ID="$(retry 5 15 gcloud secrets versions access latest --secret=kibana-buildkite-vault-secret-id)"
6060
export VAULT_ADDR="https://secrets.elastic.co:8200"
61+
62+
download_artifact beats_manifest.json /tmp --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
63+
export BEATS_MANIFEST_URL=$(jq -r .manifest_url /tmp/beats_manifest.json)
64+
6165
docker run --rm \
6266
--name release-manager \
6367
-e VAULT_ADDR \
@@ -72,6 +76,7 @@ if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]]; then
7276
--workflow "$WORKFLOW" \
7377
--version "$BASE_VERSION" \
7478
--qualifier "$VERSION_QUALIFIER" \
79+
--dependency "beats:$BEATS_MANIFEST_URL" \
7580
--artifact-set main
7681

7782
ARTIFACTS_SUBDOMAIN="artifacts-$WORKFLOW"

.buildkite/scripts/steps/lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ echo '--- Lint: eslint'
1616
# after possibly commiting fixed files to the repo
1717
set +e;
1818
if is_pr && ! is_auto_commit_disabled; then
19-
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 6 node scripts/eslint --no-cache --fix
19+
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 4 node scripts/eslint --no-cache --fix
2020
else
21-
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 6 node scripts/eslint --no-cache
21+
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 4 node scripts/eslint --no-cache
2222
fi
2323

2424
eslint_exit=$?

.github/CODEOWNERS

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,15 @@ x-pack/examples/files_example @elastic/kibana-app-services
332332
/x-pack/plugins/event_log/ @elastic/response-ops
333333
/x-pack/plugins/task_manager/ @elastic/response-ops
334334
/x-pack/plugins/stack_connectors/ @elastic/response-ops
335-
/x-pack/plugins/stack_connectors/public/connector_types/stack/ @elastic/response-ops-execution
336-
/x-pack/plugins/stack_connectors/server/connector_types/stack/ @elastic/response-ops-execution
337-
/x-pack/plugins/stack_connectors/public/connector_types/cases/ @elastic/response-ops-cases
338-
/x-pack/plugins/stack_connectors/server/connector_types/cases/ @elastic/response-ops-cases
335+
/x-pack/plugins/stack_connectors/public/connector_types/stack/ @elastic/response-ops @elastic/response-ops-execution
336+
/x-pack/plugins/stack_connectors/server/connector_types/stack/ @elastic/response-ops @elastic/response-ops-execution
337+
/x-pack/plugins/stack_connectors/public/connector_types/cases/ @elastic/response-ops @elastic/response-ops-cases
338+
/x-pack/plugins/stack_connectors/server/connector_types/cases/ @elastic/response-ops @elastic/response-ops-cases
339339
/x-pack/test/alerting_api_integration/ @elastic/response-ops
340+
/x-pack/test/alerting_api_integration/basic/tests/actions/connector_types/stack/ @elastic/response-ops @elastic/response-ops-execution
341+
/x-pack/test/alerting_api_integration/basic/tests/actions/connector_types/cases/ @elastic/response-ops @elastic/response-ops-cases
342+
/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/connector_types/stack/ @elastic/response-ops @elastic/response-ops-execution
343+
/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/connector_types/cases/ @elastic/response-ops @elastic/response-ops-cases
340344
/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/response-ops
341345
/x-pack/plugins/triggers_actions_ui/ @elastic/response-ops
342346
/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/response-ops
@@ -829,6 +833,7 @@ packages/core/status/core-status-server-internal @elastic/kibana-core
829833
packages/core/status/core-status-server-mocks @elastic/kibana-core
830834
packages/core/test-helpers/core-test-helpers-deprecations-getters @elastic/kibana-core
831835
packages/core/test-helpers/core-test-helpers-http-setup-browser @elastic/kibana-core
836+
packages/core/test-helpers/core-test-helpers-so-type-serializer @elastic/kibana-core
832837
packages/core/theme/core-theme-browser @elastic/kibana-core
833838
packages/core/theme/core-theme-browser-internal @elastic/kibana-core
834839
packages/core/theme/core-theme-browser-mocks @elastic/kibana-core

api_docs/actions.devdocs.json

Lines changed: 8 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -741,13 +741,9 @@
741741
"label": "request",
742742
"description": [],
743743
"signature": [
744-
"<R>({ url, data, method, responseSchema, headers, ...config }: { url: string; responseSchema: ",
745-
"Type",
746-
"<R>; method?: ",
747-
"Method",
748-
" | undefined; } & ",
749-
"AxiosRequestConfig",
750-
"<any>) => Promise<",
744+
"<R>({ url, data, method, responseSchema, headers, ...config }: ",
745+
"SubActionRequestParams",
746+
"<R>) => Promise<",
751747
"AxiosResponse",
752748
"<R, any>>"
753749
],
@@ -763,13 +759,8 @@
763759
"label": "{\n url,\n data,\n method = 'get',\n responseSchema,\n headers,\n ...config\n }",
764760
"description": [],
765761
"signature": [
766-
"{ url: string; responseSchema: ",
767-
"Type",
768-
"<R>; method?: ",
769-
"Method",
770-
" | undefined; } & ",
771-
"AxiosRequestConfig",
772-
"<any>"
762+
"SubActionRequestParams",
763+
"<R>"
773764
],
774765
"path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts",
775766
"deprecated": false,
@@ -1246,59 +1237,12 @@
12461237
"label": "renderParameterTemplates",
12471238
"description": [],
12481239
"signature": [
1249-
"((params: Params, variables: Record<string, unknown>, actionId?: string | undefined) => Params) | undefined"
1240+
"RenderParameterTemplates",
1241+
"<Params> | undefined"
12501242
],
12511243
"path": "x-pack/plugins/actions/server/types.ts",
12521244
"deprecated": false,
1253-
"trackAdoption": false,
1254-
"children": [
1255-
{
1256-
"parentPluginId": "actions",
1257-
"id": "def-server.ActionType.renderParameterTemplates.$1",
1258-
"type": "Uncategorized",
1259-
"tags": [],
1260-
"label": "params",
1261-
"description": [],
1262-
"signature": [
1263-
"Params"
1264-
],
1265-
"path": "x-pack/plugins/actions/server/types.ts",
1266-
"deprecated": false,
1267-
"trackAdoption": false,
1268-
"isRequired": true
1269-
},
1270-
{
1271-
"parentPluginId": "actions",
1272-
"id": "def-server.ActionType.renderParameterTemplates.$2",
1273-
"type": "Object",
1274-
"tags": [],
1275-
"label": "variables",
1276-
"description": [],
1277-
"signature": [
1278-
"Record<string, unknown>"
1279-
],
1280-
"path": "x-pack/plugins/actions/server/types.ts",
1281-
"deprecated": false,
1282-
"trackAdoption": false,
1283-
"isRequired": true
1284-
},
1285-
{
1286-
"parentPluginId": "actions",
1287-
"id": "def-server.ActionType.renderParameterTemplates.$3",
1288-
"type": "string",
1289-
"tags": [],
1290-
"label": "actionId",
1291-
"description": [],
1292-
"signature": [
1293-
"string | undefined"
1294-
],
1295-
"path": "x-pack/plugins/actions/server/types.ts",
1296-
"deprecated": false,
1297-
"trackAdoption": false,
1298-
"isRequired": false
1299-
}
1300-
],
1301-
"returnComment": []
1245+
"trackAdoption": false
13021246
},
13031247
{
13041248
"parentPluginId": "actions",

api_docs/actions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
88
title: "actions"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the actions plugin
11-
date: 2022-10-05
11+
date: 2022-10-06
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
1313
---
1414
import actionsObj from './actions.devdocs.json';
@@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q
2121

2222
| Public API count | Any count | Items lacking comments | Missing exports |
2323
|-------------------|-----------|------------------------|-----------------|
24-
| 216 | 0 | 211 | 21 |
24+
| 213 | 0 | 208 | 23 |
2525

2626
## Client
2727

api_docs/advanced_settings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
88
title: "advancedSettings"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the advancedSettings plugin
11-
date: 2022-10-05
11+
date: 2022-10-06
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
1313
---
1414
import advancedSettingsObj from './advanced_settings.devdocs.json';

api_docs/aiops.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
88
title: "aiops"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the aiops plugin
11-
date: 2022-10-05
11+
date: 2022-10-06
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
1313
---
1414
import aiopsObj from './aiops.devdocs.json';

0 commit comments

Comments
 (0)