Alejandro Fernández Haro
43bc5922ff
[7.x] useSavedDashboard: call toast methods in their context ( #86803 ) ( #86828 )
2020-12-23 09:00:12 +00:00
Joe Reuter
e0623903b9
[Lens] Configurable color syncing ( #86180 ) ( #86798 )
2020-12-23 09:22:09 +01:00
Christiane (Tina) Heiligers
ce0c66aa0c
[7.x] Sample data usage collector es client migration ( #86657 ) ( #86856 )
...
* Uses new esClient to fetch sample data telemetry
* Import SearchResponse from core
2020-12-22 19:06:58 -07:00
Devin W. Hurley
fe37337739
[7.x] [Security Solution] [Detections] Add "read index" privilege check on rule execution ( #83134 ) ( #86849 )
...
* adds privilege check in rule execution function, need to abstract these lines into a util function to be used in create rules and use that check on the UI too
* fixes tests
* cleanup code, adds a unit test
* set rule to failure status if the rule does not have read privileges to ANY of the index patterns provided
2020-12-22 20:35:45 -05:00
Melissa Alvarez
154afa1b6c
fix group edit popup format ( #86836 ) ( #86854 )
2020-12-22 20:33:34 -05:00
Tyler Smalley
2649005266
Skip test preventing ES snapshot promotion
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-22 16:31:52 -08:00
Dominique Clarke
e1bd0eae01
fix uptime monitors donut chart labels ( #86319 ) ( #86839 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 18:29:00 -05:00
Pete Hampton
68603d58e9
Add run and alert count to task state. ( #86776 ) ( #86832 )
2020-12-22 22:59:14 +00:00
Jason Stoltzfus
218894685f
Fixed Result engine display ( #86559 ) ( #86762 )
2020-12-22 17:51:01 -05:00
Thomas Watson
d43c7d757b
Re-add support for configuring server.host: "0" ( #86806 ) ( #86830 )
...
Support for this was lost in #85406 .
Fixes #86716
2020-12-22 23:02:02 +01:00
gchaps
26160e2114
[DOCS] Fixes typo in saved search doc ( #86808 ) ( #86842 )
2020-12-22 13:35:01 -08:00
Patryk Kopyciński
0a48997fca
[Security Solution] Fix artifacts in Events table ( #86767 ) ( #86795 )
2020-12-22 22:30:43 +01:00
Greg Thompson
fffbe4dd92
Upgrade EUI to v31.0.0 ( #86689 ) ( #86824 )
...
* eui to 31.0.0
* snapshot updates
* remove obsolete snapshot
2020-12-22 15:27:53 -06:00
Quynh Nguyen
679468c06c
[7.x] [ML] Stabilize data visualizer functional tests ( #86790 ) ( #86825 )
2020-12-22 15:27:30 -06:00
Christiane (Tina) Heiligers
f93622e089
[7.x] Reporting usage collector fetch migration ( #86675 ) ( #86818 )
2020-12-22 13:53:47 -07:00
Quynh Nguyen
0737534b91
[7.x] [ML] Fix zoom missing in Anomaly detection URLs ( #86182 ) ( #86813 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 14:38:13 -06:00
Quynh Nguyen
4a1c3c6843
[7.x] [ML] Fix error callout for Anomaly detection jobs using runtime_mappings ( #86407 ) ( #86816 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 14:37:51 -06:00
Alexey Antonov
709e64c4c3
Remove legacy src/plugins/charts -> src/plugins/discover cyclic dependencies ( #86758 ) ( #86799 )
...
Part of #84750
2020-12-22 23:24:19 +03:00
Melissa Alvarez
62cfe79cf5
[ML] Ensure job group badge fonts are same color ( #86674 ) ( #86810 )
...
* use badge component to keep group badge consistent. sort groups
* use all colors now that badge component is used
* set left margin on group badge wrapped in link to match badge margin
* add badge colors to edit flyout job groups
2020-12-22 15:03:23 -05:00
Devon Thomson
a13d214370
Fix Add From Library Flyout Staying Open ( #86698 ) ( #86800 )
...
* Fixed add from library flyout staying open after save or cancel
2020-12-22 14:08:49 -05:00
Lisa Cawley
531493d927
[ML] Use doc links service for more ML pages ( #86405 ) ( #86791 )
2020-12-22 10:39:05 -08:00
Thomas Neirynck
96d63cc22e
[Maps] Use Json for mvt-tests ( #86492 ) ( #86588 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 13:13:07 -05:00
Wylie Conlon
c01df953fc
[Lens] Introduce 4 new calculation functions: counter rate, cumulative sum, differences, and moving average ( #84384 ) ( #86786 )
...
* [Lens] UI for reference-based functions
* Fix tests
* Add a few unit tests for reference editor
* Respond to review comments
* Update error handling
* Update suggestion logic to work with errors and refs
* Support ParamEditor in references to fix Last Value: refactoring as
needed
* Fix error states
* Update logic for showing references in dimension editor, add tests
* Fix tests
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 13:05:55 -05:00
Jonathan Budzenski
96fa0dbdf9
[build] Migrate grunt ensureAllTestsInCIGroup to script ( #85873 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 09:46:00 -06:00
Peter Schretlen
5df8292891
use alerting concepts diagram with sequence, and update docs to explain the sequence ( #86699 ) ( #86780 )
2020-12-22 10:08:16 -05:00
Alexey Antonov
a74c4cc8c4
[Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies ( #85422 ) ( #86753 )
...
* [Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies
# Conflicts:
# src/plugins/visualize/kibana.json
* fix CI
* fix CI
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 17:28:58 +03:00
Pete Harverson
c5e987bc8a
[ML] Fix alignment of values in data frame analytics results view badges ( #86621 ) ( #86747 )
2020-12-22 14:08:18 +00:00
Dima Arnautov
619cc65197
[ML] Support legacy watcher URL ( #86661 ) ( #86733 )
...
* [ML] update watcher URL, support legacy state
* [ML] fix comment
2020-12-22 13:11:27 +01:00
Stratoula Kalafateli
c1fe466c6e
[Visualizations] Remove charts - editor plugins cyclic dependencies ( #84887 ) ( #86730 )
...
* Remove charts - editor cyclic dependencies
* Move translations from the charts plugin to the editor plugin
* Remove the dependency from the script as it is gone
* Fix types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 13:32:55 +02:00
Cauê Marcondes
634ce14ef5
[APM] No data on the service transactions page renders blank screen ( #86640 ) ( #86724 )
2020-12-22 12:12:55 +01:00
Matthias Wilhelm
32e6dc5fc5
[Discover] Change default sort handling ( #85561 ) ( #86557 )
2020-12-22 12:05:53 +01:00
Stratoula Kalafateli
024feb728e
Update dependency vega to ^5.17.1 ( #86715 ) ( #86722 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-22 12:07:31 +02:00
Gidi Meir Morris
c570612acb
[Alerting] Encourage type safe usage of Alerting ( #86623 ) ( #86686 )
...
This PR encourages type safe usage of the Alerting framework by replacing the current default Params/State/InstanceState/InstanceContext types (which are `AlertTypeParams`/`AlertTypeState`/etc.) with `never`.
This means that code can continue to omit the specific types for these fields, as long as they aren't referenced.
Once an alert developer wishes to actually reference the parameters (or state/context), then they have to specify the type.
This PR also changed the typing of the `AlertTypeParams` and `AlertTypeState` from `Record<string, any>` to `Record<string, unknown>`, to ensure that where these catch-all types are used they will at least enforce `unknown` rather than `any`.
This change broke some usage in both @elastic/kibana-alerting-services plugins, but also other plugins in the Stack/Solutions. I tried to fix these where I could, but some of these require new types and refactoring in other teams' code, which I decided is best done by the team who own and maintain that code - I've added explicit `TODO` comments in all of these places, describing the required fix.
This PR also introduced a Generics based typing for the `Alert` type so that the `params` field can be typed as something other than `AlertTypeParams`.
2020-12-22 10:06:09 +00:00
Marco Liberati
c791d2b3ab
[7.x] [Lens] Fix esaggs missing default time field scenario in Lens ( #85754 ) ( #86672 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 10:27:11 +01:00
Søren Louv-Jansen
2d361f018e
[APM] Fix broken link to ML when time range is not set ( #85976 ) ( #86227 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 09:25:30 +01:00
Chris Roberson
6087f1ebaf
[Monitoring] Convert Kibana-related server files that read from _source to typescript ( #86364 ) ( #86720 )
...
* Identifying kibana source fields
* Fix types
* Fix types, take 2
* Should really fix it now
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/plugins/monitoring/public/components/kibana/instances/instances.js
2020-12-22 00:43:39 -05:00
Tyler Smalley
0cffe7a2e0
[CI] Removes script previously used for Karma ( #86412 ) ( #86714 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 17:22:37 -08:00
Tyler Smalley
6b04402e91
[7.x] Uses @elastic/elasticsearch-canary ( #86399 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:07:13 -08:00
Lisa Cawley
d8b0697e7f
[ML] Add doc link for classification AUC ROC evaluation ( #86660 ) ( #86694 )
2020-12-21 14:33:00 -08:00
Lisa Cawley
639616b54a
[ML] Edits saved object synchronization message ( #86664 ) ( #86693 )
2020-12-21 14:32:32 -08:00
Christiane (Tina) Heiligers
9d146acd30
[7.x] Migrates kql_telemetry usage collector es client ( #86585 ) ( #86685 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:28:50 -07:00
Christiane (Tina) Heiligers
bbf89f0388
[7.x] Migrates search telemetry usage collector es client from legacy to new ( #86597 ) ( #86687 )
2020-12-21 15:28:30 -07:00
Christiane (Tina) Heiligers
c47a610385
[7.x] Uses the new es client in canvas usage collector's fetch methods ( #86668 ) ( #86692 )
2020-12-21 15:27:07 -07:00
Quynh Nguyen
4c3868ea72
[7.x] [ML] Fix Single Metric Viewer y domain extending beyond the visible focus area ( #86655 ) ( #86690 )
2020-12-21 15:59:51 -06:00
Dima Arnautov
5575fa5923
[ML] Fix time range adjustment for the swim lane causing the infinite loop update ( #86461 ) ( #86678 )
...
* [ML] fix swim lane time selection adjustment
* [ML] fix adjustment
* [ML] fix tooManyBuckets condition
* [ML] fix typo
2020-12-21 22:56:50 +01:00
Jonathan Budzenski
8b54edad58
[build] Remove grunt checkPlugins task ( #85852 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:21:53 -06:00
Jonathan Budzenski
d9bcdd027b
[build] Remove grunt docker:docs task ( #85848 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:20:05 -06:00
Poff Poffenberger
3bb24d7289
[Docs] Update Canvas reporting docs for new full page layout feature ( #86124 ) ( #86389 )
...
* Update Canvas and reporting doc for new full page layout
* Typo
2020-12-21 15:17:20 -06:00
James Gowdy
7f72933444
[ML] Fix cloning of partition field in per-partition categorization jobs ( #86635 ) ( #86662 )
...
* [ML] Fix cloning of partition field in per-partition categorization jobs
* fixing cloned bucket span
2020-12-21 21:05:31 +00:00
James Gowdy
13f316e6be
[ML] Fix displaying of setup errors in recognizer wizard ( #86430 ) ( #86658 )
...
* [ML] Fix displaying of setup errors in recognizer wizard
* add saved object error
* sharing error message extractor
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 21:05:07 +00:00