Commit graph

38931 commits

Author SHA1 Message Date
Diana Derevyankina ffe29f769a
Gauge visualization can no longer be clicked to filter on values since Kibana 7.10.0 (#84768)
* Gauge visualization can no longer be clicked to filter on values since Kibana 7.10.0

Closes #84191

* Add functional test to  filtering on gauge
2020-12-15 11:04:01 +03:00
Marshall Main 818246e467
[Security Solution][Detections] Add alert source to detection rule action context (#85488)
* Adds context.alerts as available parameter for detection rule actions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 01:43:50 -05:00
Matthias Wilhelm 39360a2257
[Discover] Don't display hide/show button for histogram when there's no time filter (#85424) 2020-12-15 06:21:34 +01:00
Tyler Smalley 003396e75b skip flaky suite (#78553) 2020-12-14 20:51:56 -08:00
Yuliia Naumenko 37525f80a0
License checks for alerts plugin (#85649)
* [Alerts][License] Define minimum license required for each alert type (#84997)

* Define minimum license required for each alert type

* fixed typechecks

* fixed tests

* fixed tests

* fixed due to comments

* fixed due to comments

* removed file

* removed casting to LicenseType

* [Alerts][License] Add license checks to alerts HTTP APIs and execution (#85223)

* [Alerts][License] Add license checks to alerts HTTP APIs and execution

* fixed typechecks

* resolved conflicts

* resolved conflicts

* added router tests

* fixed typechecks

* added license check support for alert task running

* fixed typechecks

* added integration tests

* fixed due to comments

* fixed due to comments

* fixed tests

* fixed typechecks

* [Alerting UI][License] Disable alert types in UI when the license doesn't support it. (#85496)

* [Alerting UI][License] Disable alert types in UI when the license doesn't support it.

* fixed typechecks

* added licensing for alert list and details page

* fixed multy select menu

* fixed due to comments

* fixed due to comments

* fixed due to comments

* fixed typechecks

* fixed license error message

* fixed license error message

* fixed typechecks

* fixed license error message

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 19:29:39 -08:00
Tiago Costa 8539c6727c
skip flaky suite (#84992) 2020-12-15 03:03:16 +00:00
Jonathan Budzenski 63bc7e1e2d skip 'query return results valid for scripted field' #78553 2020-12-14 20:59:23 -06:00
Patrick Mueller 7873e3685b
Allow action types to perform their own mustache variable escaping in parameter templates (#83919)
resolves https://github.com/elastic/kibana/issues/79371
resolves https://github.com/elastic/kibana/issues/62928

In this PR, we allow action types to determine how to escape the
variables used in their parameters, when rendered as mustache
templates.  Prior to this, action parameters were recursively
rendered as mustache templates using the default mustache
templating, by the alerts library.  The default mustache
templating used html escaping.

Action types opt-in to the new capability via a new optional
method in the action type, `renderParameterTemplates()`.  If not
provided, the previous recursive rendering is done, but now with
no escaping at all.

For #62928, changed the mustache template rendering to be
replaced with the error message, if an error occurred,
so at least you can now see that an error occurred.  Useful
to diagnose problems with invalid mustache templates.
2020-12-14 20:41:13 -05:00
Lisa Cawley 5b723ad206
[ML] More machine learning links in doc_links_service.ts (#85365) 2020-12-14 17:09:16 -08:00
Yuliia Naumenko b7c9d22133
Removed Alerting & Event Log deprecated fields that should not be using (#85652)
* Removed Alerting & Event Log deprecated fields that should not be using

* fixed due to comments
2020-12-14 17:05:58 -08:00
Oliver Gupte 6f050779d7
Closes #79995 by adding new tab in transaction details to show related trace logs. (#85859) 2020-12-14 19:24:01 -05:00
Chandler Prall 9d60d2da41 Fix outdated jest snapshot 2020-12-14 16:54:44 -07:00
Thomas Neirynck 75ec9c1cab
[Maps] Surface on prem EMS (#85729) 2020-12-14 18:44:41 -05:00
Oliver Gupte 6017cb539d
[APM] Makes service overview page default (#85786)
* Closes #81948 by setting the default route for services to the service overview page
also updates links to the general path which gets redirected according to user settings

* fixes incorrect test names

* Update x-pack/plugins/apm/public/components/app/Main/route_config/index.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>

* fixes linting

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2020-12-14 18:31:34 -05:00
Nathan L Smith 84a0ab0dc0
APM Alerts Preview charts (#85868) 2020-12-14 17:30:37 -06:00
Nathan Reese 59390a60b1
[maps] geo_line aggregation notify licensed feature usage (#85807) 2020-12-14 16:24:28 -07:00
Tiago Costa b8954b6527
skip flaky suite (#85714) 2020-12-14 22:24:02 +00:00
Chandler Prall 84d7b9e4ac
Upgrade EUI to v30.6.0 and update jest snapshots (#85504) 2020-12-14 15:18:29 -07:00
Joe Portner dd34712ce6
Update core usage stats collection (#85706) 2020-12-14 17:12:05 -05:00
Jonathan Budzenski eee237baff skip 'alerts should delete all selection' #77401 2020-12-14 16:10:56 -06:00
Paul Tavares f6cd2648af
[Security_Solution][Endpoint] Register Custom tab into Fleet Endpoint Integration Detail (#85643)
* Fleet: add component props to the Package Custom UI extension
* Endpoint: Register UI Extension with fleet for endpoint custom content
* Endpoint: UI for Trusted Apps custom entry
2020-12-14 17:09:34 -05:00
Tyler Smalley 504c8739de
test:jest improvements to better support our monorepo (#84848)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-14 14:07:50 -08:00
Jonathan Budzenski 6bf83fc37a skip 'should show failed shards popup' #78743 2020-12-14 16:04:24 -06:00
Patrick Mueller 1f774bb2e6
[task manager] provide warning when setting max_workers greater than limit (#85574)
resolves https://github.com/elastic/kibana/issues/56573

In this PR we create a new task manager limit on the config property
`xpack.task_manager.max_workers` of 100, but only log a deprecation
warning if that property exceeds the limit.  We'll enforce the limit
in 8.0.

The rationale is that it's unlikely going to be useful to run with
more than some number of workers, due to the amount of simultaneous
work that would end up happening.  In practice, too many workers can
slow things down more than speed them up.

We're setting the limit to 100 for now, but may increase / decrease it
based on further research.
2020-12-14 16:38:05 -05:00
nnamdifrankie 23c5daa622
[Fleet] add ilm policy per data stream (#85492)
Co-authored-by: kevinlog <kevin.logan@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 16:15:55 -05:00
Constance 4d398f2461
[App Search] Temporarily remove sidebar layout and internal engine links for 7.11 release (#85820)
* Hide layout/sidebar for main Engines Overview

* Remove internal links to Engine pages

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 13:02:49 -08:00
Kerry Gallagher dd7bbb817b
[Synthetics] Waterfall view (#84821)
* Add a new synthetics step detail page for displaying waterfall data
2020-12-14 20:59:12 +00:00
Jean-Louis Leysens b8ab3fdafc
[ILM] Rollover field redesign (#85579)
* implement form-level support for using default rollover action

* slight update to copy

* added use default rollover switch and tooltips for detailed copy

* fix legacy integration tests and do not unmount rollover field!!

* remove unused import

* fix client integration tests

* updated form to use new isUsingRollover check

* fix serialization of rollover

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx

Co-authored-by: Adam Locke <adam.locke@elastic.co>

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx

Co-authored-by: Adam Locke <adam.locke@elastic.co>

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx

Co-authored-by: Adam Locke <adam.locke@elastic.co>

Co-authored-by: Yulia Čech <6585477+yuliacech@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Adam Locke <adam.locke@elastic.co>
2020-12-14 21:10:00 +01:00
Jane Miller ac3e02aead
[SECURITY_SOLUTION] Advanced policy docs (#85203)
* started docs, removed kernel harden option

* Advanced policy field documentation

* consistent formatting

* consistent formatting

* drop unused fields

* grammar

* i18n first key

* i18n, change versions to 7.9, add some new fields, remove some that we don't want to expose

* Update x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts

Co-authored-by: Daniel Ferullo <56368752+ferullo@users.noreply.github.com>

* Update x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts

Co-authored-by: Daniel Ferullo <56368752+ferullo@users.noreply.github.com>

* Update x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts

Co-authored-by: Daniel Ferullo <56368752+ferullo@users.noreply.github.com>

Co-authored-by: Daniel Ferullo <56368752+ferullo@users.noreply.github.com>
2020-12-14 15:00:22 -05:00
Steph Milovic 59b18a2b3a
[Security Solution] [Sourcerer] Cypress tests (#80410) 2020-12-14 12:38:38 -07:00
Candace Park 8279c2d1a2
[Security Solution][Endpoint][Admin] Adds instructional tooltip for malware custom user notification (#85651)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 14:27:58 -05:00
Candace Park 80ca5a5836
[Security Solution][Endpoint][Admin] Custom malware user notification message allows spaces now (#85207)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 14:26:51 -05:00
Christos Nasikas ea4e2224a9
[Security Solution][Case] Sync cases with alerts (#84731) 2020-12-14 21:11:53 +02:00
Jonathan Budzenski 5f6ed3dc3c skip custom detection rules. #83772 2020-12-14 12:51:14 -06:00
Kevin Logan 06993c469b
[Fleet] Installation of hidden field (#85703)
Co-authored-by: nnamdifrankie <franklin.ejoh@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 13:45:56 -05:00
Tyler Smalley d909a9617f Revert "[APM] Alerting: Show preview as chart of threshold (#84080)"
This reverts commit 9986aff82e.
2020-12-14 10:32:57 -08:00
Andrea Del Rio 12c40f7906
Remove feature_directory directory and link (#84464) 2020-12-14 13:03:16 -05:00
Marco Liberati 5304e88c3e
[Lens] Fix chart twitching on flyout open (#85430)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 18:43:25 +01:00
Cauê Marcondes 9986aff82e
[APM] Alerting: Show preview as chart of threshold (#84080) 2020-12-14 11:38:15 -06:00
Tyler Smalley e7500034b0
Removes un-used test_utils directory (#85783)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-14 09:33:10 -08:00
Gidi Meir Morris fde0fe52ed
removed unnecessary field (#85792) 2020-12-14 17:30:49 +00:00
Cauê Marcondes 7a5c3b482c
[APM] Fix Transaction duration distribution barchart clickarea (#84394)
* [APM] select transaction distribution by clicking on the entire bucket

* fixing margins and bucket click

* changing annotation color

* adding tooltip placement bottom

* addressing pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 18:29:18 +01:00
Chris Roberson 6ae00fb514
[Monitoring] Convert Beats-related server files that read from _source to typescript (#85193)
* Beats to TS

* PR feedback

* Fix types

* Fix types

* Fix failing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 12:12:11 -05:00
Nathan Reese 8b6831a55a
[Maps] fix color-style disappears when mapping by percentiles when breaks are identical (#85654)
* [Maps] fix color-style disappears when mapping by percentiles when breaks are identical

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 10:05:59 -07:00
Walter Rafelsberger a6e6b62658
[ML] Transforms: Support for missing_bucket in transform advanced pivot editor (#85758)
Adds support for missing_bucket with group-by configurations in the advanced editor for pivot configurations.
Previously, the editor would allow you to add the setting, but it would be stripped from the config once the transform gets created.
2020-12-14 17:51:18 +01:00
Sonja Krause-Harder 1b3a1bb385
Don't rollback on saved objects conflict errors. (#85131) 2020-12-14 17:36:25 +01:00
Yulia Čech 8858749ce4
[ILM] Added readonly field in hot phase (#85419)
* [ILM] Added readonly field in hot phase

* [ILM] Added readonly field in warm phase

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Update x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Updated labels for the form

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2020-12-14 17:27:56 +01:00
Shahzad eed6844004
[Uptime] Display tags in monitor list and details page (#85168) 2020-12-14 17:26:53 +01:00
Rudolf Meijering 8a34942f3f
Fix dead links to functional testing docs (#85097) 2020-12-14 17:00:53 +01:00
Yulia Čech a8d088febd
Added hidden filter to data streams tab (#85028)
* Added hidden filter to data streams tab

* Fix i18n import

* Fixed tests

* hidden ds pr feedback

* Added includeHidden query to data streams list

* Changed how badge group renders data streams badges

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 16:54:06 +01:00