Skip to content

Commit 39f8587

Browse files
committed
Merge remote-tracking branch 'upstream/master' into alerting-resolved-action-group
# Conflicts: # x-pack/plugins/alerts/server/task_runner/task_runner.ts
2 parents fad1fe2 + e909cee commit 39f8587

File tree

1,924 files changed

+31775
-20348
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,924 files changed

+31775
-20348
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,10 @@ module.exports = {
640640
name: 'lodash/fp/assocPath',
641641
message: 'Please use @elastic/safer-lodash-set instead',
642642
},
643+
{
644+
name: 'react-use',
645+
message: 'Please use react-use/lib/{method} instead.',
646+
},
643647
],
644648
},
645649
],

.github/CODEOWNERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/src/plugins/advanced_settings/ @elastic/kibana-app
1313
/src/plugins/charts/ @elastic/kibana-app
1414
/src/plugins/discover/ @elastic/kibana-app
15+
/src/plugins/lens_oss/ @elastic/kibana-app
1516
/src/plugins/management/ @elastic/kibana-app
1617
/src/plugins/kibana_legacy/ @elastic/kibana-app
1718
/src/plugins/timelion/ @elastic/kibana-app
@@ -135,7 +136,7 @@
135136

136137
# Observability UIs
137138
/x-pack/plugins/infra/ @elastic/logs-metrics-ui
138-
/x-pack/plugins/ingest_manager/ @elastic/ingest-management
139+
/x-pack/plugins/fleet/ @elastic/ingest-management
139140
/x-pack/plugins/observability/ @elastic/observability-ui
140141
/x-pack/plugins/monitoring/ @elastic/stack-monitoring-ui
141142
/x-pack/plugins/uptime @elastic/uptime
@@ -253,9 +254,6 @@
253254
/x-pack/test/ui_capabilities/ @elastic/kibana-security
254255
/x-pack/test/encrypted_saved_objects_api_integration/ @elastic/kibana-security
255256
/x-pack/test/functional/apps/security/ @elastic/kibana-security
256-
/x-pack/test/kerberos_api_integration/ @elastic/kibana-security
257-
/x-pack/test/oidc_api_integration/ @elastic/kibana-security
258-
/x-pack/test/pki_api_integration/ @elastic/kibana-security
259257
/x-pack/test/security_api_integration/ @elastic/kibana-security
260258
/x-pack/test/security_functional/ @elastic/kibana-security
261259
/x-pack/test/spaces_api_integration/ @elastic/kibana-security
@@ -301,6 +299,8 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
301299
/x-pack/plugins/triggers_actions_ui/ @elastic/kibana-alerting-services
302300
/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/kibana-alerting-services
303301
/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services
302+
/docs/user/alerting/ @elastic/kibana-alerting-services
303+
/docs/management/alerting/ @elastic/kibana-alerting-services
304304
#CC# /x-pack/legacy/plugins/actions/ @elastic/kibana-alerting-services
305305
#CC# /x-pack/legacy/plugins/alerting/ @elastic/kibana-alerting-services
306306
#CC# /x-pack/legacy/plugins/task_manager @elastic/kibana-alerting-services
@@ -379,7 +379,7 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
379379
# Observability design
380380
/x-pack/plugins/apm/**/*.scss @elastic/observability-design
381381
/x-pack/plugins/infra/**/*.scss @elastic/observability-design
382-
/x-pack/plugins/ingest_manager/**/*.scss @elastic/observability-design
382+
/x-pack/plugins/fleet/**/*.scss @elastic/observability-design
383383
/x-pack/plugins/observability/**/*.scss @elastic/observability-design
384384
/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design
385385

.github/ISSUE_TEMPLATE/v8_breaking_change.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ requesting the breaking change to be surfaced in the Upgrade Assistant.
3030
<!-- e.g. Based on telemetry data, roughly 75% of our users will need to make changes to x. -->
3131
<!-- e.g. A majority of users will need to make changes to x. -->
3232

