Commit graph

47970 commits

Author SHA1 Message Date
Oliver Gupte cf61e34316
[APM] Fixes duplicated descriptions in the APM integration settings (#115692) (#117258)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 11:39:19 -04:00
Bhavya RM 9c98c2b722
Migrate es_archives/lens/basic/ to kbnArchiver (#108120) 2021-11-03 11:19:27 -04:00
Tiago Costa 497a70b5fd
skip flaky suite (#83824) 2021-11-03 15:12:42 +00:00
Lucca Miranda 6c06b12134
chore: rename useUrlParams to useLegacyUrlParams (#116062)
* chore: rename useUrlParams to useLegacyUrlParams

* fix: revert uptime & fleet changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 15:11:57 +00:00
Jason Stoltzfus 9e02087bd7
Fixed curations (#117297) 2021-11-03 11:02:14 -04:00
ymao1 6cf9f8c966
Removing perf_hooks from task manager (#117294) 2021-11-03 10:31:10 -04:00
Stratoula Kalafateli 12c0075279
[Visualize] Fixes wrong header menu when navigating from a dashboard to a by ref viz (#117077)
* [Visualize] fixes share inactive button when navigating from a dashboard to a by ref vz

* Add unit test

* Remove the hardcoded 'dashboards'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:17:19 +02:00
Matthias Wilhelm 9d4045b026
[Discover] Fix doc viewer field column Field and Value width issues (#117121)
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
2021-11-03 15:16:28 +01:00
Marco Liberati eb9262dca5
[Lens] Avoid to compute over time suggestion for expensive configurations (#115932)
*  Avoid over time suggestion if too expensive

*  Add unit tests

* 👌 Integrate feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 14:57:23 +01:00
Liza Katz ef09dcbee8
APM RUM integration - number of resources loaded from network (#116923)
* add a label with the number of resources actually loaded from network

* code review

* @v code review + tests

* minor review fixes

* update jest

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 15:47:19 +02:00
James Gowdy 1eb5898f39
[Home] Adding upload data link to home page (#117129)
* [Home] Adding upload data link to home page

* renaming link
2021-11-03 13:33:19 +00:00
Jean-Louis Leysens 6c855f7da6
[Share] The redirect app path should not appear in the browser history (#117155)
* the redirect app path should not appear in the browser history

* updated jest test to also expect replace

* added comment

* update jest test
2021-11-03 14:31:36 +01:00
Tiago Costa 1efcfb6257
skip flaky suite (#115473 , #115474 , #116889 , #117081 , #116891 , #116890) 2021-11-03 12:38:21 +00:00
Marco Vettorello 5fc70f5f21
[charts] Fix multilayer time axis styles (#116749)
This commit fixes a set of issues to the new multilayer time axis:
- the tickLine is now removed from ticks without a label
- the axis/tick/label style is restored to the original EUI one
- the multilayer time axis style is now moved into the charts plugin and reused
- Lens: use the single-layer time axis when bars cluster is used
- TSVB: I reduced a bit the number of ticks on the Y axis, to reduce the noise of gridlines with multilayer axis
- Discover: I reduced by 8px the height of the histogram and moved the top padding to the bottom to separate a bit the time range text and the time axis

Coming from @elastic/charts update:
- multilayer time axis tick/grid is shown only when tick is inside domain (this removes the black vertical axis line at the beginning of the chart) fix(xy): show mouse cursors on charts with opaque background elastic-charts#1447
- Fix the invisible cursor on charts with opaque backgrounds fix(xy): multilayer time axis tick/grid only when tick is inside domain elastic-charts#1446
- Add missing last tick and rarify gridlines fix(xy): adding missing last tick and other tick improvements elastic-charts#1448
2021-11-03 12:35:34 +00:00
Julia Bardi 654e75a859
[Fleet] Package policy upgrade telemetry with sender (#115180)
* draft of upgrade usage collector

* telemetry sender service

* fixed tests and types

* cleanup

* type fix

* removed collector

* made required field message generic, added test

* cleanup

* cleanup

* cleanup

* removed v3-dev as outdated

* removed conditional from telemetry url creation

* supporting multiple channels in sender

* fix types

* refactor

* using json content type

* fix test

* simplified telemetry url

* fixed type

* added back ndjson

* moved telemetry to update, added dryrun

* fix types

* fix prettier

* updated after review

* fix imports

* added error_message field

* review fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 13:30:24 +01:00
Tiago Costa 38a51c80c3
skip flaky suite (#112677) 2021-11-03 12:28:08 +00:00
Gloria Hornero 0681348c3a
[Security Solution] Fixes skipped test (#115757)
* waits for the page to be loaded before continuing with the actions

* changes the order of the wait

* unskip data provider test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 07:44:21 -04:00
Joe Reuter b56979a97f
retry visualize link navigation (#116582) 2021-11-03 11:04:48 +01:00
Joe Reuter 2ba7cdcf30
use more robust way of entering value (#116566) 2021-11-03 11:04:04 +01:00
Alexey Antonov c84d20b892
[TSVB] Fix cannot override the timerange mode on the override index pattern series settings (#116955)
Closes: #116745

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 10:00:21 +00:00
Marta Bondyra 2ad1f9139f
[Lens] Removing updateVisualizationState updater (#113779)
* make editVisualizationAction separate action to get rid of updater

* add insertLayer to remove updater when inserting new Layer

* wip

* removeLayers before merging into one function

* chart switch refactor to single updater

* replace updater with newState

* check onEditAction

* remove layer remove updater

* addLayer updater

* set Layer Default Dimension

* wip

* mocks divided

* visualization mock lint fix

* add tests for layers

* further divide

* rename ts to tsx

* Rename index.tsx to index.ts

* Update x-pack/plugins/lens/public/state_management/index.ts

* Revert "[Lens] cleanup divide mock file to smaller pieces"

This reverts commit 1bb2e1a4f1.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 10:44:11 +01:00
Tim Sullivan e1bf92ce03
[Reporting] Internally correct the hostname to "localhost" if "server.host" is "0.0.0.0" (#117022)
* [Reporting] Internal correction for server hostname if "server.host" is "0.0.0.0"

* add schema validation

* correction to the failover logic the test is validation

* update per feedback

* more check against invalid hostnames

* remove silly  translations for server logs

* remove unused translations

* improve the tests
2021-11-03 10:27:45 +01:00
James Gowdy ee63830072
[ML] Data view loading refactor (#116455)
* [ML] Data view loading refactor

* more renaming

* more renaming

* fixing tests

* fixing jest test

* small changes based on review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 09:03:02 +00:00
Dmitry Tomashevich 6328a9f597
[Discover] Fix Data grid columns movement (#115279)
* [Discover] fix data grid columns movement

* [Discover] apply suggestion

* [Discover] fix linting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 11:42:37 +03:00
Jonathan Budzenski 6908420a8b
Bump node to 16.13.0 (#116519)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 21:56:47 -05:00
Tim Sullivan 488f112f47
[Reporting/Tests] Consolidate test archives, move kbn objects to kbn_archiver (#116528)
* remove unused

* remove kibana objects from reporting es_archives

* import objects using kibanaServer for tests

* consolidate ecommerce_kibana_spaces

* self-review

* fix nanos test

* fix loading of reporting/ecommerce_kibana_spaces

* fix csv snapshots

* fix more csv tests

* archive rename

* consolidate canvas_disallowed_url archive

* clean up snapshots

* fix CSV tests

* polish

* remove unused

* Update x-pack/test/reporting_api_integration/reporting_and_security/network_policy.ts
2021-11-03 01:27:52 +00:00
Spencer 9acedc8406
[watcher] fix invalid import (#116907)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 21:19:42 +00:00
Dominique Clarke 2928c5f0ac
[Exploratory View] Adjust labels for percentile calculation and document loaded metric (#116704)
* adjust labels

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 16:54:29 -04:00
Tim Sullivan 2f8dfba4cd
[Reporting] Log TM health and drift stats prior to reporting tests (#117013)
* [Reporting] Log TM health and drift stats prior to reporting tests

Closes https://github.com/elastic/kibana/issues/114946

* re-skip flaky test

* rename method
2021-11-02 20:53:09 +00:00
liza-mae 8143901f59
Fix reporting api tests for cloud (#116515)
* Fix reporting api tests for cloud

* Add default value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 14:29:27 -06:00
Spencer 2a74c291c8
[docs] fix direct branch injection into docs links (#116794)
* [docs] fix direct branch injection into docs links

* add one more todo

* correct fallback branch

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 14:02:43 -06:00
Andrea Del Rio f5e9a075e2
[Design] Swap button styles in header and KQL search bar (#117062) 2021-11-02 12:33:40 -07:00
Scotty Bollinger 5c73c0c120
Update Role mappings modal copy (#117182) 2021-11-02 19:04:15 +00:00
Tyler Smalley 3b9b49b4fd skip flaky suite (#116058) 2021-11-02 12:01:28 -07:00
Mark Hopkin fd8a564392
show upgrade title when no policy present (#117134) 2021-11-02 18:56:56 +00:00
Dominique Clarke 3a6a94695d
[Observability] [Exploratory View] adjust popover placement (#116471)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 14:45:57 -04:00
Dima Arnautov 8d814f1c6c
[ML] fix ticks, add custom colors inline (#117159) 2021-11-02 19:06:39 +01:00
Vadim Yakhin d935921959
Update Workplace Search integration categories (#117036)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 11:04:01 -07:00
Tyler Smalley 6dbb314f76
[bazel] Set cache for build, not common (#117163)
These settings are not valid outside build, and cause commands like shutdown to fail.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-11-02 18:02:05 +00:00
Bryan Clement 47e8f783dc
remove unused enrollment path (#117063) 2021-11-02 11:00:43 -07:00
Yara Tercero b52a9aba1f
Exceptions export duplicates (#116698)
## Summary

Addresses https://github.com/elastic/kibana/issues/116329

Removes duplicate exception lists on rule export when multiple rules reference the same list.
2021-11-02 11:55:32 -06:00
David Sánchez 03cebac547
[Security solution] [Endpoint] Fixes for operator "match_any" in event filters card (#117136)
* Fix translations and allow negative operators
* UI fixes
* Remove useCallbacks and update test
2021-11-02 17:53:31 +00:00
Shahzad c91e44ca8e
[Uptime] Fix regression in logging queries on inspect (#117124)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 18:44:53 +01:00
Corey Robertson 0e3dea35a9
Fix bug where cache is rebuilt incorrectly (#114105)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 13:38:37 -04:00
Yuliia Naumenko 6e14338c58
[Alerting] More telemetry for 8.0 based on Event Log data (#115318)
* [Alerting] More telemetry for 8.0 based on Event Log data

* fixed event log index mapping

* fixed typecheck

* fixed tests

* added avg aggs

* set size to 0

* fixed due to comments

* fixed telemetry schema

* fixed query

* removed test data

* added tests

* fixed test

* fixed query

* added exection detalization by day

* fixed test

* fixed for rules

* fixed schema

* fixed schema

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 10:23:19 -07:00
Dominique Clarke 4e294e3153
[Uptime] Fix: Last successful screenshot should be from same location (#116906)
* update get_last_successful_step query to include location logic

* adjust types
2021-11-02 13:10:58 -04:00
Corey Robertson 39d79f7237
Remove fullscreen mode when workpad unmounts (#114551)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 13:07:29 -04:00
Tyler Smalley 98de5f673c Revert "[ci] Run Jest tests in parallel (#115687)"
This reverts commit 237d68d6e9.
2021-11-02 10:05:55 -07:00
Tyler Smalley 5d557539e4 Revert "[ci] Increase heap of Jest"
This reverts commit 87c7289b74.
2021-11-02 10:05:31 -07:00
Tyler Smalley 441003df5c Ignore eslint no-explicit-any
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-11-02 09:47:54 -07:00