Commit graph

39229 commits

Author SHA1 Message Date
Marco Liberati bd908c6ba3
[Lens] Integrate searchSessionId into Lens app (#86297)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 14:18:30 +01:00
Jonathan Budzenski d843450620 skip "pagination updates results and page number" #86975 2020-12-28 17:34:19 -06:00
Jonathan Budzenski 62fd430fdf skip "Custom detection rules" #83772 2020-12-28 15:24:15 -06:00
Jonathan Budzenski 92b2b60ad5
[logging/json] use merge from kbn/std (#86330)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-28 15:11:01 -06:00
Jonathan Budzenski 54390f02f9 skip network and timeline inspection. #85677, #85678 2020-12-28 14:55:14 -06:00
Jonathan Budzenski 4290b58b6a skip "adds correctly a filter to the global search bar" #86552 2020-12-28 14:49:05 -06:00
Spencer db2f7e6bbb
[ftr/flags] improve help text (#86971)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-28 13:45:45 -07:00
Jonathan Budzenski 3ddc527d50 skip "Fields Browser rendering. #60209 2020-12-28 13:29:16 -06:00
Jonathan Budzenski 83f6440c03 skip "Closes and opens alerts" #83773 2020-12-28 11:10:36 -06:00
Patryk Kopyciński fd81692b98
[Security Solution] Skip failing Cypress tests (#86967) 2020-12-28 10:00:42 -06:00
MadameSheema c0d6e12c3c
Removes archives (#86537) 2020-12-28 08:08:04 +01:00
Dima Arnautov 47ce575cc0
[ML] Fix charts grid on the Anomaly Explorer page (#86904)
* [ML] fix AR charts grid items width

* [ML] update test snapshot
2020-12-24 13:52:09 +01:00
Cauê Marcondes 6fc041c1d4
filtering inventory page by transaction type (#86434)
* filtering inventory page by transaction type

* addressing pr comments

* addressing pr comments

* addressing pr comments

* addressing pr comments

* addressing pr comments

* addressing pr comments

* addressing pr comments

* fixing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-24 09:36:58 +01:00
renovate[bot] 6b257bb6c3
Update dependency vega to ^5.17.3 (#86891)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-24 10:01:56 +02:00
Uladzislau Lasitsa 25bf06c573
Add telemetry to vis_type_xy plugin (#86751)
* Add telemetry for detailedTooltip and fittingFunction

* Fixed type problems

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Ryan Keairns <rkeairns@chef.io>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Joe Reuter <email@johannes-reuter.de>
Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
2020-12-24 11:01:01 +03:00
Devin W. Hurley 113634a66b
[Security Solution] [Detections] Multiple timestamp fields (#86368)
* query timestamp override and default @timestamp field, adds functional test for this

* fix logic for when to filter out timestamp override documents

* update the total hits field of the search result if we find hits within the secondary search. Without updating the total hits field, we could be finding events but not indexing them based on the bulk create logic

* update integration test, updates logic for performing second search and excluding documents with timestamp override field

* cleanup comments, remove commented out console logs, fix logic to break out of loop during secondary search after

* default param to 'succeeded'

* remove commented out code

* always perform a secondary search when timestamp override field is present

* perf improvement and fix bug where sortIds were being mixed between search after calls

* set sortIds to undefined when not present on search result

* exit loop and prevent extraneous searches from occurring if we exhaust sort ids
2020-12-23 21:44:57 -05:00
Xavier Mouligneau deae756756
[Security Solution] Fix flow/draggable in details event (#86834)
* fix details event

* fix types + add unit test

* review with angela

* fix lint error

Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
2020-12-23 21:13:20 -05:00
Yara Tercero 0ffb9e72ed
[Security Solution][Exceptions][Tech Debt] - Refactor exceptions api file to follow value lists pattern (#86903)
## Summary

Currently working on issues related to exceptions and it was noted on a separate PR that the request payload validation being done in the client side API calls was unnecessary. It was helpful in development, but not of any added value in production. Not only that, but the extra validations also add to the performance hit. 

Removed the payload validation and formatted the code to follow the same pattern as that in the value lists api file.

Tested that exceptions flows not affected by testing out exceptions CRUD flows.
2020-12-23 19:25:21 -05:00
Joe Reuter a5cfc7fb4a
[Lens] Add percentile function (#86490) 2020-12-23 21:13:03 +01:00
Dominique Clarke cf6afe04ad
[Uptime] Fix/85236 user experience display low values (#86026)
* add hasVitals prop to CoreVitalItem

* pass hasVitals prop to CoreVitalsItem based on coreVitalPages

* adjust criteria for displaying no core vital item data

* add stories for CoreVitalItem edge cases

* remove comment from core web vitals index page

* update test comment in CoreVitalItem

* adjust APM get_web_core_vitals endpoint to return a number for cls value, and adjust corresponding observability components

* remove hasVitals from CoreVitalItem props and adjust storybook stories

* add comment to EuiStat aria-label in CoreVitalItem

* adjust CoreVitalItem tests

* adjust APM KeyUXMetrics test

* adjust APM get_web_core_vitals endpoint to return null for cls when cls is undefined

* adjust unit and integration tests that rely on apm get_web_core_vitals

* add comment in get_web_core_vitals

* update CLS value in Observability core_web_vitals index

* add withKibanaIntl to CoreVitalItem test to wrap in Intl Provider and KibanaReact provider

* update CoreVitalItem test to use testing-library/react test_helper

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-23 14:25:34 -05:00
Christiane (Tina) Heiligers f7961998d9
Migrates spaces usage collector es client from legacy to new (#86900) 2020-12-23 12:18:13 -07:00
Constance 2cc2312f6d
[App Search] Result component - a11y enhancements (#86841)
* Refactor Result card layout

- Move toggle action to the bottom of the card content
- [TODO] Action button to the right will be used for new link button (separate for accessibility/screen readers)
- Use grid to get the layout we want without extra div wrappers

* Add action button link to document detail

+ remove <a> tag on article content - should have onClick only
- this allows screenreaders to granularly navigate through the card content while allowing mouse users the entire card to click
- the new actionButton details link is accessible to both keyboard & screen reader users

* [Polish] Hover effects to help guide mouse users

* [i18n] Add pluralization to fields copy

* Update tests

* [Cleanup] Remove unneeded wrapper

* [??] More specific title for result group

- since the aria-label for the new detail button link is basically that
2020-12-23 10:39:21 -08:00
Uladzislau Lasitsa ca685f01fc
Removed unneeded dependency from hook (#86888) 2020-12-23 18:22:56 +03:00
Marco Liberati e575af3386
[Expression Renderer] Fix Expression Renderer className composition (#86094)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-23 15:53:44 +01:00
Paul Tavares 0f838bfea1
[Fleet] Consistent display of agent counts on lists (#86827)
* move LinkedAgentCount component to top-level components and adjust output
* refactor integration details Policies list to use LinkedAgentCount component
* test cases for agent counts on integrations
2020-12-23 09:41:49 -05:00
Dima Arnautov d4d70f22cf
[ML] Enforce pause when it's set to false with 0 refresh interval (#86805)
* [ML] Enforce pause when it's set to false with 0 refresh interval

* [ML] add mocks, fix unit tests
2020-12-23 14:00:59 +01:00
Cauê Marcondes cfec38eea6
[APM] "View job" link from latency charts leads to a malfunctioning page (#86788)
* fixing ML links

* fixing ML links
2020-12-23 13:00:52 +01:00
Katrin Freihofner 0d3daa564f
[Logs UI] removes unnecessary panel in categories tabL (#86769) 2020-12-23 09:38:35 +01:00
Cauê Marcondes 15b80dd771
[APM] Filter out service nodes if there are no metrics (#86639)
* filtering out metrics without service.node.name

* filtering out metrics without service.node.name

* addressing pr comments

* fix TS issue
2020-12-23 09:31:01 +01:00
Matthias Wilhelm a417690ced
[Discover] Integration of EuiDataGrid (#67259)
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-12-23 09:05:29 +01:00
Cauê Marcondes 4613da5c27
[APM] Truncate long service names in Trace overview (#86759)
* truncating service name

* truncating service name
2020-12-23 09:02:15 +01:00
Christos Nasikas 21b34bcd24
[Security Solution][Case] Fix case status dropdown on modals (#86243) 2020-12-23 09:36:38 +02:00
Tyler Smalley 4f2fd01661
[CI] Updates branch env variables (#86712)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-22 23:05:42 -08:00
Yara Tercero 3dfb1aba2a
[Security Solution][Detections] - Fix export on exceptions list view (#86135)
## Summary

This PR addresses a fix on the exceptions list table export functionality. A dedicated route for exception list export needed to be created. List is exported into an `.ndjson` format. 

Exception lists consist of two elements - the list itself, and its items. The export file should now contain both these elements, the list followed by its items.
2020-12-23 00:27:37 -05:00
Devin W. Hurley 35b10b5354
[Security Solution] [Detections] Bug fix for read privilege check during rule exec (#86852) 2020-12-22 21:14:22 -05:00
Constance e3896050fc
[App Search] Misc credentials key UI enhancements (#81817)
* Fix screen reader still reading out bullet bullet bullet

* Even out horizontal spacing

* Break long password text

* Make EUI table cell full width on mobile
2020-12-22 17:53:07 -08:00
Constance 62b5ef9459
Minor responsive text overflow tweaks to ApiCodeExample POST (#86848) 2020-12-22 17:52:32 -08:00
Tyler Smalley c9879c6fbd Skip test preventing ES snapshot promotion
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-22 16:31:14 -08:00
Christiane (Tina) Heiligers f2105c85fb
Sample data usage collector es client migration (#86657)
* Uses new esClient to fetch sample data telemetry

* Import SearchResponse from core
2020-12-22 16:27:05 -07:00
Melissa Alvarez 39dc4d0237
fix group edit popup format (#86836) 2020-12-22 17:58:22 -05:00
Devin W. Hurley 59298c5f91
[Security Solution] [Detections] Add "read index" privilege check on rule execution (#83134)
* 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 17:01:39 -05:00
Dominique Clarke 23c9c7e302
fix uptime monitors donut chart labels (#86319)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 15:41:33 -05:00
Pete Hampton 978fa4325c
Add run and alert count to task state. (#86776) 2020-12-22 19:55:40 +00:00
Thomas Watson 97858d697b
Re-add support for configuring server.host: "0" (#86806)
Support for this was lost in #85406.

Fixes #86716
2020-12-22 20:40:40 +01:00
Alejandro Fernández Haro 5e3c84ca05
useSavedDashboard: call toast methods in their context (#86803) 2020-12-22 19:27:17 +00:00
Quynh Nguyen a75ca7abe9
[ML] Stabilize data visualizer functional tests (#86790) 2020-12-22 13:12:06 -06:00
Greg Thompson c0d6bd95b7
Upgrade EUI to v31.0.0 (#86689)
* eui to 31.0.0

* snapshot updates

* remove obsolete snapshot
2020-12-22 12:59:05 -06:00
Felix Stürmer 24db3a0070
[Logs UI] Fix initial selection of log threshold alert condition field if missing from mapping (#86488)
This avoid selecting the `log.level` field as the default in log threshold alerts if it is not present in the mapping of at least one source index.
2020-12-22 19:36:02 +01:00
Christiane (Tina) Heiligers a98550b4f1
Reporting usage collector fetch migration (#86675) 2020-12-22 11:23:54 -07:00
Quynh Nguyen 61eb83b467
[ML] Fix error callout for Anomaly detection jobs using runtime_mappings (#86407)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 12:22:56 -06:00