33+
**How can we programmatically determine whether the cluster is affected by this breaking change?**
34+
3335
**What can users do to address the change manually?**
3436

3537
<!-- If applicable, describe the manual migration steps and/or link to available docs. -->

.github/paths-labeller.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- "Team:apm":
1212
- "x-pack/plugins/apm/**/*.*"
1313
- "Team:Ingest Management":
14-
- "x-pack/plugins/ingest_manager/**/*.*"
14+
- "x-pack/plugins/fleet/**/*.*"
1515
- "x-pack/test/api_integration/apis/fleet/**/*.*"
1616
- "x-pack/test/epm_api_integration/**/*.*"
1717
- "Team:uptime":

.i18nrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"visTypeVislib": "src/plugins/vis_type_vislib",
6060
"visTypeXy": "src/plugins/vis_type_xy",
6161
"visualizations": "src/plugins/visualizations",
62+
"lensOss": "src/plugins/lens_oss",
63+
"mapsOss": "src/plugins/maps_oss",
6264
"visualize": "src/plugins/visualize",
6365
"apmOss": "src/plugins/apm_oss",
6466
"usageCollection": "src/plugins/usage_collection"

.sass-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ files:
66
- 'src/plugins/vis_type_vislib/**/*.s+(a|c)ss'
77
- 'src/plugins/vis_type_vega/**/*.s+(a|c)ss'
88
- 'src/plugins/vis_type_xy/**/*.s+(a|c)ss'
9+
- 'src/plugins/visualizations/public/wizard/**/*.s+(a|c)ss'
910
- 'x-pack/plugins/canvas/**/*.s+(a|c)ss'
1011
- 'x-pack/plugins/triggers_actions_ui/**/*.s+(a|c)ss'
1112
- 'x-pack/plugins/lens/**/*.s+(a|c)ss'

config/kibana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
#elasticsearch.logQueries: false
8181

8282
# Specifies the path where Kibana creates the process ID file.
83-
#pid.file: /var/run/kibana.pid
83+
#pid.file: /run/kibana/kibana.pid
8484

8585
# Enables you to specify a file where Kibana stores log output.
8686
#logging.dest: stdout

