Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/esql-validation
Browse files Browse the repository at this point in the history
dej611 authored Nov 29, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
2 parents 434f95b + 11136b6 commit 7e8bf8b
Showing 1,028 changed files with 13,219 additions and 4,333 deletions.
4 changes: 4 additions & 0 deletions .buildkite/scripts/packer_cache.sh
Original file line number Diff line number Diff line change
@@ -14,5 +14,9 @@ for version in $(cat versions.json | jq -r '.versions[].version'); do
node scripts/es snapshot --download-only --base-path "$ES_CACHE_DIR" --version "$version"
done

for version in $(cat versions.json | jq -r '.versions[].version'); do
node x-pack/plugins/security_solution/scripts/endpoint/agent_downloader --version "$version"
done

echo "--- Cloning repos for docs build"
node scripts/validate_next_docs --clone-only
5 changes: 2 additions & 3 deletions .buildkite/scripts/steps/cloud/purge_deployments.ts
Original file line number Diff line number Diff line change
@@ -23,12 +23,11 @@ const DAY_IN_SECONDS = 60 * 60 * 24;
for (const deployment of prDeployments) {
try {
const prNumber = deployment.name.match(/^kibana-pr-([0-9]+)$/)[1];
const prJson = execSync(`gh pr view '${prNumber}' --json state,labels,commits`).toString();
const prJson = execSync(`gh pr view '${prNumber}' --json state,labels,updatedAt`).toString();
const pullRequest = JSON.parse(prJson);
const prOpen = pullRequest.state === 'OPEN';

const lastCommit = pullRequest.commits.slice(-1)[0];
const lastCommitTimestamp = new Date(lastCommit.committedDate).getTime() / 1000;
const lastCommitTimestamp = new Date(pullRequest.updatedAt).getTime() / 1000;

const persistDeployment = Boolean(
pullRequest.labels.filter((label: any) => label.name === 'ci:cloud-persist-deployment').length
5 changes: 2 additions & 3 deletions .buildkite/scripts/steps/cloud/purge_projects.ts
Original file line number Diff line number Diff line change
@@ -66,12 +66,11 @@ async function purgeProjects() {
const NOW = new Date().getTime() / 1000;
const DAY_IN_SECONDS = 60 * 60 * 24;
const prJson = execSync(
`gh pr view '${project.prNumber}' --json state,labels,commits`
`gh pr view '${project.prNumber}' --json state,labels,updatedAt`
).toString();
const pullRequest = JSON.parse(prJson);
const prOpen = pullRequest.state === 'OPEN';
const lastCommit = pullRequest.commits.slice(-1)[0];
const lastCommitTimestamp = new Date(lastCommit.committedDate).getTime() / 1000;
const lastCommitTimestamp = new Date(pullRequest.updatedAt).getTime() / 1000;

const persistDeployment = Boolean(
pullRequest.labels.filter((label: any) => label.name === 'ci:project-persist-deployment')
2 changes: 2 additions & 0 deletions .buildkite/scripts/steps/serverless/build_and_deploy.sh
Original file line number Diff line number Diff line change
@@ -105,3 +105,5 @@ EOF
is_pr_with_label "ci:project-deploy-elasticsearch" && deploy "elasticsearch"
is_pr_with_label "ci:project-deploy-observability" && deploy "observability"
is_pr_with_label "ci:project-deploy-security" && deploy "security"

exit 0;
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -559,13 +559,15 @@ x-pack/plugins/observability @elastic/obs-ux-management-team
x-pack/plugins/observability_shared @elastic/observability-ui
x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security
test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team
packages/kbn-openapi-bundler @elastic/security-detection-rule-management
packages/kbn-openapi-generator @elastic/security-detection-rule-management
packages/kbn-optimizer @elastic/kibana-operations
packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations
packages/kbn-osquery-io-ts-types @elastic/security-asset-management
x-pack/plugins/osquery @elastic/security-defend-workflows
examples/partial_results_example @elastic/kibana-data-discovery
x-pack/plugins/painless_lab @elastic/platform-deployment-management
packages/kbn-panel-loader @elastic/kibana-presentation
packages/kbn-peggy @elastic/kibana-operations
packages/kbn-peggy-loader @elastic/kibana-operations
packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing
2 changes: 1 addition & 1 deletion api_docs/actions.mdx
Original file line number Diff line number Diff line change
@@ -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-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
@@ -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-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
---
import advancedSettingsObj from './advanced_settings.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/aiops.mdx
Original file line number Diff line number Diff line change
@@ -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-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
---
import aiopsObj from './aiops.devdocs.json';
50 changes: 50 additions & 0 deletions api_docs/alerting.devdocs.json
Original file line number Diff line number Diff line change
@@ -1388,6 +1388,56 @@
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.sanitizeBulkErrorResponse",
"type": "Function",
"tags": [],
"label": "sanitizeBulkErrorResponse",
"description": [],
"signature": [
"(response: ",
"BulkResponse",
" | ",
"TransportResult",
"<",
"BulkResponse",
", unknown>) => ",
"BulkResponse",
" | ",
"TransportResult",
"<",
"BulkResponse",
", unknown>"
],
"path": "x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "alerting",
"id": "def-server.sanitizeBulkErrorResponse.$1",
"type": "CompoundType",
"tags": [],
"label": "response",
"description": [],
"signature": [
"BulkResponse",
" | ",
"TransportResult",
"<",
"BulkResponse",
", unknown>"
],
"path": "x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
4 changes: 2 additions & 2 deletions api_docs/alerting.mdx
Original file line number Diff line number Diff line change
@@ -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-11-28
date: 2023-11-29
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 |
|-------------------|-----------|------------------------|-----------------|
| 811 | 1 | 780 | 51 |
| 813 | 1 | 782 | 51 |

## Client

2 changes: 1 addition & 1 deletion api_docs/apm.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm
title: "apm"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apm plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
---
import apmObj from './apm.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/apm_data_access.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess
title: "apmDataAccess"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apmDataAccess plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess']
---
import apmDataAccessObj from './apm_data_access.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/asset_manager.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager
title: "assetManager"
image: https://source.unsplash.com/400x175/?github
description: API docs for the assetManager plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetManager']
---
import assetManagerObj from './asset_manager.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/banners.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners
title: "banners"
image: https://source.unsplash.com/400x175/?github
description: API docs for the banners plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners']
---
import bannersObj from './banners.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/bfetch.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch
title: "bfetch"
image: https://source.unsplash.com/400x175/?github
description: API docs for the bfetch plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch']
---
import bfetchObj from './bfetch.devdocs.json';
2 changes: 1 addition & 1 deletion api_docs/canvas.mdx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas
title: "canvas"
image: https://source.unsplash.com/400x175/?github
description: API docs for the canvas plugin
date: 2023-11-28
date: 2023-11-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
---
import canvasObj from './canvas.devdocs.json';
131 changes: 131 additions & 0 deletions api_docs/cases.devdocs.json
Original file line number Diff line number Diff line change
@@ -1314,6 +1314,97 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities",
"type": "Interface",
"tags": [],
"label": "CasesCapabilities",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.CREATE_CASES_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[CREATE_CASES_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.READ_CASES_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[READ_CASES_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.UPDATE_CASES_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[UPDATE_CASES_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.DELETE_CASES_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[DELETE_CASES_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.PUSH_CASES_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[PUSH_CASES_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.CASES_CONNECTORS_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[CASES_CONNECTORS_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesCapabilities.CASES_SETTINGS_CAPABILITY",
"type": "boolean",
"tags": [],
"label": "[CASES_SETTINGS_CAPABILITY]",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesPermissions",
@@ -1401,6 +1492,17 @@
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesPermissions.settings",
"type": "boolean",
"tags": [],
"label": "settings",
"description": [],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
@@ -1457,6 +1559,20 @@
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesUiCapabilities.settings",
"type": "Object",
"tags": [],
"label": "settings",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
@@ -2192,6 +2308,21 @@
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CASES_SETTINGS_CAPABILITY",
"type": "string",
"tags": [],
"label": "CASES_SETTINGS_CAPABILITY",
"description": [],
"signature": [
"\"cases_settings\""
],
"path": "x-pack/plugins/cases/common/constants/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CASES_URL",
4 changes: 2 additions & 2 deletions api_docs/cases.mdx
Original file line number Diff line number Diff line change
@@ -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-11-28
date: 2023-11-29
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 |
|-------------------|-----------|------------------------|-----------------|
| 104 | 0 | 84 | 28 |
| 115 | 0 | 95 | 28 |

## Client

Loading

0 comments on commit 7e8bf8b

Please sign in to comment.