Commit graph

19489 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers
44c9611bd9
[8.0] Remove support for configuring csp.rules (#114379)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 20:49:21 -04:00
Xavier Mouligneau
a0b55b316e
[Core][Deprecations] omit deprecationDetails if needed it in the reques (#114399)
* omit deprecationDetails if needed it

* review I

* doc update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 18:29:50 -04:00
Rudolf Meijering
f88901c6ac
Log Unhandled rejection stack (#113614)
* Refactor state types

* Log the stack trace of unhandled promise rejections

* Revert "Refactor state types"

This reverts commit 6a5123a1b2.

* Fix types

* code review feedback
2021-10-11 17:50:35 -04:00
Anton Dosov
f944389352
[bfetch] Pass compress flag in query instead of headers (#113929) 2021-10-11 17:30:18 +02:00
Anton Dosov
427c7ef8ba
[bfetch] Fix memory leak (#113756) 2021-10-11 13:49:54 +02:00
Pierre Gayvallet
cba91fdaab
Status service: improve overall status summary (#114228)
* improve getSummaryStatus

* fix unit tests
2021-10-11 11:48:10 +02:00
Uladzislau Lasitsa
41c813bac4
[Visualization] Get rid of saved object loader and use savedObjectClient resolve (#113121)
* First step: create saved_visualize_utils, starting use new get/save methods

* Use new util methods in embeddable

* move findListItem in utils

* some clean up

* clean up

* Some fixes

* Fix saved object tags

* Some types fixes

* Fix unit tests

* Clean up code

* Add unit tests for new utils

* Fix lint

* Fix tagging

* Add unit tests

* Some fixes

* Clean up code

* Fix lint

* Fix types

* put new methods in start contract

* Fix imports

* Fix lint

* Fix comments

* Fix lint

* Fix CI

* use local url instead of full path

* Fix unit test

* Some clean up

* Fix nits

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 11:56:36 +03:00
Sébastien Loix
961fe752c5
[Watcher] Use fixed_interval instead of interval (#113527) 2021-10-09 14:53:55 +01:00
Thomas Neirynck
cbc4f5235c
[Fleet] Add installed integration callouts (#113893)
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-09 02:48:23 -04:00
Yaroslav Kuznietsov
2498b6212c
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 08:42:44 +03:00
Garrett Spong
15c7bd0192
[Security Solution][Detections] Updates Indexing/Query Time columns in Rule Monitoring table to be SUM instead of MAX (#114023)
## Summary

Updates the `Indexing Time` & `Query Time` columns in the `Rule Monitoring` table to be `SUM` instead of `MAX`, thus showing the total duration of indexing/querying phases within a Rule's execution rather than just the phase that took the longest. Also adds tooltips to columns for better understanding these metrics.

~Note: Wanted to add a link to documentation for `Last Gap` column, but cannot add links within `EuiToolTip` and didn't want to mis-align design of other column tooltips by introducing a popover. @elastic/security-design please advise on desired action or copy changes here -- thanks!~ 🙂 

Update: As guided by design, changed `Last Gap` tooltip to be `EuiPopover` and added link to docs.

##### Indexing Time:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475361-cedd7c6a-6a0e-4a86-8467-c929aed0f16e.png" />
</p>


##### Query Time:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475378-1228dfcf-a921-4c0e-8f1e-7594e9c220d4.png" />
</p>

##### Last Gap:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475412-b54f2419-ced8-43d8-8643-09c8e2cacc44.png" />
</p>



### Checklist

Delete any items that are not applicable to this PR.

- [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
2021-10-07 22:35:11 -04:00
Joe Portner
080b2199f4
Legacy url conflict UI improvements (#114172) 2021-10-07 20:09:19 -04:00
Jonathan Budzenski
0861a5d6a0
[build] Fix os package kibana.yml (#114372) 2021-10-07 20:03:37 -04:00
Spencer
9bb8f2246c
[ts] support building refs for one project (#114345)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-07 16:37:42 -05:00
Diana Derevyankina
87e6fb46eb
Revert "[Visualize] Wizard rename Index pattern to Data view (#110251)" (#114276)
This reverts commit a8084b7f19.
2021-10-07 16:14:53 -04:00
Diana Derevyankina
2e6ce134f4
Revert "[TSVB] Rename Index pattern to Data view (#110253)" (#114278)
This reverts commit 51df1e58a3.
2021-10-07 16:14:20 -04:00
garanews
58f6d9002a
Fix typos in docs & dev_docs (#113746) 2021-10-07 14:30:32 -04:00
Joe Portner
64f37e7414
Remove securityOss plugin (#113946) 2021-10-07 17:57:37 +02:00
Stratoula Kalafateli
541090deb7
[Charts] Unskips the jest active cursor test suite (#114246) 2021-10-07 15:53:38 +03:00
Maja Grubic
d65715b6d7
[Field Formatters] Get rid of span ng-non-bindable (#113926)
* [Field Formatters] Get rid of span ng-non-bindable

* Remove span explicitly

* Remove span entirely

* Update src/plugins/field_formats/common/content_types/html_content_type.ts

Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-10-07 14:10:18 +02:00
Alexey Antonov
3291e85119
[KIbana Utils] createGetterSetter should work with optional plugins (#114128) 2021-10-07 13:47:28 +03:00
Diana Derevyankina
836abdfc16
Respect external URL allow list in vega (#113720)
* Respect external URL allow list in vega

* Add getExternalUrlsAreNotEnabledError

* Revert moving some code in vega_base_view

* Add externalUrl to vega_base_view.d.ts

* Add throwing errors to prevent from following the link

* Fix condition
2021-10-07 13:11:22 +03:00
Dmitry Tomashevich
dca5e1ca76
[Discover] persist columns selection after resetting state, taking into account _source column (#114178) 2021-10-07 12:23:55 +03:00
Anton Dosov
1b8ec4efa8
[Search] Reuse uiSettings within bsearch request (#114088) 2021-10-07 09:51:45 +02:00
Clint Andrew Hall
78021330c7
[fleet][unified integrations] Fix flaky test (#114202) 2021-10-07 09:51:18 +02:00
Uladzislau Lasitsa
280d1d84b4
Add savedSearchId when we update state with searchSource (#113938)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 10:30:03 +03:00
Matthew Kime
202980e887
[data views] clarify field subtype typescript types (#112499)
* separate out multi and nested subTypes

* separate out multi and nested subTypes

* add undefined checks

* remove expect error statements

* use helper functions in es-query

* simplify changes with helper functions

* checking existence instead of getting value x2

* simplify types and revert discover changes

* update discover sidebar with helper methods

* try helpers with group_fields file

* try different helper with group_fields file

* revert group field changes, try nested field helpers

* revert nested field changes, try field_name.tsx helpers

* fix maps jest test

* use helpers in discover instead of setting types

* fix field_name.tsx

* Update index_pattern_util.test.ts

* lint  fix

* fix common exports

* reduce data_views plugin bundle size

* reduce data_views plugin bundle size

* remove discover reliance on es-query package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 23:13:21 -05:00
Brandon Kobel
a4ee087fd7
Reverting to legacy ES client behavior where maxSockets = Infinity (#113644)
* Reverting to legacy ES client behavior where maxSockets = Infinity

* Removing unnused type

* Specifying keepAlive: true by default

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 16:18:58 -07:00
Thom Heymann
94b2e30bd7
Interactive Setup UI enhancements (#113011) 2021-10-06 23:56:42 +01:00
Luke Elmers
f030960c98
[logging] Upgrade ECS to 8.0 (#113662) 2021-10-06 14:37:43 -04:00
Dima Arnautov
6da1323ff5
[Transform] Transforms health alerting rule type (#112277) 2021-10-06 18:27:24 +02:00
Peter Pisljar
1a577dfbfa
filter types (#111269) 2021-10-06 17:46:54 +02:00
Yuliia Naumenko
b9db370c1a
[Actions][Docs] Modify connector documentation with the new MS Exchange online configuration requirements (#112768)
* [Actions][Docs] Modify connector documentation with the new MS Exchange online configuration requirements

* Added images

* Added client secrets

* fixed test

* fixed links

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* fixed due to comments

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update email.asciidoc

* fixed due to comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-10-06 06:42:28 -07:00
James Rodewig
634cd80c7e
[TSVB] Update copy for TSVB setting popover (#113990)
The TSVB data view popover includes additional copy if the **Allow string indices in TSVB** Kibana setting is disabled (the default). This updates the copy to better align with changes in https://github.com/elastic/kibana/pull/110253.
2021-10-06 08:54:54 -04:00
Stratoula Kalafateli
fa59b52e9a
Fixes problem with one chart plotted for multiple y axis when migrating from an old SO (#112972)
* Fixes problem with one chart plotted for multiple y axis when migrationg from an old SO

* Add unit tests

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 15:37:04 +03:00
Pierre Gayvallet
0e406d167e
add coreOverall$ to internal status contract (#113729)
* add coreOverall$ to internal status contract

* add unit tests

* re-patch flaky tests

* add and improve tests
2021-10-06 13:49:46 +02:00
Kevin Logan
dc07c06fa7
[Security Solution] New Add Data Page (#112142)
* [Security Solution] New Add Data Page

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-10-06 07:37:58 -04:00
Pierre Gayvallet
58bab9105c
Expose current branch and version to config deprecation providers (#113600)
* Expose deprecation context to config deprecations

* fix import

* add correct doc annotations

* fix another test file

* update generated doc

* fix yet another test file

* fix more types

* add proper mock

* fix import
2021-10-06 10:58:34 +02:00
Dmitry Tomashevich
2c8686770e
[Discover] Redirect to main page when route not found (#113678)
* [Discover] redirect to main page on route not found discover error

* [Discover] remove services from dependencies

* [Discover] apply suggestions

* [Discover] return invalid link, but make it not clickable

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 10:59:28 +03:00
Stratoula Kalafateli
12dcc9e7b3
[TSVB] Removes unused css (#113751)
* [TSVB] Removes unused css

* Use size l for the tabs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 09:15:21 +03:00
Lisa Cawley
0d176e4d3d
Add client URLs to documentation link service (#114010) 2021-10-05 16:48:18 -07:00
Christiane (Tina) Heiligers
67be0a8e68
Removes unused and renamed deprecated core settings and deprecated settings from core plugins (#113653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:49 -07:00
Chris Roberson
3f4240bdf1
[Alerting] Prevent our plugins from being disabled (#113461)
* No more disable

* Fix types

* Add event log and docker

* Fix test

* Remove unnecessary method

* Fix types, again

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:30:28 -05:00
Clint Andrew Hall
4f85f5e841
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 15:29:05 -04:00
Tim Sullivan
e55593f2ed
[Reporting] Breaking: Remove setting for Reporting index (#113803) 2021-10-05 11:21:47 -07:00
CJ Cenizal
35200bea1f
Add test to useRequest hook to verify ability to cancel poll. (#113947) 2021-10-05 10:43:44 -07:00
Thomas Neirynck
f46393d616
[Fleet] Add language clients (#113666) 2021-10-05 13:27:34 -04:00
Devon Thomson
ac39f94b75
[Controls] Control Group Embeddable and Management Experience (#111065)
* built control group embeddable featuring inline control creation and editing, and DndKit based drag and drop.

Co-authored-by: andreadelrio <delrio.andre@gmail.com>
2021-10-05 12:34:13 -04:00
Yuliia Naumenko
b204b911e7
[Alerting] Allow rule types to specify custom timeout values (#113487)
* [Alerting] Allow rule types to specify custom timeout values

* fixed tests and docs

* -

* fixed due to comments

* Update x-pack/plugins/alerting/README.md

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed tests and docs

* Update plugin.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-05 08:55:13 -07:00
Stratoula Kalafateli
65df961b5c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test
2021-10-05 16:31:39 +03:00