Skip to content

Commit 0b3fc54

Browse files
Merge branch 'master' into task-manager/handle-buffer-with-update-of-same-id
2 parents b6da1a5 + a9860f3 commit 0b3fc54

File tree

1,194 files changed

+51229
-43165
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,194 files changed

+51229
-43165
lines changed

.ci/Jenkinsfile_security_cypress

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/groovy
2+
3+
library 'kibana-pipeline-library'
4+
kibanaLibrary.load()
5+
6+
kibanaPipeline(timeoutMinutes: 180) {
7+
slackNotifications.onFailure(
8+
disabled: !params.NOTIFY_ON_FAILURE,
9+
channel: '#security-solution-slack-testing'
10+
) {
11+
catchError {
12+
workers.base(size: 's', ramDisk: false) {
13+
kibanaPipeline.bash('test/scripts/jenkins_security_solution_cypress.sh', 'Execute Security Solution Cypress Tests')
14+
}
15+
}
16+
}
17+
18+
if (params.NOTIFY_ON_FAILURE) {
19+
kibanaPipeline.sendMail(to: 'gloria.delatorre@elastic.co')
20+
}
21+
}

.eslintignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@ target
1818

1919
# plugin overrides
2020
/src/core/lib/kbn_internal_native_observable
21-
/src/legacy/core_plugins/console/public/tests/webpackShims
22-
/src/legacy/core_plugins/console/public/webpackShims
2321
/src/legacy/plugin_discovery/plugin_pack/__tests__/fixtures/plugins/broken
2422
/src/legacy/ui/public/flot-charts
25-
/src/legacy/ui/public/utils/decode_geo_hash.js
2623
/src/plugins/data/common/es_query/kuery/ast/_generated_/**
2724
/src/plugins/vis_type_timelion/public/_generated_/**
28-
/src/plugins/vis_type_timelion/public/webpackShims/jquery.flot.*
29-
/src/plugins/timelion/public/webpackShims/jquery.flot.*
25+
/src/plugins/vis_type_timelion/public/flot/jquery.flot.*
26+
/src/plugins/timelion/public/flot/jquery.flot.*
3027
/x-pack/legacy/plugins/**/__tests__/fixtures/**
3128
/x-pack/plugins/apm/e2e/**/snapshots.js
3229
/x-pack/plugins/apm/e2e/tmp/*

.eslintrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ module.exports = {
400400
},
401401
{
402402
target: ['(src|x-pack)/plugins/*/public/**/*'],
403-
from: ['ui/**/*', 'uiExports/**/*'],
403+
from: ['ui/**/*'],
404404
errorMessage: 'Plugins cannot import legacy UI code.',
405405
},
406406
{
@@ -457,14 +457,13 @@ module.exports = {
457457
{
458458
files: [
459459
'**/public/**/*.js',
460-
'**/webpackShims/**/*.js',
461460
'packages/kbn-ui-framework/doc_site/src/**/*.js',
462461
'src/fixtures/**/*.js', // TODO: this directory needs to be more obviously "public" (or go away)
463462
],
464463
settings: {
465464
// instructs import/no-extraneous-dependencies to treat certain modules
466465
// as core modules, even if they aren't listed in package.json
467-
'import/core-modules': ['plugins', 'legacy/ui', 'uiExports'],
466+
'import/core-modules': ['plugins', 'legacy/ui'],
468467

469468
'import/resolver': {
470469
'@kbn/eslint-import-resolver-kibana': {
@@ -605,7 +604,6 @@ module.exports = {
605604
{
606605
files: [
607606
'.eslintrc.js',
608-
'**/webpackShims/**/*.js',
609607
'packages/kbn-plugin-generator/**/*.js',
610608
'packages/kbn-eslint-import-resolver-kibana/**/*.js',
611609
'packages/kbn-eslint-plugin-eslint/**/*',

.github/CODEOWNERS

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/x-pack/plugins/lens/ @elastic/kibana-app
99
/x-pack/plugins/graph/ @elastic/kibana-app
1010
/src/plugins/dashboard/ @elastic/kibana-app
11+
/src/plugins/dashboard/**/*.scss @elastic/kibana-core-ui-designers
1112
/src/plugins/discover/ @elastic/kibana-app
1213
/src/plugins/input_control_vis/ @elastic/kibana-app
1314
/src/plugins/kibana_legacy/ @elastic/kibana-app
@@ -58,6 +59,7 @@
5859

5960
# APM
6061
/x-pack/plugins/apm/ @elastic/apm-ui
62+
/x-pack/plugins/apm/**/*.scss @elastic/observability-design
6163
/x-pack/test/functional/apps/apm/ @elastic/apm-ui
6264
/src/legacy/core_plugins/apm_oss/ @elastic/apm-ui
6365
/src/plugins/apm_oss/ @elastic/apm-ui
@@ -68,6 +70,7 @@
6870

6971
# Canvas
7072
/x-pack/plugins/canvas/ @elastic/kibana-canvas
73+
/x-pack/plugins/canvas/**/*.scss @elastic/kibana-core-ui-designers
7174
/x-pack/test/functional/apps/canvas/ @elastic/kibana-canvas
7275

7376
# Core UI
@@ -77,15 +80,18 @@
7780
/src/plugins/home/server/services/ @elastic/kibana-core-ui
7881
# Exclude tutorial resources folder for now because they are not owned by Kibana app and most will move out soon
7982
/src/legacy/core_plugins/kibana/public/home/*.ts @elastic/kibana-core-ui
80-
/src/legacy/core_plugins/kibana/public/home/*.scss @elastic/kibana-core-ui
83+
/src/legacy/core_plugins/kibana/public/home/**/*.scss @elastic/kibana-core-ui-designers
8184
/src/legacy/core_plugins/kibana/public/home/np_ready/ @elastic/kibana-core-ui
8285

8386
# Observability UIs
8487
/x-pack/legacy/plugins/infra/ @elastic/logs-metrics-ui
8588
/x-pack/plugins/infra/ @elastic/logs-metrics-ui
89+
/x-pack/plugins/infra/**/*.scss @elastic/observability-design
8690
/x-pack/plugins/ingest_manager/ @elastic/ingest-management
91+
/x-pack/plugins/ingest_manager/**/*.scss @elastic/observability-design
8792
/x-pack/legacy/plugins/ingest_manager/ @elastic/ingest-management
8893
/x-pack/plugins/observability/ @elastic/observability-ui
94+
/x-pack/plugins/observability/**/*.scss @elastic/observability-design
8995
/x-pack/legacy/plugins/monitoring/ @elastic/stack-monitoring-ui
9096
/x-pack/plugins/monitoring/ @elastic/stack-monitoring-ui
9197
/x-pack/plugins/uptime @elastic/uptime
@@ -159,10 +165,14 @@
159165
# Security
160166
/src/core/server/csp/ @elastic/kibana-security @elastic/kibana-platform
161167
/x-pack/legacy/plugins/security/ @elastic/kibana-security
168+
/x-pack/legacy/plugins/security/**/*.scss @elastic/kibana-core-ui-designers
162169
/x-pack/legacy/plugins/spaces/ @elastic/kibana-security
170+
/x-pack/legacy/plugins/spaces/**/*.scss @elastic/kibana-core-ui-designers
163171
/x-pack/plugins/spaces/ @elastic/kibana-security
172+
/x-pack/plugins/spaces/**/*.scss @elastic/kibana-core-ui-designers
164173
/x-pack/plugins/encrypted_saved_objects/ @elastic/kibana-security
165174
/x-pack/plugins/security/ @elastic/kibana-security
175+
/x-pack/plugins/security/**/*.scss @elastic/kibana-core-ui-designers
166176
/x-pack/test/api_integration/apis/security/ @elastic/kibana-security
167177

168178
# Kibana Localization
@@ -234,6 +244,7 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
234244

235245
# Endpoint
236246
/x-pack/plugins/endpoint/ @elastic/endpoint-app-team @elastic/siem
247+
/x-pack/plugins/endpoint/**/*.scss @elastic/security-design
237248
/x-pack/test/api_integration/apis/endpoint/ @elastic/endpoint-app-team @elastic/siem
238249
/x-pack/test/endpoint_api_integration_no_ingest/ @elastic/endpoint-app-team @elastic/siem
239250
/x-pack/test/security_solution_endpoint/ @elastic/endpoint-app-team @elastic/siem
@@ -243,6 +254,7 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
243254

244255
# Security Solution
245256
/x-pack/plugins/security_solution/ @elastic/siem @elastic/endpoint-app-team
257+
/x-pack/plugins/security_solution/**/*.scss @elastic/security-design
246258
/x-pack/test/detection_engine_api_integration @elastic/siem @elastic/endpoint-app-team
247259
/x-pack/test/api_integration/apis/security_solution @elastic/siem @elastic/endpoint-app-team
248260
/x-pack/plugins/case @elastic/siem @elastic/endpoint-app-team

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ out an open PR:
3232

3333
- [CONTRIBUTING.md](CONTRIBUTING.md) will help you get Kibana up and running.
3434
- If you would like to contribute code, please follow our [STYLEGUIDE.md](STYLEGUIDE.md).
35-
- Learn more about our UI code with [UI_SYSTEMS.md](src/legacy/ui/public/UI_SYSTEMS.md).
3635
- For all other questions, check out the [FAQ.md](FAQ.md) and
3736
[wiki](https://github.com/elastic/kibana/wiki).
3837

STYLEGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ Do not use setters, they cause more problems than they can solve.
593593
594594
When writing a new component, create a sibling SASS file of the same name and import directly into the **top** of the JS/TS component file. Doing so ensures the styles are never separated or lost on import and allows for better modularization (smaller individual plugin asset footprint).
595595
596-
All SASS (.scss) files will automatically build with the [EUI](https://elastic.github.io/eui/#/guidelines/sass) & Kibana invisibles (SASS variables, mixins, functions) from the [`globals_[theme].scss` file](src/legacy/ui/public/styles/_globals_v7light.scss).
596+
All SASS (.scss) files will automatically build with the [EUI](https://elastic.github.io/eui/#/guidelines/sass) & Kibana invisibles (SASS variables, mixins, functions) from the [`globals_[theme].scss` file](src/core/public/core_app/styles/_globals_v7light.scss).
597597
598598
While the styles for this component will only be loaded if the component exists on the page,
599599
the styles **will** be global and so it is recommended to use a three letter prefix on your

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.baseformatterspublic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
<b>Signature:</b>
88

99
```typescript
10-
baseFormattersPublic: (import("../../common").FieldFormatInstanceType | typeof DateNanosFormat | typeof DateFormat)[]
10+
baseFormattersPublic: (import("../../common").FieldFormatInstanceType | typeof DateFormat | typeof DateNanosFormat)[]
1111
```

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.search.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ search: {
1414
intervalOptions: ({
1515
display: string;
1616
val: string;
17-
enabled(agg: import("./search/aggs/buckets/bucket_agg_type").IBucketAggConfig): boolean | "" | undefined;
17+
enabled(agg: import("../common").IBucketAggConfig): boolean | "" | undefined;
1818
} | {
1919
display: string;
2020
val: string;
@@ -23,9 +23,9 @@ search: {
2323
InvalidEsIntervalFormatError: typeof InvalidEsIntervalFormatError;
2424
Ipv4Address: typeof Ipv4Address;
2525
isDateHistogramBucketAggConfig: typeof isDateHistogramBucketAggConfig;
26-
isNumberType: (agg: import("./search").AggConfig) => boolean;
27-
isStringType: (agg: import("./search").AggConfig) => boolean;
28-
isType: (...types: string[]) => (agg: import("./search").AggConfig) => boolean;
26+
isNumberType: (agg: import("../common").AggConfig) => boolean;
27+
isStringType: (agg: import("../common").AggConfig) => boolean;
28+
isType: (...types: string[]) => (agg: import("../common").AggConfig) => boolean;
2929
isValidEsInterval: typeof isValidEsInterval;
3030
isValidInterval: typeof isValidInterval;
3131
parentPipelineType: string;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [AggConfigOptions](./kibana-plugin-plugins-data-server.aggconfigoptions.md)
4+
5+
## AggConfigOptions type
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare type AggConfigOptions = Assign<AggConfigSerialized, {
11+
type: IAggType;
12+
}>;
13+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [AggGroupLabels](./kibana-plugin-plugins-data-server.agggrouplabels.md)
4+
5+
## AggGroupLabels variable
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
AggGroupLabels: {
11+
buckets: string;
12+
metrics: string;
13+
none: string;
14+
}
15+
```

0 commit comments

Comments
 (0)