docs/developer/plugin-list.asciidoc

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ allowing users to configure their advanced settings, also known
2828
as uiSettings within the code.
2929
3030
31-
|{kib-repo}blob/{branch}/src/plugins/apm_oss[apmOss]
32-
|WARNING: Missing README.
33-
31+
|{kib-repo}blob/{branch}/src/plugins/apm_oss/README.asciidoc[apmOss]
3432
3533
|{kib-repo}blob/{branch}/src/plugins/bfetch/README.md[bfetch]
3634
|bfetch allows to batch HTTP requests and streams responses back.
@@ -128,8 +126,13 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel.
128126
|Utilities for building Kibana plugins.
129127
130128
131-
|{kib-repo}blob/{branch}/src/plugins/legacy_export[legacyExport]
132-
|WARNING: Missing README.
129+
|{kib-repo}blob/{branch}/src/plugins/legacy_export/README.md[legacyExport]
130+
|The legacyExport plugin adds support for the legacy saved objects export format.
131+
132+
133+
|{kib-repo}blob/{branch}/src/plugins/lens_oss/README.md[lensOss]
134+
|The lens_oss plugin registers the lens visualization on OSS.
135+
It is registered as disabled. The x-pack plugin should unregister this.
133136
134137
135138
|{kib-repo}blob/{branch}/src/plugins/management/README.md[management]
@@ -142,6 +145,11 @@ management section itself.
142145
|Internal objects used by the Coordinate, Region, and Vega visualizations.
143146
144147
148+
|{kib-repo}blob/{branch}/src/plugins/maps_oss/README.md[mapsOss]
149+
|The maps_oss plugin registers the maps visualization on OSS.
150+
It is registered as disabled. The x-pack plugin should unregister this.
151+
152+
145153
|{kib-repo}blob/{branch}/src/plugins/navigation/README.md[navigation]
146154
|The navigation plugins exports the TopNavMenu component.
147155
It also provides a stateful version of it on the start contract.
@@ -156,12 +164,12 @@ Content is fetched from the remote (https://feeds.elastic.co and https://feeds-s
156164
|Create choropleth maps. Display the results of a term-aggregation as e.g. countries, zip-codes, states.
157165
158166
159-
|{kib-repo}blob/{branch}/src/plugins/saved_objects[savedObjects]
160-
|WARNING: Missing README.
167+
|{kib-repo}blob/{branch}/src/plugins/saved_objects/README.md[savedObjects]
168+
|The savedObjects plugin exposes utilities to manipulate saved objects on the client side.
161169
162170
163-
|{kib-repo}blob/{branch}/src/plugins/saved_objects_management[savedObjectsManagement]
164-
|WARNING: Missing README.
171+
|{kib-repo}blob/{branch}/src/plugins/saved_objects_management/README.md[savedObjectsManagement]
172+
|The savedObjectsManagement plugin manages the Saved Objects management section.
165173
166174
167175
|{kib-repo}blob/{branch}/src/plugins/saved_objects_tagging_oss/README.md[savedObjectsTaggingOss]
@@ -309,8 +317,8 @@ Failure to have auth enabled in Kibana will make for a broken UI. UI-based error
309317
|Experimental Feature
310318
311319
312-
|{kib-repo}blob/{branch}/x-pack/plugins/cloud[cloud]
313-
|WARNING: Missing README.
320+
|{kib-repo}blob/{branch}/x-pack/plugins/cloud/README.md[cloud]
321+
|The cloud plugin adds cloud specific features to Kibana.
314322
315323
316324
|{kib-repo}blob/{branch}/x-pack/plugins/code[code]
@@ -361,8 +369,8 @@ occuring in Kibana, initially just for the Make It Action project - alerts
361369
and actions.
362370
363371
364-
|{kib-repo}blob/{branch}/x-pack/plugins/features[features]
365-
|WARNING: Missing README.
372+
|{kib-repo}blob/{branch}/x-pack/plugins/features/README.md[features]
373+
|The features plugin enhance Kibana with a per-feature privilege system.
366374
367375
368376
|{kib-repo}blob/{branch}/x-pack/plugins/file_upload/README.md[fileUpload]
@@ -378,8 +386,8 @@ or dashboards from the Kibana instance, from both server and client-side plugins
378386
|The GlobalSearchBar plugin provides a search interface for navigating Kibana. (It is the UI to the GlobalSearch plugin.)
379387
380388
381-
|{kib-repo}blob/{branch}/x-pack/plugins/global_search_providers[globalSearchProviders]
382-
|WARNING: Missing README.
389+
|{kib-repo}blob/{branch}/x-pack/plugins/global_search_providers/README.md[globalSearchProviders]
390+
|The globalSearchProviders plugin provides Kibana default search providers for the GlobalSearch plugin.
383391
384392
385393
|{kib-repo}blob/{branch}/x-pack/plugins/graph/README.md[graph]
@@ -405,7 +413,7 @@ Index Management by running this series of requests in Console:
405413
the infrastructure monitoring use-case within Kibana.
406414
407415
408-
|{kib-repo}blob/{branch}/x-pack/plugins/ingest_manager/README.md[ingestManager]
416+
|{kib-repo}blob/{branch}/x-pack/plugins/fleet/README.md[ingestManager]
409417
|Fleet needs to have Elasticsearch API keys enabled, and also to have TLS enabled on kibana, (if you want to run Kibana without TLS you can provide the following config flag --xpack.fleet.agents.tlsCheckDisabled=false)
410418
411419

docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
```typescript
1010
readonly links: {
1111
readonly dashboard: {
12+
readonly guide: string;
1213
readonly drilldowns: string;
1314
readonly drilldownsTriggerPicker: string;
1415
readonly urlDrilldownTemplateSyntax: string;

docs/development/core/public/kibana-plugin-core-public.doclinksstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ export interface DocLinksStart
1717
| --- | --- | --- |
1818
| [DOC\_LINK\_VERSION](./kibana-plugin-core-public.doclinksstart.doc_link_version.md) | <code>string</code> | |
1919
| [ELASTIC\_WEBSITE\_URL](./kibana-plugin-core-public.doclinksstart.elastic_website_url.md) | <code>string</code> | |
20-
| [links](./kibana-plugin-core-public.doclinksstart.links.md) | <code>{</code><br/><code> readonly dashboard: {</code><br/><code> readonly drilldowns: string;</code><br/><code> readonly drilldownsTriggerPicker: string;</code><br/><code> readonly urlDrilldownTemplateSyntax: string;</code><br/><code> readonly urlDrilldownVariables: string;</code><br/><code> };</code><br/><code> readonly filebeat: {</code><br/><code> readonly base: string;</code><br/><code> readonly installation: string;</code><br/><code> readonly configuration: string;</code><br/><code> readonly elasticsearchOutput: string;</code><br/><code> readonly startup: string;</code><br/><code> readonly exportedFields: string;</code><br/><code> };</code><br/><code> readonly auditbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly metricbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly heartbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly logstash: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly functionbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly winlogbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly aggs: {</code><br/><code> readonly date_histogram: string;</code><br/><code> readonly date_range: string;</code><br/><code> readonly filter: string;</code><br/><code> readonly filters: string;</code><br/><code> readonly geohash_grid: string;</code><br/><code> readonly histogram: string;</code><br/><code> readonly ip_range: string;</code><br/><code> readonly range: string;</code><br/><code> readonly significant_terms: string;</code><br/><code> readonly terms: string;</code><br/><code> readonly avg: string;</code><br/><code> readonly avg_bucket: string;</code><br/><code> readonly max_bucket: string;</code><br/><code> readonly min_bucket: string;</code><br/><code> readonly sum_bucket: string;</code><br/><code> readonly cardinality: string;</code><br/><code> readonly count: string;</code><br/><code> readonly cumulative_sum: string;</code><br/><code> readonly derivative: string;</code><br/><code> readonly geo_bounds: string;</code><br/><code> readonly geo_centroid: string;</code><br/><code> readonly max: string;</code><br/><code> readonly median: string;</code><br/><code> readonly min: string;</code><br/><code> readonly moving_avg: string;</code><br/><code> readonly percentile_ranks: string;</code><br/><code> readonly serial_diff: string;</code><br/><code> readonly std_dev: string;</code><br/><code> readonly sum: string;</code><br/><code> readonly top_hits: string;</code><br/><code> };</code><br/><code> readonly scriptedFields: {</code><br/><code> readonly scriptFields: string;</code><br/><code> readonly scriptAggs: string;</code><br/><code> readonly painless: string;</code><br/><code> readonly painlessApi: string;</code><br/><code> readonly painlessSyntax: string;</code><br/><code> readonly luceneExpressions: string;</code><br/><code> };</code><br/><code> readonly indexPatterns: {</code><br/><code> readonly loadingData: string;</code><br/><code> readonly introduction: string;</code><br/><code> };</code><br/><code> readonly addData: string;</code><br/><code> readonly kibana: string;</code><br/><code> readonly siem: {</code><br/><code> readonly guide: string;</code><br/><code> readonly gettingStarted: string;</code><br/><code> };</code><br/><code> readonly query: {</code><br/><code> readonly eql: string;</code><br/><code> readonly luceneQuerySyntax: string;</code><br/><code> readonly queryDsl: string;</code><br/><code> readonly kueryQuerySyntax: string;</code><br/><code> };</code><br/><code> readonly date: {</code><br/><code> readonly dateMath: string;</code><br/><code> };</code><br/><code> readonly management: Record&lt;string, string&gt;;</code><br/><code> readonly visualize: Record&lt;string, string&gt;;</code><br/><code> }</code> | |
20+
| [links](./kibana-plugin-core-public.doclinksstart.links.md) | <code>{</code><br/><code> readonly dashboard: {</code><br/><code> readonly guide: string;</code><br/><code> readonly drilldowns: string;</code><br/><code> readonly drilldownsTriggerPicker: string;</code><br/><code> readonly urlDrilldownTemplateSyntax: string;</code><br/><code> readonly urlDrilldownVariables: string;</code><br/><code> };</code><br/><code> readonly filebeat: {</code><br/><code> readonly base: string;</code><br/><code> readonly installation: string;</code><br/><code> readonly configuration: string;</code><br/><code> readonly elasticsearchOutput: string;</code><br/><code> readonly startup: string;</code><br/><code> readonly exportedFields: string;</code><br/><code> };</code><br/><code> readonly auditbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly metricbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly heartbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly logstash: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly functionbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly winlogbeat: {</code><br/><code> readonly base: string;</code><br/><code> };</code><br/><code> readonly aggs: {</code><br/><code> readonly date_histogram: string;</code><br/><code> readonly date_range: string;</code><br/><code> readonly filter: string;</code><br/><code> readonly filters: string;</code><br/><code> readonly geohash_grid: string;</code><br/><code> readonly histogram: string;</code><br/><code> readonly ip_range: string;</code><br/><code> readonly range: string;</code><br/><code> readonly significant_terms: string;</code><br/><code> readonly terms: string;</code><br/><code> readonly avg: string;</code><br/><code> readonly avg_bucket: string;</code><br/><code> readonly max_bucket: string;</code><br/><code> readonly min_bucket: string;</code><br/><code> readonly sum_bucket: string;</code><br/><code> readonly cardinality: string;</code><br/><code> readonly count: string;</code><br/><code> readonly cumulative_sum: string;</code><br/><code> readonly derivative: string;</code><br/><code> readonly geo_bounds: string;</code><br/><code> readonly geo_centroid: string;</code><br/><code> readonly max: string;</code><br/><code> readonly median: string;</code><br/><code> readonly min: string;</code><br/><code> readonly moving_avg: string;</code><br/><code> readonly percentile_ranks: string;</code><br/><code> readonly serial_diff: string;</code><br/><code> readonly std_dev: string;</code><br/><code> readonly sum: string;</code><br/><code> readonly top_hits: string;</code><br/><code> };</code><br/><code> readonly scriptedFields: {</code><br/><code> readonly scriptFields: string;</code><br/><code> readonly scriptAggs: string;</code><br/><code> readonly painless: string;</code><br/><code> readonly painlessApi: string;</code><br/><code> readonly painlessSyntax: string;</code><br/><code> readonly luceneExpressions: string;</code><br/><code> };</code><br/><code> readonly indexPatterns: {</code><br/><code> readonly loadingData: string;</code><br/><code> readonly introduction: string;</code><br/><code> };</code><br/><code> readonly addData: string;</code><br/><code> readonly kibana: string;</code><br/><code> readonly siem: {</code><br/><code> readonly guide: string;</code><br/><code> readonly gettingStarted: string;</code><br/><code> };</code><br/><code> readonly query: {</code><br/><code> readonly eql: string;</code><br/><code> readonly luceneQuerySyntax: string;</code><br/><code> readonly queryDsl: string;</code><br/><code> readonly kueryQuerySyntax: string;</code><br/><code> };</code><br/><code> readonly date: {</code><br/><code> readonly dateMath: string;</code><br/><code> };</code><br/><code> readonly management: Record&lt;string, string&gt;;</code><br/><code> readonly visualize: Record&lt;string, string&gt;;</code><br/><code> }</code> | |
2121

0 commit comments

Comments
 (0)