Skip to content

Commit 4ef0921

Browse files
Merge branch 'master' into ilm_helpers_refactor
2 parents 946da8d + d44f9fe commit 4ef0921

2,367 files changed

Lines changed: 106527 additions & 33190 deletions

File tree

Some content is hidden

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

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ snapshots.js
3030

3131
# package overrides
3232
/packages/elastic-eslint-config-kibana
33-
/packages/kbn-interpreter/src/common/lib/grammar.js
34-
/packages/kbn-tinymath/src/grammar.js
3533
/packages/kbn-plugin-generator/template
3634
/packages/kbn-pm/dist
3735
/packages/kbn-test/src/functional_test_runner/__tests__/fixtures/

.eslintrc.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,8 @@ module.exports = {
893893
files: [
894894
'x-pack/plugins/security_solution/public/**/*.{js,mjs,ts,tsx}',
895895
'x-pack/plugins/security_solution/common/**/*.{js,mjs,ts,tsx}',
896+
'x-pack/plugins/timelines/public/**/*.{js,mjs,ts,tsx}',
897+
'x-pack/plugins/timelines/common/**/*.{js,mjs,ts,tsx}',
896898
],
897899
rules: {
898900
'import/no-nodejs-modules': 'error',
@@ -907,7 +909,10 @@ module.exports = {
907909
},
908910
{
909911
// typescript only for front and back end
910-
files: ['x-pack/plugins/security_solution/**/*.{ts,tsx}'],
912+
files: [
913+
'x-pack/plugins/security_solution/**/*.{ts,tsx}',
914+
'x-pack/plugins/timelines/**/*.{ts,tsx}',
915+
],
911916
rules: {
912917
'@typescript-eslint/no-this-alias': 'error',
913918
'@typescript-eslint/no-explicit-any': 'error',
@@ -917,7 +922,10 @@ module.exports = {
917922
},
918923
{
919924
// typescript and javascript for front and back end
920-
files: ['x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}'],
925+
files: [
926+
'x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
927+
'x-pack/plugins/timelines/**/*.{js,mjs,ts,tsx}',
928+
],
921929
plugins: ['eslint-plugin-node', 'react'],
922930
env: {
923931
jest: true,

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
/src/plugins/apm_oss/ @elastic/apm-ui
7777
/src/apm.js @elastic/kibana-core @vigneshshanmugam
7878
/packages/kbn-apm-config-loader/ @elastic/kibana-core @vigneshshanmugam
79+
/src/core/types/elasticsearch @elastic/apm-ui
7980
#CC# /src/plugins/apm_oss/ @elastic/apm-ui
8081
#CC# /x-pack/plugins/observability/ @elastic/apm-ui
8182

docs/api/saved-objects/bulk_create.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ experimental[] Create multiple {kib} saved objects.
4545
(Optional, string array) Identifiers for the <<xpack-spaces,spaces>> in which this object is created. If this is provided, the
4646
object is created only in the explicitly defined spaces. If this is not provided, the object is created in the current space
4747
(default behavior).
48+
* For shareable object types (registered with `namespaceType: 'multiple'`): this option can be used to specify one or more spaces, including
49+
the "All spaces" identifier (`'*'`).
50+
* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`): this option can only be
51+
used to specify a single space, and the "All spaces" identifier (`'*'`) is not allowed.
52+
* For global object types (registered with `namespaceType: 'agnostic'`): this option cannot be used.
4853

4954
`version`::
5055
(Optional, number) Specifies the version.

docs/api/saved-objects/create.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ any data that you send to the API is properly formed.
5252
(Optional, string array) Identifiers for the <<xpack-spaces,spaces>> in which this object is created. If this is provided, the
5353
object is created only in the explicitly defined spaces. If this is not provided, the object is created in the current space
5454
(default behavior).
55+
* For shareable object types (registered with `namespaceType: 'multiple'`): this option can be used to specify one or more spaces, including
56+
the "All spaces" identifier (`'*'`).
57+
* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`): this option can only be
58+
used to specify a single space, and the "All spaces" identifier (`'*'`) is not allowed.
59+
* For global object types (registered with `namespaceType: 'agnostic'): this option cannot be used.
5560

5661
[[saved-objects-api-create-request-codes]]
5762
==== Response code

docs/developer/getting-started/monorepo-packages.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ yarn kbn watch-bazel
7070
- @kbn/apm-utils
7171
- @kbn/babel-code-parser
7272
- @kbn/babel-preset
73+
- @kbn/cli-dev-mode
7374
- @kbn/config
7475
- @kbn/config-schema
7576
- @kbn/crypto
@@ -80,11 +81,14 @@ yarn kbn watch-bazel
8081
- @kbn/eslint-plugin-eslint
8182
- @kbn/expect
8283
- @kbn/i18n
84+
- @kbn/interpreter
8385
- @kbn/io-ts-utils
8486
- @kbn/legacy-logging
8587
- @kbn/logging
8688
- @kbn/mapbox-gl
8789
- @kbn/monaco
90+
- @kbn/optimizer
91+
- @kbn/plugin-helpers
8892
- @kbn/rule-data-utils
8993
- @kbn/securitysolution-es-utils
9094
- @kbn/securitysolution-hook-utils
@@ -100,8 +104,10 @@ yarn kbn watch-bazel
100104
- @kbn/server-http-tools
101105
- @kbn/server-route-repository
102106
- @kbn/std
107+
- @kbn/storybook
103108
- @kbn/telemetry-utils
104109
- @kbn/tinymath
110+
- @kbn/ui-framework
105111
- @kbn/ui-shared-deps
106112
- @kbn/utility-types
107113
- @kbn/utils

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ readonly links: {
106106
};
107107
readonly search: {
108108
readonly sessions: string;
109+
readonly sessionLimits: string;
109110
};
110111
readonly indexPatterns: {
111112
readonly introduction: string;
@@ -116,6 +117,7 @@ readonly links: {
116117
readonly addData: string;
117118
readonly kibana: string;
118119
readonly upgradeAssistant: string;
120+
readonly rollupJobs: string;
119121
readonly elasticsearch: Record<string, string>;
120122
readonly siem: {
121123
readonly guide: string;
@@ -185,5 +187,18 @@ readonly links: {
185187
readonly plugins: Record<string, string>;
186188
readonly snapshotRestore: Record<string, string>;
187189
readonly ingest: Record<string, string>;
190+
readonly fleet: Readonly<{
191+
guide: string;
192+
fleetServer: string;
193+
fleetServerAddFleetServer: string;
194+
settings: string;
195+
settingsFleetServerHostSettings: string;
196+
troubleshooting: string;
197+
elasticAgent: string;
198+
datastreams: string;
199+
datastreamsNamingScheme: string;
200+
upgradeElasticAgent: string;
201+
upgradeElasticAgent712lower: string;
202+
}>;
188203
};
189204
```

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

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/development/core/server/kibana-plugin-core-server.savedobjectsbulkcreateobject.initialnamespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Optional initial namespaces for the object to be created in. If this is defined, it will supersede the namespace ID that is in [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md)<!-- -->.
88

9-
Note: this can only be used for multi-namespace object types.
9+
\* For shareable object types (registered with `namespaceType: 'multiple'`<!-- -->): this option can be used to specify one or more spaces, including the "All spaces" identifier (`'*'`<!-- -->). \* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`<!-- -->): this option can only be used to specify a single space, and the "All spaces" identifier (`'*'`<!-- -->) is not allowed. \* For global object types (registered with `namespaceType: 'agnostic'`<!-- -->): this option cannot be used.
1010

1111
<b>Signature:</b>
1212

docs/development/core/server/kibana-plugin-core-server.savedobjectsbulkcreateobject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface SavedObjectsBulkCreateObject<T = unknown>
1818
| [attributes](./kibana-plugin-core-server.savedobjectsbulkcreateobject.attributes.md) | <code>T</code> | |
1919
| [coreMigrationVersion](./kibana-plugin-core-server.savedobjectsbulkcreateobject.coremigrationversion.md) | <code>string</code> | A semver value that is used when upgrading objects between Kibana versions. If undefined, this will be automatically set to the current Kibana version when the object is created. If this is set to a non-semver value, or it is set to a semver value greater than the current Kibana version, it will result in an error. |
2020
| [id](./kibana-plugin-core-server.savedobjectsbulkcreateobject.id.md) | <code>string</code> | |
21-
| [initialNamespaces](./kibana-plugin-core-server.savedobjectsbulkcreateobject.initialnamespaces.md) | <code>string[]</code> | Optional initial namespaces for the object to be created in. If this is defined, it will supersede the namespace ID that is in [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md)<!-- -->.<!-- -->Note: this can only be used for multi-namespace object types. |
21+
| [initialNamespaces](./kibana-plugin-core-server.savedobjectsbulkcreateobject.initialnamespaces.md) | <code>string[]</code> | Optional initial namespaces for the object to be created in. If this is defined, it will supersede the namespace ID that is in [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md)<!-- -->.<!-- -->\* For shareable object types (registered with <code>namespaceType: 'multiple'</code>): this option can be used to specify one or more spaces, including the "All spaces" identifier (<code>'*'</code>). \* For isolated object types (registered with <code>namespaceType: 'single'</code> or <code>namespaceType: 'multiple-isolated'</code>): this option can only be used to specify a single space, and the "All spaces" identifier (<code>'*'</code>) is not allowed. \* For global object types (registered with <code>namespaceType: 'agnostic'</code>): this option cannot be used. |
2222
| [migrationVersion](./kibana-plugin-core-server.savedobjectsbulkcreateobject.migrationversion.md) | <code>SavedObjectsMigrationVersion</code> | Information about the migrations that have been applied to this SavedObject. When Kibana starts up, KibanaMigrator detects outdated documents and migrates them based on this value. For each migration that has been applied, the plugin's name is used as a key and the latest migration version as the value. |
2323
| [originId](./kibana-plugin-core-server.savedobjectsbulkcreateobject.originid.md) | <code>string</code> | Optional ID of the original saved object, if this object's <code>id</code> was regenerated |
2424
| [references](./kibana-plugin-core-server.savedobjectsbulkcreateobject.references.md) | <code>SavedObjectReference[]</code> | |

0 commit comments

Comments
 (0)