Skip to content

Commit cb6a6e8

Browse files
Merge branch 'master' into SIEM_improved_map_requirements_message
2 parents bb4d3e4 + b6ea699 commit cb6a6e8

File tree

1,388 files changed

+28770
-19272
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,388 files changed

+28770
-19272
lines changed

.ci/packer_cache.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ tar -cf "$HOME/.kibana/bootstrap_cache/$branch.tar" \
4444
x-pack/legacy/plugins/*/node_modules \
4545
x-pack/legacy/plugins/reporting/.chromium \
4646
test/plugin_functional/plugins/*/node_modules \
47+
examples/*/node_modules \
4748
.es \
4849
.chromedriver \
4950
.geckodriver;

.eslintrc.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,6 @@ module.exports = {
170170
'react-hooks/rules-of-hooks': 'off',
171171
},
172172
},
173-
{
174-
files: ['x-pack/legacy/plugins/infra/**/*.{js,ts,tsx}'],
175-
rules: {
176-
'react-hooks/exhaustive-deps': 'off',
177-
'react-hooks/rules-of-hooks': 'off',
178-
},
179-
},
180173
{
181174
files: ['x-pack/legacy/plugins/lens/**/*.{js,ts,tsx}'],
182175
rules: {
@@ -209,13 +202,6 @@ module.exports = {
209202
'react-hooks/rules-of-hooks': 'off',
210203
},
211204
},
212-
{
213-
files: ['x-pack/legacy/plugins/watcher/**/*.{js,ts,tsx}'],
214-
rules: {
215-
'react-hooks/rules-of-hooks': 'off',
216-
'react-hooks/exhaustive-deps': 'off',
217-
},
218-
},
219205

220206
/**
221207
* Prettier

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# App
66
/x-pack/legacy/plugins/lens/ @elastic/kibana-app
77
/x-pack/legacy/plugins/graph/ @elastic/kibana-app
8+
/src/plugins/share/ @elastic/kibana-app
9+
/src/legacy/server/url_shortening/ @elastic/kibana-app
810
/src/legacy/server/sample_data/ @elastic/kibana-app
911

1012
# App Architecture
@@ -14,7 +16,6 @@
1416
/src/plugins/kibana_react/ @elastic/kibana-app-arch
1517
/src/plugins/kibana_utils/ @elastic/kibana-app-arch
1618
/src/plugins/navigation/ @elastic/kibana-app-arch
17-
/src/plugins/share/ @elastic/kibana-app-arch
1819
/src/plugins/ui_actions/ @elastic/kibana-app-arch
1920
/src/plugins/visualizations/ @elastic/kibana-app-arch
2021
/x-pack/plugins/advanced_ui_actions/ @elastic/kibana-app-arch
@@ -28,7 +29,6 @@
2829
/src/legacy/core_plugins/kibana/server/routes/api/suggestions/ @elastic/kibana-app-arch
2930
/src/legacy/core_plugins/visualizations/ @elastic/kibana-app-arch
3031
/src/legacy/server/index_patterns/ @elastic/kibana-app-arch
31-
/src/legacy/server/url_shortening/ @elastic/kibana-app-arch
3232

3333
# APM
3434
/x-pack/legacy/plugins/apm/ @elastic/apm-ui

.i18nrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"kbn": "src/legacy/core_plugins/kibana",
1818
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views",
1919
"kbnVislibVisTypes": "src/legacy/core_plugins/kbn_vislib_vis_types",
20+
"management": "src/legacy/core_plugins/management",
2021
"kibana_react": "src/legacy/core_plugins/kibana_react",
2122
"kibana-react": "src/plugins/kibana_react",
2223
"kibana_utils": "src/plugins/kibana_utils",

NOTICE.txt

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -186,32 +186,6 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
186186
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
187187
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
188188

189-
---
190-
This product includes code that is based on facebookincubator/idx, which was
191-
available under a "MIT" license.
192-
193-
MIT License
194-
195-
Copyright (c) 2013-present, Facebook, Inc.
196-
197-
Permission is hereby granted, free of charge, to any person obtaining a copy
198-
of this software and associated documentation files (the "Software"), to deal
199-
in the Software without restriction, including without limitation the rights
200-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
201-
copies of the Software, and to permit persons to whom the Software is
202-
furnished to do so, subject to the following conditions:
203-
204-
The above copyright notice and this permission notice shall be included in all
205-
copies or substantial portions of the Software.
206-
207-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
208-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
209-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
210-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
211-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
212-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
213-
SOFTWARE.
214-
215189
---
216190
This product includes code that was extracted from angular@1.3.
217191
Original license:

docs/developer/core/development-functional-tests.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ The `FunctionalTestRunner` comes with three built-in services:
282282
* Source: {blob}src/functional_test_runner/lib/lifecycle.ts[src/functional_test_runner/lib/lifecycle.ts]
283283
* Designed primary for use in services
284284
* Exposes lifecycle events for basic coordination. Handlers can return a promise and resolve/fail asynchronously
285-
* Phases include: `beforeLoadTests`, `beforeTests`, `beforeEachTest`, `cleanup`, `phaseStart`, `phaseEnd`
285+
* Phases include: `beforeLoadTests`, `beforeTests`, `beforeEachTest`, `cleanup`
286286

287287
[float]
288288
===== Kibana Services

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ core: {
1717
i18n: I18nStart;
1818
notifications: NotificationsStart;
1919
overlays: OverlayStart;
20+
savedObjects: SavedObjectsStart;
2021
uiSettings: IUiSettingsClient;
2122
injectedMetadata: {
2223
getInjectedVar: (name: string, defaultValue?: any) => unknown;

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: IUiSettingsClient;</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. |
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> savedObjects: SavedObjectsStart;</code><br/><code> uiSettings: IUiSettingsClient;</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

docs/setup/settings.asciidoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ connects to this Kibana instance.
6565
`elasticsearch.requestHeadersWhitelist:`:: *Default: `[ 'authorization' ]`* List
6666
of Kibana client-side headers to send to Elasticsearch. To send *no* client-side
6767
headers, set this value to [] (an empty list).
68+
Removing the `authorization` header from being whitelisted means that you cannot
69+
use <<basic-authentication, basic authentication>> in Kibana.
6870

6971
`elasticsearch.requestTimeout:`:: *Default: 30000* Time in milliseconds to wait
7072
for responses from the back end or Elasticsearch. This value must be a positive
@@ -147,6 +149,36 @@ will default to `true`.
147149
`logging.quiet:`:: *Default: false* Set the value of this setting to `true` to
148150
suppress all logging output other than error messages.
149151

152+
`logging.rotate:`:: [experimental] Specifies the options for the logging rotate feature.
153+
When not defined, all the sub options defaults would be applied.
154+
The following example shows a valid logging rotate configuration:
155+
+
156+
--
157+
logging.rotate:
158+
enabled: true
159+
everyBytes: 10485760
160+
keepFiles: 10
161+
--
162+
163+
`logging.rotate.enabled:`:: [experimental] *Default: false* Set the value of this setting to `true` to
164+
enable log rotation. If you do not have a `logging.dest` set that is different from `stdout`
165+
that feature would not take any effect.
166+
167+
`logging.rotate.everyBytes:`:: [experimental] *Default: 10485760* The maximum size of a log file (that is `not an exact` limit). After the
168+
limit is reached, a new log file is generated. The default size limit is 10485760 (10 MB) and
169+
this option should be at least greater than 1024.
170+
171+
`logging.rotate.keepFiles:`:: [experimental] *Default: 7* The number of most recent rotated log files to keep
172+
on disk. Older files are deleted during log rotation. The default value is 7. The `logging.rotate.keepFiles`
173+
option has to be in the range of 2 to 1024 files.
174+
175+
`logging.rotate.pollingInterval:`:: [experimental] *Default: 10000* The number of milliseconds for the polling strategy in case
176+
the `logging.rotate.usePolling` is enabled. That option has to be in the range of 5000 to 3600000 milliseconds.
177+
178+
`logging.rotate.usePolling:`:: [experimental] *Default: false* By default we try to understand the best way to monitoring
179+
the log file. However, there is some systems where it could not be always accurate. In those cases, if needed,
180+
the `polling` method could be used enabling that option.
181+
150182
`logging.silent:`:: *Default: false* Set the value of this setting to `true` to
151183
suppress all logging output.
152184

examples/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Example plugins
2+
3+
This folder contains example plugins. To run the plugins in this folder, use the `--run-examples` flag, via
4+
5+
```
6+
yarn start --run-examples
7+
```
8+

0 commit comments

Comments
 (0)