Skip to content

Commit 82766a6

Browse files
committed
Merge remote-tracking branch 'origin/migrate-solution-toolbar-button' into migrate-solution-toolbar-button
2 parents e2c59b3 + 8f735d5 commit 82766a6

File tree

1,165 files changed

+45894
-16479
lines changed

Some content is hidden

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

1,165 files changed

+45894
-16479
lines changed

.buildkite/pipelines/bazel_cache.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
steps:
22
- label: ':pipeline: Create pipeline with priority'
3+
agents:
4+
queue: kibana-default
35
concurrency_group: bazel_macos
46
concurrency: 1
57
concurrency_method: eager

.buildkite/pipelines/es_snapshots/promote.yml

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ steps:
1010
required: true
1111
- label: Promote Snapshot
1212
command: .buildkite/scripts/steps/es_snapshots/promote.sh
13+
agents:
14+
queue: kibana-default

.buildkite/pipelines/es_snapshots/verify.yml

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ steps:
1414
- command: .buildkite/scripts/lifecycle/pre_build.sh
1515
label: Pre-Build
1616
timeout_in_minutes: 10
17+
agents:
18+
queue: kibana-default
1719

1820
- wait
1921

@@ -85,6 +87,8 @@ steps:
8587
- command: .buildkite/scripts/steps/es_snapshots/trigger_promote.sh
8688
label: Trigger promotion
8789
timeout_in_minutes: 10
90+
agents:
91+
queue: kibana-default
8892
depends_on:
8993
- default-cigroup
9094
- default-cigroup-docker
@@ -98,3 +102,5 @@ steps:
98102
- command: .buildkite/scripts/lifecycle/post_build.sh
99103
label: Post-Build
100104
timeout_in_minutes: 10
105+
agents:
106+
queue: kibana-default

.buildkite/pipelines/flaky_tests/pipeline.js

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ const pipeline = {
5151
{
5252
command: '.buildkite/pipelines/flaky_tests/runner.sh',
5353
label: 'Create pipeline',
54+
agents: {
55+
queue: 'kibana-default',
56+
},
5457
},
5558
],
5659
};

.buildkite/pipelines/hourly.yml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ steps:
22
- command: .buildkite/scripts/lifecycle/pre_build.sh
33
label: Pre-Build
44
timeout_in_minutes: 10
5+
agents:
6+
queue: kibana-default
57

68
- wait
79

@@ -174,3 +176,5 @@ steps:
174176
- command: .buildkite/scripts/lifecycle/post_build.sh
175177
label: Post-Build
176178
timeout_in_minutes: 10
179+
agents:
180+
queue: kibana-default

.buildkite/pipelines/on_merge.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ steps:
55
- command: .buildkite/scripts/lifecycle/pre_build.sh
66
label: Pre-Build
77
timeout_in_minutes: 10
8+
agents:
9+
queue: kibana-default
810

911
- wait
1012

@@ -34,3 +36,5 @@ steps:
3436
- command: .buildkite/scripts/lifecycle/post_build.sh
3537
label: Post-Build
3638
timeout_in_minutes: 10
39+
agents:
40+
queue: kibana-default
+13-10
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
steps:
2-
- block: ":gear: Performance Tests Configuration"
3-
prompt: "Fill out the details for performance test"
2+
- block: ':gear: Performance Tests Configuration'
3+
prompt: 'Fill out the details for performance test'
44
fields:
5-
- text: ":arrows_counterclockwise: Iterations"
6-
key: "performance-test-iteration-count"
7-
hint: "How many times you want to run tests? "
5+
- text: ':arrows_counterclockwise: Iterations'
6+
key: 'performance-test-iteration-count'
7+
hint: 'How many times you want to run tests? '
88
required: true
99
if: build.env('PERF_TEST_COUNT') == null
1010

11-
- label: ":male-mechanic::skin-tone-2: Pre-Build"
11+
- label: ':male-mechanic::skin-tone-2: Pre-Build'
1212
command: .buildkite/scripts/lifecycle/pre_build.sh
13+
agents:
14+
queue: kibana-default
1315

1416
- wait
1517

16-
- label: ":factory_worker: Build Kibana Distribution and Plugins"
18+
- label: ':factory_worker: Build Kibana Distribution and Plugins'
1719
command: .buildkite/scripts/steps/build_kibana.sh
1820
agents:
1921
queue: c2-16
2022
key: build
2123

