Commit graph

13424 commits

Author SHA1 Message Date
Tiago Costa 354a79a280
chore(NA): move watcher plugin tests out of __tests__ folder (#87599)
* chore(NA): move watcher plugin tests out of __tests__ folder

* chore(NA): renaming client_integration into tests_client_integration

* chore(NA): rename test helper config file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 21:44:26 +00:00
Sébastien Loix 6d6a805734
[Index templates] Keep configuration of data stream when editing (#87666) 2021-01-07 21:42:12 +00:00
Yara Tercero d03b20a38c
[Security Solution][Detections] - Exceptions table endpoint list bug fix (disable delete of endpoint list) (#87694)
## Summary

Addresses issue 87112 .

With the addition of the exceptions table, users were able to now delete exception lists from the UI. However, the "endpoint_list" is particular in some ways and should not be so easily deleted from the UI. Moved to disable the delete button for "endpoint_list exception list.
2021-01-07 15:48:35 -05:00
Corey Robertson fdfe6559b0
[Canvas] Register addons async (#86977)
* Make canvas registries accept async functions

* Remove some comments

* Remove comment

* Update x-pack/plugins/canvas/public/registries.ts

Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>

* Update x-pack/plugins/canvas/public/registries.ts

Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>

* Add ts error types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2021-01-07 15:45:46 -05:00
Yuliia Naumenko 1c30525d46
[Alerting UI] Make connector reducer as generic type. (#86857)
* -

* fixed failing tests

* fixed typescript checks

* fixed typescript checks

* fixed failing build

* fixed typescript checks

* removed typo cast

* fixed failing test

* fixed faling build
2021-01-07 11:50:48 -08:00
Wylie Conlon 52e3371c39
[Lens] Transitions for reference-based operations (#83348)
* [Lens] Transition between functions involving references

* Organize transition cases and cover all the basic transitions

* Add functional test

* Change logic for displaying valid transitions

* Show valid transitions more accurately

* Fix transition to only consider valid outputs

* Update test names and style

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 14:37:27 -05:00
Matthew Kime 021bb4e3e9
Create runtime field plugin, runtime field editor plugin (#87387)
* create runtime field plugin, runtime field editor plugin
2021-01-07 13:10:30 -06:00
Alison Goryachev a22f2853ba
[ILM] Fix hot phase serialization (#87213) 2021-01-07 14:08:46 -05:00
Michael Olorunnisola 94b6087d74
[Security Solution][Resolver] Updated baselines to account for re-centering (#87547) 2021-01-07 13:50:42 -05:00
Candace Park cf641f7303
[Security Solution][Endpoint][Admin] malware custom notify user message tests (#87603) 2021-01-07 13:44:51 -05:00
Corey Robertson 19687765b1
[Canvas] Remove recompose and convert to Typescript expression component (#86969)
* Remove recompose from expression component

* Fix type check

* Fix expression not updating

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 13:27:31 -05:00
Mikhail Shustov 1b6f737546
task_manager to ts project (#87646) 2021-01-07 19:27:18 +01:00
Tiago Costa d6816384a7
chore(NA): move apm plugin tests out of __tests__ folder (#87601)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 18:26:16 +00:00
Nathan Reese 0ac6e6223e
[Maps] labels for polygons and lines (#86191)
* [Maps] labels for polygons and lines

* remove x-pack yarn.lock

* add labels to choropleth map wizard

* clean up comment

* add mvt tile support

* only add centroids if there may be lines or polygons

* tslint

* tslint

* do not add centroid to too many features polygon

* update get_tile expect statements

* move turf dependencies from devDependencies to dependencies

* update jest snapshot and functional test expects

* fix functional test expect

* another functional test expect update

* functional test updates

* expect

* pew pew source expect updates

* update joins expect

* update mapbox style expects

* update join visibility expects for geocentroids

* update join visibility expects for geocentroids

* another functional test expect update

* review feedback

* update yarn.lock

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 11:10:20 -07:00
Nathan Reese 8cb622617c
[Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard (#87310)
* [Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard

* fix underlying problem in blended layer

* clean-up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 10:47:52 -07:00
Tiago Costa 9d4ef37f4e
chore(NA): move monitoring out of __tests__ folder (#87556)
* chore(NA): move server and common from monitoring out of the __tests__ folder

* chore(NA): move monitoring public out of __tests__ folder

* chore(NA): add missing skip on test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 17:47:17 +00:00
Lisa Cawley 9a17446495
Fix broken link to Lens documentation (#87392) 2021-01-07 09:13:19 -08:00
Devon Thomson cdee8599d1
[Time to Visualize] Align Lens & Visualize Top nav Buttons & Behaviour (#86922)
* Aligned Lens & Visualize Top nav behaviour and look
2021-01-07 12:02:11 -05:00
Paul Tavares 14df31b6a0
[SECURITY_SOLUTION][ENDPOINT] Trusted Apps List page Empty State when no trusted apps exist (#87252)
* Show loading spinner while trying to determine if entries exist
* Handle display of the 3 conditions: loading, entries exist, no entries
2021-01-07 11:22:23 -05:00
Shahzad b203eaf370
[uptime] Fix tab focus issue for settings page (#87466)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 16:58:39 +01:00
Liza Katz 91aed6f961
[Search][Sessions] Rename Background Sessions to Search Sessions (#87500)
* Rename Background Sessions to Search Sessions (with a send to background action)

* doc

* doc

* jest fun

* rename rfc

* translations

* update so name in features

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 17:28:27 +02:00
Steph Milovic 130a8e766e
[Security Solution] [Case] Fix Jira connector test form (#87580) 2021-01-07 08:23:19 -07:00
Yuliia Naumenko 794c6b3b08
[Alerting] Replaced single invalidateApiKey request with the bulk. (#87401)
* Replaced single invalidateApiKey request with the bulk

* fixed failing test

* Extended invalidate method to support multiple invalidation. Updated fleets plugin usage of this API.

* fixed due to comments
2021-01-07 07:17:24 -08:00
Alison Goryachev f4042dd566
[ILM] Minor UX improvements (#87515) 2021-01-07 09:47:58 -05:00
Felix Stürmer f170ce29cc
[Logs UI] Fix the ability to switch to the ratio alert type (#87563)
This fixes a bug introduced with #86488, which prevents the user from changing the log threshold alert type to `ratio`.
2021-01-07 14:58:50 +01:00
Joe Reuter 3c7bd2fdd0
[Lens]Test color syncing (#86906) 2021-01-07 14:28:58 +01:00
Kerry Gallagher 81f71086c6
[Logs UI] Fix alerts recovery (#87369)
* Ensure that if alert instances are instantiated they are used in a way recognised by the framework
2021-01-07 13:22:50 +00:00
Mikhail Shustov b75cd4bb29
[DX] Home & SO tagging OSS to TS projects (#87610)
* so tagging oss to ts project

* home to ts project
2021-01-07 13:58:09 +01:00
Cauê Marcondes 2d564ddf19
[APM] Refactoring service and transaction links (#86986)
* refactoring service and transaction links

* refactoring links

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 13:00:39 +01:00
Pierre Gayvallet f59711945d
Expose SO import/export APIs from the service's contract instead of exporting static functions (#86264)
* Add user doc for SO tagging

* add link to new page

* handle review feedbacks

* second pass

* create SO exporter class

* adapt spaces code

* typo fix

* adapt tests

* some doc

* update generated doc

* fix spaces tests

* move ALL the import things

* adapt / move types

* create context, adapt core code

* adapt integration tests

* rename for consistency

* adapt spaces usages

* adapt spaces routes usages

* remove unused getImportExportObjectLimit

* fix tsdoc

* update generated doc

* doc nits

* review comments

* add test for fetchByObjects failure

* add custom errors for exporter

* remove `getImportExportObjectLimit` API

* fix IT

* update generated doc

* adapt UT

* forgot one Boom usage

* rename import error to failure

* remove Boom usages from importer

* update generated doc

* fix spaces types
2021-01-07 11:23:28 +01:00
Jean-Louis Leysens ba20a74be3
added missing brace theme import (#87498) 2021-01-07 09:42:02 +01:00
Mikhail Shustov 69e2c38bd3
Migrate App services plugins to TS projects (#87294)
* migrate expressions to ts project refs

* bfetch to ts project

* ui_actions to ts project

* move fitures to data plugins

* add data ts project

* remove outdated ts-expect-error

* add data to x-pack tsconfigs

* navigation to ts project

* cleanup licensing tsconfig

* saved_objects to ts project

* embeddable to ts project

* ui_actions_enhanced to ts project

* embeddable_enhanced to ts project

* features to ts project

* data_enhanced to ts project refs

* fix i18n check

* fix find_plugins_ready_to_migrate_to_ts_refs script

* add a comment for bug ignoring json for composite projects

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 09:30:30 +01:00
Dima Arnautov 1d49166203
[Transform] Fix transform preview for the latest function (#87168)
* [Transform] retrieve mappings from the source index

* [Transform] fix preview for nested props

* [Transform] exclude meta fields

* [Transform] use agg config to only suggest term agg supported fields

* [Transform] refactor

* [Transform] remove incorrect data mock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 00:28:05 +01:00
Steph Milovic e5cb55d377
[Security Solution] [Cases] Fix flaky jest test (moment.js) (#87518) 2021-01-06 15:31:27 -07:00
Tim Sullivan 5d135359d7
[Reporting] set viewport to include clip area (#87253)
* [Reporting] set viewport to include clip area

* remove getViewport

* fix tests

* simpler

* fix 1

* revert

* hacks

* scope the logging variables

* polish

* hacky fix

* quieter logging

* make less hacky

* fix functional test

* revert lowering log level of browser console messages

* revise comments

* setViewport only to happen once

* fix snapshot of layout type tests

* fix comment text

* Revert "setViewport only to happen once"

This reverts commit 15977f9db4.

* fix disgusting bug

* use x/y ordering for width/height

* fix fn test snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 15:30:35 -07:00
Tiago Costa 693775ce03
chore(NA): move canvas plugin tests out of __tests__ folder (#87519)
* chore(NA): move canvas plugin tests out of __tests__ folder

* chore(NA): fix types import on fixtures

* chore(NA): rename helpers to test_helpers

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 22:11:22 +00:00
Nicolas Chaulet 3b602f8668
[Fleet] Make the encryptedSavedObject plugin optionnal (#87470) 2021-01-06 17:54:56 -04:00
Zacqary Adam Xeper 6df7498a41
[Metrics UI] Disable recovery action scheduling (#87061)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 15:45:45 -06:00
ymao1 ff2d0f4659
[Alerting] Edit alert should show and update all actions with deleted connectors (#86838)
* Showing all broken connectors and updating all matching broken connectors on new connector create

* Adding unit test

* Adding functional test

* Fixing functional test

* Simplifying logic

* Fixing functional test

* Fixing functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 15:11:28 -05:00
Christiane (Tina) Heiligers 70c70875c6
Telemetry plugins esclient migration (#87356) 2021-01-06 12:57:18 -07:00
Tiago Costa f09f19ac28
chore(NA): move beats_management plugin tests out of __tests__ folder (#87530) 2021-01-06 19:56:38 +00:00
Kevin Qualters ebc119d43e
[Security Solution] Fixes elastic/kibana#84757 Use basePath in getAppOverviewUrl (#87245)
* Use basePath in getAppOverviewUrl


Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 14:20:10 -05:00
Tiago Costa 9a0c331ab5
chore(NA): move uptime plugin tests out of __tests__ folder (#87416)
* chore(NA): move uptime plugin tests out of __tests__ folder

* chore(NA): re-add file into __mocks__ folder
2021-01-06 19:11:03 +00:00
Robert Oskamp 50bda81a05
[ML] API integration tests - stabilize saved objects endpoint tests (#87288)
This PR stabilizes some saved objects endpoint tests by making sure a different order of objects in a response array is still accepted.
2021-01-06 19:48:38 +01:00
Thom Heymann 2b5071ff36
Report audit logging feature usage (#87457)
* Report audit logging feature usage

* Fix mock

* Added unref
2021-01-06 18:47:41 +00:00
spalger c57efbb56d skip flaky suite (#87541) 2021-01-06 11:43:59 -07:00
Georgii Gorbachev e50ad384f7
[Security Solution][Detections] Follow up cleanup after two bugfixes (#87516)
## Summary

This is a follow-up PR addressing some of the comments in:

- https://github.com/elastic/kibana/pull/86908
- https://github.com/elastic/kibana/pull/87004
2021-01-06 19:37:36 +01:00
Constance 8c74bb3345
Also reset engineName and engineNotFound on clearEngine (#87259) 2021-01-06 10:04:58 -08:00
Nathan Reese bd91c16036
[Maps] show map saved objects in visualize listing page (#87165)
* [Maps] show map saved objects in visualize listing page

* tslint

* tslint

* tslint fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 11:01:56 -07:00
Gidi Meir Morris e0db4a3f0b
[Task Manager] adds more granular polling results to monitoring stats (#87494)
Added the following values to the Polling stats:

- **NoAvailableWorkers**: This tells us when a polling cycle resulted in no tasks being claimed due to there being no available workers 
- **RunningAtCapacity**: This tells us when a polling cycle resulted in tasks being claimed at 100% capacity of the available workers
- **Failed**: This tells us when the poller failed to claim
2021-01-06 18:00:52 +00:00