-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into instrument-tm
- Loading branch information
Showing
943 changed files
with
32,340 additions
and
17,102 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Risk consideration | ||
|
||
When merging a new feature of considerable size or modifying an existing one, | ||
consider adding a *Risk Matrix* section to your PR in collaboration with other | ||
developers on your team and the QA team. | ||
|
||
Below are some general themes to consider for the *Risk Matrix*. (Feel free to | ||
add to this list.) | ||
|
||
|
||
## General risks | ||
|
||
- What happens when your feature is used in a non-default space or a custom | ||
space? | ||
- What happens when there are multiple Kibana nodes using the same Elasticsearch | ||
cluster? | ||
- What happens when a plugin you depend on is disabled? | ||
- What happens when a feature you depend on is disabled? | ||
- Is your change working correctly regardless of `kibana.yml` configuration or | ||
UI Setting configuration? (For example, does it support both | ||
`state:storeInSessionStorage` UI setting states?) | ||
- What happens when a third party integration you depend on is not responding? | ||
- How is authentication handled with third party services? | ||
- Does the feature work in Elastic Cloud? | ||
- Does the feature create a setting that needs to be exposed, or configured | ||
differently than the default, on the Elastic Cloud? | ||
- Is there a significant performance impact that may affect Cloud Kibana | ||
instances? | ||
- Does your feature need to be aware of running in a container? | ||
- Does the feature Work with security disabled, or fails gracefully? | ||
- Are there performance risks associated with your feature? Does it potentially | ||
access or create: (1) many fields; (2) many indices; (3) lots of data; | ||
(4) lots of saved objects; (5) large saved objects. | ||
- Could this cause memory to leak in either the browser or server? | ||
- Will your feature still work if Kibana is run behind a reverse proxy? | ||
- Does your feature affect other plugins? | ||
- If you write to the file system, what happens if Kibana node goes down? What | ||
happens if there are multiple Kibana nodes? | ||
- Are migrations handled gracefully? Does the feature affect old indices or | ||
saved objects? | ||
- Are you using any technologies, protocols, techniques, conventions, libraries, | ||
NPM modules, etc. that may be new or unprecedented in Kibana? | ||
|
||
|
||
## Security risks | ||
|
||
Check to ensure that best practices are used to mitigate common vulnerabilities: | ||
|
||
- Cross-site scripting (XSS) | ||
- Cross-site request forgery (CSRF) | ||
- Remote-code execution (RCE) | ||
- Server-side request forgery (SSRF) | ||
- Prototype pollution | ||
- Information disclosure | ||
- Tabnabbing | ||
|
||
In addition to these risks, in general, server-side input validation should be | ||
implemented as strictly as possible. Extra care should be taken when user input | ||
is used to construct URLs or data structures; this is a common source of | ||
injection attacks and other vulnerabilities. For more information on all of | ||
these topics, see [Security best practices][security-best-practices]. | ||
|
||
[security-best-practices]: https://www.elastic.co/guide/en/kibana/master/security-best-practices.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,6 @@ correctiveActions: { | |
[key: string]: any; | ||
}; | ||
}; | ||
manualSteps?: string[]; | ||
manualSteps: string[]; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...plugins/data/public/kibana-plugin-plugins-data-public.aggconfig.gettimeshift.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfig](./kibana-plugin-plugins-data-public.aggconfig.md) > [getTimeShift](./kibana-plugin-plugins-data-public.aggconfig.gettimeshift.md) | ||
|
||
## AggConfig.getTimeShift() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTimeShift(): undefined | moment.Duration; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`undefined | moment.Duration` | ||
|
15 changes: 15 additions & 0 deletions
15
...plugins/data/public/kibana-plugin-plugins-data-public.aggconfig.hastimeshift.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfig](./kibana-plugin-plugins-data-public.aggconfig.md) > [hasTimeShift](./kibana-plugin-plugins-data-public.aggconfig.hastimeshift.md) | ||
|
||
## AggConfig.hasTimeShift() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasTimeShift(): boolean; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`boolean` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...nt/plugins/data/public/kibana-plugin-plugins-data-public.aggconfigs.forcenow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [forceNow](./kibana-plugin-plugins-data-public.aggconfigs.forcenow.md) | ||
|
||
## AggConfigs.forceNow property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
forceNow?: Date; | ||
``` |
72 changes: 72 additions & 0 deletions
72
...ublic/kibana-plugin-plugins-data-public.aggconfigs.getsearchsourcetimefilter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [getSearchSourceTimeFilter](./kibana-plugin-plugins-data-public.aggconfigs.getsearchsourcetimefilter.md) | ||
|
||
## AggConfigs.getSearchSourceTimeFilter() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getSearchSourceTimeFilter(forceNow?: Date): RangeFilter[] | { | ||
meta: { | ||
index: string | undefined; | ||
params: {}; | ||
alias: string; | ||
disabled: boolean; | ||
negate: boolean; | ||
}; | ||
query: { | ||
bool: { | ||
should: { | ||
bool: { | ||
filter: { | ||
range: { | ||
[x: string]: { | ||
gte: string; | ||
lte: string; | ||
}; | ||
}; | ||
}[]; | ||
}; | ||
}[]; | ||
minimum_should_match: number; | ||
}; | ||
}; | ||
}[]; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| forceNow | <code>Date</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`RangeFilter[] | { | ||
meta: { | ||
index: string | undefined; | ||
params: {}; | ||
alias: string; | ||
disabled: boolean; | ||
negate: boolean; | ||
}; | ||
query: { | ||
bool: { | ||
should: { | ||
bool: { | ||
filter: { | ||
range: { | ||
[x: string]: { | ||
gte: string; | ||
lte: string; | ||
}; | ||
}; | ||
}[]; | ||
}; | ||
}[]; | ||
minimum_should_match: number; | ||
}; | ||
}; | ||
}[]` | ||
|
Oops, something went wrong.