22-
- label: ":muscle: Performance Tests with Playwright config"
24+
- label: ':muscle: Performance Tests with Playwright config'
2325
command: .buildkite/scripts/steps/functional/performance_playwright.sh
2426
agents:
2527
queue: c2-16
@@ -28,6 +30,7 @@ steps:
2830
- wait: ~
2931
continue_on_failure: true
3032

31-
- label: ":male_superhero::skin-tone-2: Post-Build"
33+
- label: ':male_superhero::skin-tone-2: Post-Build'
3234
command: .buildkite/scripts/lifecycle/post_build.sh
33-
35+
agents:
36+
queue: kibana-default

.buildkite/pipelines/pull_request.yml

-17
This file was deleted.

.buildkite/pipelines/pull_request/base.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ steps:
22
- command: .buildkite/scripts/lifecycle/pre_build.sh
33
label: Pre-Build
44
timeout_in_minutes: 10
5+
agents:
6+
queue: kibana-default
57

68
- wait
79

.buildkite/pipelines/pull_request/post_build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ steps:
44

55
- command: .buildkite/scripts/lifecycle/post_build.sh
66
label: Post-Build
7+
agents:
8+
queue: kibana-default

.buildkite/pipelines/purge_cloud_deployments.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ steps:
22
- command: .buildkite/scripts/steps/cloud/purge.sh
33
label: Purge old cloud deployments
44
timeout_in_minutes: 10
5+
agents:
6+
queue: kibana-default

.buildkite/pipelines/update_demo_env.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ steps:
22
- command: .buildkite/scripts/steps/demo_env/es_and_init.sh
33
label: Initialize Environment and Deploy ES
44
timeout_in_minutes: 10
5+
agents:
6+
queue: kibana-default
57

68
- command: .buildkite/scripts/steps/demo_env/kibana.sh
79
label: Build and Deploy Kibana

.github/CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ x-pack/test/security_solution_cypress @elastic/security-engineering-productivity
422422
# Security Asset Management
423423
/x-pack/plugins/osquery @elastic/security-asset-management
424424

