Skip to content

Commit 94d4914

Browse files
author
Joel Griffith
committed
Merge remote-tracking branch 'upstream/master' into sec/disallow-file-ip-requests
2 parents 72f2b10 + d0aa9f1 commit 94d4914

410 files changed

Lines changed: 7851 additions & 2960 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.

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a
1717
'oss-ciGroup4': getOssCiGroupWorker(4),
1818
'oss-ciGroup5': getOssCiGroupWorker(5),
1919
'oss-ciGroup6': getOssCiGroupWorker(6),
20+
]),
21+
'kibana-oss-agent2': withWorkers('kibana-oss-tests2', { buildOss() }, [
2022
'oss-ciGroup7': getOssCiGroupWorker(7),
2123
'oss-ciGroup8': getOssCiGroupWorker(8),
2224
'oss-ciGroup9': getOssCiGroupWorker(9),
@@ -32,6 +34,8 @@ stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a
3234
'xpack-ciGroup3': getXpackCiGroupWorker(3),
3335
'xpack-ciGroup4': getXpackCiGroupWorker(4),
3436
'xpack-ciGroup5': getXpackCiGroupWorker(5),
37+
]),
38+
'kibana-xpack-agent2': withWorkers('kibana-xpack-tests2', { buildXpack() }, [
3539
'xpack-ciGroup6': getXpackCiGroupWorker(6),
3640
'xpack-ciGroup7': getXpackCiGroupWorker(7),
3741
'xpack-ciGroup8': getXpackCiGroupWorker(8),

docs/developer/visualize/development-create-visualization.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The list of common parameters:
6464
- *responseHandler*: <string> one of the available response handlers or a <function> for a custom response handler
6565
- *editor*: <string> one of the available editors or Editor class for custom one
6666
- *editorConfig*: object holding editor parameters
67-
- *options.showTimePicker*: <bool> show or hide time picker (defaults to true)
67+
- *options.showTimePicker*: <bool> show or hide time filter (defaults to true)
6868
- *options.showQueryBar*: <bool> show or hide query bar (defaults to true)
6969
- *options.showFilterBar*: <bool> show or hide filter bar (defaults to true)
7070
- *options.showIndexSelection*: <bool> show or hide index selection (defaults to true)
@@ -275,7 +275,7 @@ VisTypesRegistryProvider.register(MyNewVisType);
275275
[[development-visualization-request-handlers]]
276276
=== Visualization Request Handlers
277277
Request handler gets called when one of the following keys on AppState change:
278-
`vis`, `query`, `filters` or `uiState` and when timepicker is updated. On top
278+
`vis`, `query`, `filters` or `uiState` and when the time filter is updated. On top
279279
of that it will also get called on force refresh.
280280

281281
By default visualizations will use the `courier` request handler. They can also choose to use any of the other provided
@@ -417,7 +417,7 @@ The `vis` object holds the visualization state and is the window into kibana:
417417
- *vis.getUiState()*: gets UI state of visualization
418418
- *vis.uiStateVal(name, val)*: updates a property in UI state
419419
- *vis.isEditorMode()*: returns true if in editor mode
420-
- *vis.API.timeFilter*: allows you to access time picker
420+
- *vis.API.timeFilter*: allows you to access time filter
421421
- *vis.API.queryFilter*: gives you access to queryFilter
422422
- *vis.API.events.click*: default click handler
423423
- *vis.API.events.brush*: default brush handler
@@ -430,12 +430,12 @@ visualization's render method.
430430
For the parameters that should not be saved with the visualization you should use the UI state.
431431
These hold viewer-specific state, such as popup open/closed, custom colors applied to the series etc.
432432

433-
You can access filter bar and time picker through the objects defined on `vis.API`
433+
You can access the filter bar and time filter through the objects defined on `vis.API`
434434

435435
[[development-vis-timefilter]]
436436
==== timeFilter
437437

438-
Update the timefilter time values and call update() method on it to update time picker
438+
Update the timefilter time values and call update() method on it to update the time filter
439439

440440
["source","js"]
441441
-----------

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ core: {
1818
notifications: NotificationsStart;
1919
overlays: OverlayStart;
2020
uiSettings: UiSettingsClientContract;
21+
injectedMetadata: {
22+
getInjectedVar: (name: string, defaultValue?: any) => unknown;
23+
};
2124
};
2225
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export interface AppMountContext
1616

1717
| Property | Type | Description |
1818
| --- | --- | --- |
19-
| [core](./kibana-plugin-public.appmountcontext.core.md) | <code>{</code><br/><code> application: Pick&lt;ApplicationStart, 'capabilities' &#124; 'navigateToApp'&gt;;</code><br/><code> chrome: ChromeStart;</code><br/><code> docLinks: DocLinksStart;</code><br/><code> http: HttpStart;</code><br/><code> i18n: I18nStart;</code><br/><code> notifications: NotificationsStart;</code><br/><code> overlays: OverlayStart;</code><br/><code> uiSettings: UiSettingsClientContract;</code><br/><code> }</code> | Core service APIs available to mounted applications. |
19+
| [core](./kibana-plugin-public.appmountcontext.core.md) | <code>{</code><br/><code> application: Pick&lt;ApplicationStart, 'capabilities' &#124; 'navigateToApp'&gt;;</code><br/><code> chrome: ChromeStart;</code><br/><code> docLinks: DocLinksStart;</code><br/><code> http: HttpStart;</code><br/><code> i18n: I18nStart;</code><br/><code> notifications: NotificationsStart;</code><br/><code> overlays: OverlayStart;</code><br/><code> uiSettings: UiSettingsClientContract;</code><br/><code> injectedMetadata: {</code><br/><code> getInjectedVar: (name: string, defaultValue?: any) =&gt; unknown;</code><br/><code> };</code><br/><code> }</code> | Core service APIs available to mounted applications. |
2020

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [CoreSetup](./kibana-plugin-public.coresetup.md) &gt; [injectedMetadata](./kibana-plugin-public.coresetup.injectedmetadata.md)
4+
5+
## CoreSetup.injectedMetadata property
6+
7+
> Warning: This API is now obsolete.
8+
>
9+
>
10+
11+
exposed temporarily until https://github.com/elastic/kibana/issues/41990 done use \*only\* to retrieve config values. There is no way to set injected values in the new platform. Use the legacy platform API instead.
12+
13+
<b>Signature:</b>
14+
15+
```typescript
16+
injectedMetadata: {
17+
getInjectedVar: (name: string, defaultValue?: any) => unknown;
18+
};
19+
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export interface CoreSetup
2020
| [context](./kibana-plugin-public.coresetup.context.md) | <code>ContextSetup</code> | [ContextSetup](./kibana-plugin-public.contextsetup.md) |
2121
| [fatalErrors](./kibana-plugin-public.coresetup.fatalerrors.md) | <code>FatalErrorsSetup</code> | [FatalErrorsSetup](./kibana-plugin-public.fatalerrorssetup.md) |
2222
| [http](./kibana-plugin-public.coresetup.http.md) | <code>HttpSetup</code> | [HttpSetup](./kibana-plugin-public.httpsetup.md) |
23+
| [injectedMetadata](./kibana-plugin-public.coresetup.injectedmetadata.md) | <code>{</code><br/><code> getInjectedVar: (name: string, defaultValue?: any) =&gt; unknown;</code><br/><code> }</code> | exposed temporarily until https://github.com/elastic/kibana/issues/41990 done use \*only\* to retrieve config values. There is no way to set injected values in the new platform. Use the legacy platform API instead. |
2324
| [notifications](./kibana-plugin-public.coresetup.notifications.md) | <code>NotificationsSetup</code> | [NotificationsSetup](./kibana-plugin-public.notificationssetup.md) |
2425
| [uiSettings](./kibana-plugin-public.coresetup.uisettings.md) | <code>UiSettingsClientContract</code> | [UiSettingsClient](./kibana-plugin-public.uisettingsclient.md) |
2526

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [CoreStart](./kibana-plugin-public.corestart.md) &gt; [injectedMetadata](./kibana-plugin-public.corestart.injectedmetadata.md)
4+
5+
## CoreStart.injectedMetadata property
6+
7+
> Warning: This API is now obsolete.
8+
>
9+
>
10+
11+
exposed temporarily until https://github.com/elastic/kibana/issues/41990 done use \*only\* to retrieve config values. There is no way to set injected values in the new platform. Use the legacy platform API instead.
12+
13+
<b>Signature:</b>
14+
15+
```typescript
16+
injectedMetadata: {
17+
getInjectedVar: (name: string, defaultValue?: any) => unknown;
18+
};
19+
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export interface CoreStart
2121
| [docLinks](./kibana-plugin-public.corestart.doclinks.md) | <code>DocLinksStart</code> | [DocLinksStart](./kibana-plugin-public.doclinksstart.md) |
2222
| [http](./kibana-plugin-public.corestart.http.md) | <code>HttpStart</code> | [HttpStart](./kibana-plugin-public.httpstart.md) |
2323
| [i18n](./kibana-plugin-public.corestart.i18n.md) | <code>I18nStart</code> | [I18nStart](./kibana-plugin-public.i18nstart.md) |
24+
| [injectedMetadata](./kibana-plugin-public.corestart.injectedmetadata.md) | <code>{</code><br/><code> getInjectedVar: (name: string, defaultValue?: any) =&gt; unknown;</code><br/><code> }</code> | exposed temporarily until https://github.com/elastic/kibana/issues/41990 done use \*only\* to retrieve config values. There is no way to set injected values in the new platform. Use the legacy platform API instead. |
2425
| [notifications](./kibana-plugin-public.corestart.notifications.md) | <code>NotificationsStart</code> | [NotificationsStart](./kibana-plugin-public.notificationsstart.md) |
2526
| [overlays](./kibana-plugin-public.corestart.overlays.md) | <code>OverlayStart</code> | [OverlayStart](./kibana-plugin-public.overlaystart.md) |
2627
| [savedObjects](./kibana-plugin-public.corestart.savedobjects.md) | <code>SavedObjectsStart</code> | [SavedObjectsStart](./kibana-plugin-public.savedobjectsstart.md) |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [APICaller](./kibana-plugin-server.apicaller.md)
44

5-
## APICaller type
5+
## APICaller interface
66

77

88
<b>Signature:</b>
99

1010
```typescript
11-
export declare type APICaller = (endpoint: string, clientParams: Record<string, any>, options?: CallAPIOptions) => Promise<unknown>;
11+
export interface APICaller
1212
```
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-server](./kibana-plugin-server.md) &gt; [AssistanceAPIResponse](./kibana-plugin-server.assistanceapiresponse.md) &gt; [indices](./kibana-plugin-server.assistanceapiresponse.indices.md)
4+
5+
## AssistanceAPIResponse.indices property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
indices: {
11+
[indexName: string]: {
12+
action_required: MIGRATION_ASSISTANCE_INDEX_ACTION;
13+
};
14+
};
15+
```

0 commit comments

Comments
 (0)