Skip to content

Commit

Permalink
Merge branch 'main' into feature-fleet-server-host-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Oct 28, 2022
2 parents c177dfb + 4ab9ef5 commit cde1379
Show file tree
Hide file tree
Showing 1,012 changed files with 17,043 additions and 5,856 deletions.
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,9 @@ packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-browser @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-browser-internal @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-server @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-server-internal @elastic/kibana-core
packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core
packages/core/logging/core-logging-server @elastic/kibana-core
packages/core/logging/core-logging-server-internal @elastic/kibana-core
packages/core/logging/core-logging-server-mocks @elastic/kibana-core
Expand All @@ -805,6 +808,9 @@ packages/core/plugins/core-plugins-base-server-internal @elastic/kibana-core
packages/core/plugins/core-plugins-browser @elastic/kibana-core
packages/core/plugins/core-plugins-browser-internal @elastic/kibana-core
packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core
packages/core/plugins/core-plugins-server @elastic/kibana-core
packages/core/plugins/core-plugins-server-internal @elastic/kibana-core
packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core
packages/core/preboot/core-preboot-server @elastic/kibana-core
packages/core/preboot/core-preboot-server-internal @elastic/kibana-core
packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core
Expand Down
2 changes: 1 addition & 1 deletion .github/relabel.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
issues:
- missingLabel: needs-team
regex: ^(\:ml)|(Team:.*)$
regex: (^\:ml$)|(^Team:.+$)|(^EUI$)
51 changes: 51 additions & 0 deletions .github/workflows/add-fleet-issues-to-ingest-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Add Fleet issue to Platform Ingest project

on:
issues:
types:
- labeled

env:
INGEST_PROJECT_ID: 'PVT_kwDOAGc3Zs4AEzn4'
FLEET_LABEL: 'Team:Fleet'
AREA_FIELD_ID: 'PVTSSF_lADOAGc3Zs4AEzn4zgEgZSo'
FLEET_UI_OPTION_ID: '411a7b86'

jobs:
add_to_ingest_project:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: add_to_project
if: ${{ github.event.label.name == env.FLEET_LABEL }}
with:
query: |
# Variables have to be snake cased because of https://github.com/octokit/graphql-action/issues/164
mutation AddToIngestProject($project_id: ID!, $content_id: ID!) {
addProjectV2ItemById(input: { projectId: $project_id, contentId: $content_id }) {
item {
id
}
}
}
project_id: ${{ env.INGEST_PROJECT_ID }}
content_id: ${{ github.event.issue.node_id }}
env:
GITHUB_TOKEN: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }}
- uses: octokit/[email protected]
id: set_fleet_ui_area
if: github.event.label.name == env.FLEET_LABEL
with:
query: |
mutation updateIngestArea($item_id: ID!, $project_id: ID!, $area_field_id: ID!, $area_id: String) {
updateProjectV2ItemFieldValue(
input: { itemId: $item_id, projectId: $project_id, fieldId: $area_field_id, value: { singleSelectOptionId: $area_id } }) {
clientMutationId
}
}
item_id: ${{ fromJSON(steps.add_to_project.outputs.data).addProjectV2ItemById.item.id }}
project_id: ${{ env.INGEST_PROJECT_ID }}
area_field_id: ${{ env.AREA_FIELD_ID }}
area_id: ${{ env.FLEET_UI_OPTION_ID }}
env:
GITHUB_TOKEN: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }}
36 changes: 0 additions & 36 deletions .github/workflows/add-to-fleet-project.yml

This file was deleted.

183 changes: 183 additions & 0 deletions api_docs/actions.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,102 @@
}
],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient",
"type": "Class",
"tags": [],
"label": "UnsecuredActionsClient",
"description": [],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"UnsecuredActionsClientOpts"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient.bulkEnqueueExecution",
"type": "Function",
"tags": [],
"label": "bulkEnqueueExecution",
"description": [],
"signature": [
"(requesterId: string, actionsToExecute: ",
"ExecuteOptions",
"[]) => Promise<void>"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient.bulkEnqueueExecution.$1",
"type": "string",
"tags": [],
"label": "requesterId",
"description": [],
"signature": [
"string"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "actions",
"id": "def-server.UnsecuredActionsClient.bulkEnqueueExecution.$2",
"type": "Array",
"tags": [],
"label": "actionsToExecute",
"description": [],
"signature": [
"ExecuteOptions",
"[]"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"functions": [
Expand Down Expand Up @@ -1494,6 +1590,70 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-server.IUnsecuredActionsClient",
"type": "Interface",
"tags": [],
"label": "IUnsecuredActionsClient",
"description": [],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.IUnsecuredActionsClient.bulkEnqueueExecution",
"type": "Function",
"tags": [],
"label": "bulkEnqueueExecution",
"description": [],
"signature": [
"(requesterId: string, actionsToExecute: ",
"ExecuteOptions",
"[]) => Promise<void>"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-server.IUnsecuredActionsClient.bulkEnqueueExecution.$1",
"type": "string",
"tags": [],
"label": "requesterId",
"description": [],
"signature": [
"string"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "actions",
"id": "def-server.IUnsecuredActionsClient.bulkEnqueueExecution.$2",
"type": "Array",
"tags": [],
"label": "actionsToExecute",
"description": [],
"signature": [
"ExecuteOptions",
"[]"
],
"path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-server.PreConfiguredAction",
Expand Down Expand Up @@ -2240,6 +2400,29 @@
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "actions",
"id": "def-server.PluginStartContract.getUnsecuredActionsClient",
"type": "Function",
"tags": [],
"label": "getUnsecuredActionsClient",
"description": [],
"signature": [
"() => ",
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.IUnsecuredActionsClient",
"text": "IUnsecuredActionsClient"
}
],
"path": "x-pack/plugins/actions/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "actions",
"id": "def-server.PluginStartContract.renderActionParameterTemplates",
Expand Down
4 changes: 2 additions & 2 deletions api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2022-10-26
date: 2022-10-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 214 | 0 | 209 | 23 |
| 225 | 0 | 220 | 24 |

## Client

Expand Down
2 changes: 1 addition & 1 deletion api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2022-10-26
date: 2022-10-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
---
import advancedSettingsObj from './advanced_settings.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/aiops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2022-10-26
date: 2022-10-28
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
---
import aiopsObj from './aiops.devdocs.json';
Expand Down
Loading

0 comments on commit cde1379

Please sign in to comment.