Commit graph

39247 commits

Author SHA1 Message Date
Diana Derevyankina aecee92257
Enable prototype pollution protection in TSVB (#85952)
* Enable prototype pollution protection in TSVB

Closes #78908

* Update Dock API Changes

* Replace logging failed in validateObject validation with 400 error

* Move validateObject to kbn-std package and add a description

* Update Doc API Changes

* Rename validateObject function to ensureNoUnsafeProperties

* Rename other validateObject occurrences

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-31 10:26:59 +03:00
Kevin Logan 602584a228
[Security Solution] add a consistent spelling of ES in Policy Response (#87073) 2020-12-30 16:30:20 -05:00
Paul Tavares e067f557de
[SECURITY_SOLUTION][ENDPOINT] Delete Endpoint Policy List code (#87063)
* Remove Endpoint Policy List code from security_solution plugin
2020-12-30 15:08:29 -05:00
Lisa Cawley e3486648b9
Adds more URLs to the docs links service (#86972)
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
2020-12-30 11:29:39 -08:00
Jonathan Langela b1d00844d8
Add missing backticks in reporting-settings.asciidoc (#77979) 2020-12-30 11:17:55 -07:00
Spencer 71f74314ce
[test/functional_cors] 9000 is sometimes in use, make getPort random (#87050)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-30 10:32:48 -07:00
Patryk Kopyciński 0c9a573515
[Security Solution] Fix Timeline filter EuiSuperSelect styling (#87033) 2020-12-30 18:05:31 +01:00
Wylie Conlon 83d9ef0f2d
[Lens] Fix duplicate suggestions on single-bucket charts (#86996) 2020-12-30 11:01:54 -05:00
Paul Tavares 5dd9c7d3c5
[Fleet] Fix Page title on Integrations Edit Package Policy (#87012) 2020-12-30 08:54:47 -05:00
Paul Tavares 9202fc845a
[SECURITY_SOLUTION][ENDPOINT] Fixes endpoint data generator (#87018)
* Fix enroll message not containing host information
* Ensure all Agent Policies created are unique
2020-12-30 08:53:50 -05:00
Lisa Cawley 409776f9b6
[DOCS] Refreshes Data Visualizer screenshot (#87017) 2020-12-29 13:20:59 -08:00
Kevin Logan 0d32640ab7
[Security Solution] Change 'anti-virus' text to 'antivirus' (#87001) 2020-12-29 15:05:29 -05:00
spalger 1c5dc638ea [securitySolution/cypress] temporarily limit to PRs 2020-12-29 12:19:12 -07:00
Tim Sullivan b120cb3218
[AppServices/Examples] Add the example for Reporting integration (#82091)
* Add developer example for Reporting

Refactor Reporting plugin to have shareable services

* Update plugin.ts

* use constant

* add more description to using reporting as a service

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 09:55:48 -07:00
Tim Sullivan e699d91b2c
[Build Chromium] Improve git checkout (#83225)
* [Build Chromium] Document steps for local build, improve checkout

commit e817796d107d554504870cdb8e6dd10db1079a1e
Merge: 19e6b300260 61b4e052fdd
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Thu Nov 12 13:25:09 2020 -0700

    Merge branch 'chore/build_chromium/improvements' of github.com:tsullivan/kibana into chore/build_chromium/improvements

commit 19e6b300260822418cea4dc594bdfdf621a331e0
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Thu Nov 12 13:23:01 2020 -0700

    fixes

commit 9de24ec298792a46e88207f41c9f6aff1997dbf1
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Thu Nov 12 13:22:52 2020 -0700

    add instructions to build local

commit 872c0f68e0077ad50c541b605a87253befd1a891
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Thu Nov 12 11:58:25 2020 -0700

    simplify

commit 8dae9484efcdc483ad20ceab32cae4e97735ab1c
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Thu Nov 12 10:28:18 2020 -0700

    fixes

commit 492f5cfe25e2c7ccffce55a8733383a30aae1cb6
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Wed Nov 11 20:15:43 2020 -0700

    --wip-- [skip ci]

commit acba359b121f7be8e6c353f90e938bc5d88658a1
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Wed Nov 11 15:47:50 2020 -0700

    [Build Chromium] Improve git checkout

commit 61b4e052fdd04456fe23956ad8ce99c8e771c01e
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Wed Nov 11 20:15:43 2020 -0700

    --wip-- [skip ci]

commit 58300c9deeca15cce838b3956c55c2994f99f530
Author: Timothy Sullivan <tsullivan@elastic.co>
Date:   Wed Nov 11 15:47:50 2020 -0700

    [Build Chromium] Improve git checkout

* Apply suggestions from code review

Co-authored-by: Joel Griffith <joel@joelgriffith.net>

Co-authored-by: Joel Griffith <joel@joelgriffith.net>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 09:54:19 -07:00
Mike Côté f3b43cbf3f
Deprecate services.callCluster in alerts and actions executors (#86474)
* Deprecate callCluster in alerts and actions services

* Update deprecation comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 11:21:48 -05:00
Patryk Kopyciński 262a204bb4
[Security Solution] Use system node version for Cypress and increase exec command timeout (#86985) 2020-12-29 14:51:09 +01:00
Marco Liberati 2781bf3855
[Lens] Add more chart editor tests based on the debug state (#86750)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 14:18:54 +01:00
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