Skip to content

Commit e041704

Browse files
committed
Merge remote-tracking branch 'upstream/master' into kbn-72572-client-side-feature-usage
2 parents a264a99 + 77a434b commit e041704

File tree

697 files changed

+13368
-8980
lines changed

Some content is hidden

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

697 files changed

+13368
-8980
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
267267
/x-pack/plugins/security_solution/ @elastic/siem @elastic/endpoint-app-team
268268
/x-pack/plugins/security_solution/**/*.scss @elastic/security-design
269269
/x-pack/test/detection_engine_api_integration @elastic/siem @elastic/endpoint-app-team
270+
/x-pack/test/lists_api_integration @elastic/siem @elastic/endpoint-app-team
270271
/x-pack/test/api_integration/apis/security_solution @elastic/siem @elastic/endpoint-app-team
271272
/x-pack/plugins/case @elastic/siem @elastic/endpoint-app-team
272273
/x-pack/plugins/lists @elastic/siem @elastic/endpoint-app-team
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [KibanaRequest](./kibana-plugin-core-server.kibanarequest.md) &gt; [id](./kibana-plugin-core-server.kibanarequest.id.md)
4+
5+
## KibanaRequest.id property
6+
7+
A identifier to identify this request.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
readonly id: string;
13+
```
14+
15+
## Remarks
16+
17+
Depending on the user's configuration, this value may be sourced from the incoming request's `X-Opaque-Id` header which is not guaranteed to be unique per request.
18+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export declare class KibanaRequest<Params = unknown, Query = unknown, Body = unk
2626
| [body](./kibana-plugin-core-server.kibanarequest.body.md) | | <code>Body</code> | |
2727
| [events](./kibana-plugin-core-server.kibanarequest.events.md) | | <code>KibanaRequestEvents</code> | Request events [KibanaRequestEvents](./kibana-plugin-core-server.kibanarequestevents.md) |
2828
| [headers](./kibana-plugin-core-server.kibanarequest.headers.md) | | <code>Headers</code> | Readonly copy of incoming request headers. |
29+
| [id](./kibana-plugin-core-server.kibanarequest.id.md) | | <code>string</code> | A identifier to identify this request. |
2930
| [isSystemRequest](./kibana-plugin-core-server.kibanarequest.issystemrequest.md) | | <code>boolean</code> | Whether or not the request is a "system request" rather than an application-level request. Can be set on the client using the <code>HttpFetchOptions#asSystemRequest</code> option. |
3031
| [params](./kibana-plugin-core-server.kibanarequest.params.md) | | <code>Params</code> | |
3132
| [query](./kibana-plugin-core-server.kibanarequest.query.md) | | <code>Query</code> | |

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ export interface SavedObjectsBulkCreateObject<T = unknown>
2020
| [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. |
2121
| [references](./kibana-plugin-core-server.savedobjectsbulkcreateobject.references.md) | <code>SavedObjectReference[]</code> | |
2222
| [type](./kibana-plugin-core-server.savedobjectsbulkcreateobject.type.md) | <code>string</code> | |
23+
| [version](./kibana-plugin-core-server.savedobjectsbulkcreateobject.version.md) | <code>string</code> | |
2324

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [SavedObjectsBulkCreateObject](./kibana-plugin-core-server.savedobjectsbulkcreateobject.md) &gt; [version](./kibana-plugin-core-server.savedobjectsbulkcreateobject.version.md)
4+
5+
## SavedObjectsBulkCreateObject.version property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
version?: string;
11+
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ export interface SavedObjectsCreateOptions extends SavedObjectsBaseOptions
2020
| [overwrite](./kibana-plugin-core-server.savedobjectscreateoptions.overwrite.md) | <code>boolean</code> | Overwrite existing documents (defaults to false) |
2121
| [references](./kibana-plugin-core-server.savedobjectscreateoptions.references.md) | <code>SavedObjectReference[]</code> | |
2222
| [refresh](./kibana-plugin-core-server.savedobjectscreateoptions.refresh.md) | <code>MutatingOperationRefreshSetting</code> | The Elasticsearch Refresh setting for this operation |
23+
| [version](./kibana-plugin-core-server.savedobjectscreateoptions.version.md) | <code>string</code> | An opaque version number which changes on each successful write operation. Can be used in conjunction with <code>overwrite</code> for implementing optimistic concurrency control. |
2324
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-core-server](./kibana-plugin-core-server.md) &gt; [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md) &gt; [version](./kibana-plugin-core-server.savedobjectscreateoptions.version.md)
4+
5+
## SavedObjectsCreateOptions.version property
6+
7+
An opaque version number which changes on each successful write operation. Can be used in conjunction with `overwrite` for implementing optimistic concurrency control.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
version?: string;
13+
```