425+
# Cloud Posture Security
426+
/x-pack/plugins/cloud_security_posture/ @elastic/cloud-posture-security
427+
425428
# Design (at the bottom for specificity of SASS files)
426429
**/*.scss @elastic/kibana-design
427430
#CC# /packages/kbn-ui-framework/ @elastic/kibana-design

.github/workflows/add-to-apm-project.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
headers: '{"GraphQL-Features": "projects_next_graphql"}'
1616
query: |
17-
mutation add_to_project($projectid:String!,$contentid:String!) {
17+
mutation add_to_project($projectid:ID!,$contentid:ID!) {
1818
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
1919
projectNextItem {
2020
id
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
headers: '{"GraphQL-Features": "projects_next_graphql"}'
3333
query: |
34-
mutation label_team($projectid:String!,$itemid:String!,$fieldid:String!,$value:String!) {
34+
mutation label_team($projectid:ID!,$itemid:ID!,$fieldid:ID!,$value:String!) {
3535
updateProjectNextItemField(input: { projectId:$projectid itemId:$itemid fieldId:$fieldid value:$value }) {
3636
projectNextItem {
3737
id

.github/workflows/add-to-fleet-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
headers: '{"GraphQL-Features": "projects_next_graphql"}'
2222
query: |
23-
mutation add_to_project($projectid:String!,$contentid:String!) {
23+
mutation add_to_project($projectid: ID!, $contentid: ID!) {
2424
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
2525
projectNextItem {
2626
id

.github/workflows/backport-next.yml

-27
This file was deleted.

.github/workflows/backport.yml

+5-19
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,19 @@ on:
99
jobs:
1010
backport:
1111
name: Backport PR
12+
runs-on: ubuntu-latest
1213
if: |
1314
github.event.pull_request.merged == true
1415
&& contains(github.event.pull_request.labels.*.name, 'auto-backport')
1516
&& (
1617
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
1718
|| (github.event.action == 'closed')
1819
)
19-
runs-on: ubuntu-latest
2020
steps:
21-
- name: Checkout Actions
22-
uses: actions/checkout@v2
23-
with:
24-
repository: 'elastic/kibana-github-actions'
25-
ref: main
26-
path: ./actions
27-
28-
- name: Install Actions
29-
run: npm install --production --prefix ./actions
30-
31-
- name: Fix Version Label Gaps
32-
uses: ./actions/fix-version-gaps
21+
- name: Backport Action
22+
uses: sqren/[email protected]
3323
with:
3424
github_token: ${{secrets.KIBANAMACHINE_TOKEN}}
3525

36-
- name: Run Backport
37-
uses: ./actions/backport
38-
with:
39-
github_token: ${{secrets.KIBANAMACHINE_TOKEN}}
40-
commit_user: kibanamachine
41-
commit_email: [email protected]
26+
- name: Backport log
27+
run: cat ~/.backport/backport.log

.github/workflows/label-qa-fixed-in.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ jobs:
7676
id: add_labels_to_closed_issue
7777
with:
7878
query: |
79-
mutation add_label($issueid:String!, $labelids:[String!]!) {
79+
mutation add_label($issueid: ID!, $labelids:[ID!]!) {
8080
addLabelsToLabelable(input: {labelableId: $issueid, labelIds: $labelids}) {
8181
clientMutationId
8282
}
8383
}
8484
issueid: ${{ matrix.issueNodeId }}
85-
labelids: ${{ needs.fetch_issues_to_label.outputs.label_ids }}
85+
labelids: ${{ fromJSON(needs.fetch_issues_to_label.outputs.label_ids) }}
8686
env:
8787
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/project-assigner.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
{"label": "Feature:Drilldowns", "projectNumber": 68, "columnName": "Inbox"},
2121
{"label": "Feature:Input Controls", "projectNumber": 72, "columnName": "Inbox"},
2222
{"label": "Team:Security", "projectNumber": 320, "columnName": "Awaiting triage", "projectScope": "org"},
23-
{"label": "Team:Operations", "projectNumber": 314, "columnName": "Triage", "projectScope": "org"},
24-
{"label": "Team:Fleet", "projectNumber": 490, "columnName": "Inbox", "projectScope": "org"}
23+
{"label": "Team:Operations", "projectNumber": 314, "columnName": "Triage", "projectScope": "org"}
2524
]
2625
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,3 @@ fleet-server-*
9595
elastic-agent.yml
9696
fleet-server.yml
9797

98-
/x-pack/plugins/fleet/server/bundled_packages

.i18nrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"uiActions": "src/plugins/ui_actions",
6767
"uiActionsExamples": "examples/ui_action_examples",
6868
"usageCollection": "src/plugins/usage_collection",
69+
"utils": "packages/kbn-securitysolution-utils/src",
6970
"visDefaultEditor": "src/plugins/vis_default_editor",
7071
"visTypeHeatmap": "src/plugins/vis_types/heatmap",
7172
"visTypeMarkdown": "src/plugins/vis_type_markdown",

api_docs/actions.devdocs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@
695695
"label": "ActionParamsType",
696696
"description": [],
697697
"signature": [
698-
"{ readonly source?: string | undefined; readonly group?: string | undefined; readonly summary?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"error\" | \"info\" | \"warning\" | \"critical\" | undefined; readonly component?: string | undefined; readonly class?: string | undefined; }"
698+
"{ readonly source?: string | undefined; readonly summary?: string | undefined; readonly group?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"error\" | \"info\" | \"warning\" | \"critical\" | undefined; readonly component?: string | undefined; readonly class?: string | undefined; }"
699699
],
700700
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
701701
"deprecated": false,

api_docs/actions.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ slug: /kibana-dev-docs/api/actions
44
title: "actions"
55
image: https://source.unsplash.com/400x175/?github
66
summary: API docs for the actions plugin
7-
date: 2022-02-11
7+
date: 2022-02-28
88
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
99
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.
1010
---
1111
import actionsObj from './actions.devdocs.json';
1212

1313

1414

15-
Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) for questions regarding this plugin.
15+
Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for questions regarding this plugin.
1616

1717
**Code health stats**
1818

api_docs/advanced_settings.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/advancedSettings
44
title: "advancedSettings"
55
image: https://source.unsplash.com/400x175/?github
66
summary: API docs for the advancedSettings plugin
7-
date: 2022-02-11
7+
date: 2022-02-28
88
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
99
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.
1010
---

0 commit comments

Comments
 (0)