docs/setup/settings.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,12 @@ identifies this {kib} instance. *Default: `"your-hostname"`*
476476
| {kib} is served by a back end server. This
477477
setting specifies the port to use. *Default: `5601`*
478478

479+
| `server.requestId.allowFromAnyIp:`
480+
| Sets whether or not the X-Opaque-Id header should be trusted from any IP address for identifying requests in logs and forwarded to Elasticsearch.
481+
482+
| `server.requestId.ipAllowlist:`
483+
| A list of IPv4 and IPv6 address which the `X-Opaque-Id` header should be trusted from. Normally this would be set to the IP addresses of the load balancers or reverse-proxy that end users use to access Kibana. If any are set, `server.requestId.allowFromAnyIp` must also be set to `false.`
484+
479485
| `server.rewriteBasePath:`
480486
| Specifies whether {kib} should
481487
rewrite requests that are prefixed with `server.basePath` or require that they

docs/visualize/vega.asciidoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[[vega-graph]]
22
== Vega
33

4-
experimental[]
5-
64
Build custom visualizations using Vega and Vega-Lite, backed by one or more
75
data sources including {es}, Elastic Map Service, URL,
86
or static data. Use the {kib} extensions to Vega to embed Vega into
@@ -1259,7 +1257,7 @@ Override it by providing a different `stroke`, `fill`, or `color` (Vega-Lite) va
12591257
[[vega-queries]]
12601258
==== Writing {es} queries in Vega
12611259

1262-
experimental[] {kib} extends the Vega https://vega.github.io/vega/docs/data/[data] elements
1260+
{kib} extends the Vega https://vega.github.io/vega/docs/data/[data] elements
12631261
with support for direct {es} queries specified as a `url`.
12641262

12651263
Because of this, {kib} is **unable to support dynamically loaded data**,
@@ -1414,7 +1412,7 @@ try to get about 10-15 data points (buckets).
14141412
[[vega-esmfiles]]
14151413
=== Access Elastic Map Service files
14161414

1417-
experimental[] Access the Elastic Map Service files via the same mechanism:
1415+
Access the Elastic Map Service files via the same mechanism:
14181416

14191417
[source,yaml]
14201418
----
@@ -1619,7 +1617,7 @@ kibanaSetTimeFilter(start, end)
16191617
[[vega-useful-links]]
16201618
=== Resources and examples
16211619

1622-
experimental[] To learn more about Vega and Vega-Lite, refer to the resources and examples.
1620+
To learn more about Vega and Vega-Lite, refer to the resources and examples.
16231621

16241622
==== Vega editor
16251623
The https://vega.github.io/editor/[Vega Editor] includes examples for Vega & Vega-Lite, but does not support any

examples/search_examples/public/components/app.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ import { NavigationPublicPluginStart } from '../../../../src/plugins/navigation/
4747
import {
4848
PLUGIN_ID,
4949
PLUGIN_NAME,
50-
IMyStrategyRequest,
5150
IMyStrategyResponse,
5251
SERVER_SEARCH_ROUTE_PATH,
5352
} from '../../common';
@@ -134,12 +133,9 @@ export const SearchExamplesApp = ({
134133
query,
135134
},
136135
},
137-
};
138-
139-
if (strategy) {
140136
// Add a custom request parameter to be consumed by `MyStrategy`.
141-
(request as IMyStrategyRequest).get_cool = getCool;
142-
}
137+
...(strategy ? { get_cool: getCool } : {}),
138+
};
143139

144140
// Submit the search request using the `data.search` service.
145141
const searchSubscription$ = data.search

0 commit comments

Comments
 (0)