Commit graph

45963 commits

Author SHA1 Message Date
Jean-Louis Leysens ea7c26d00c
[Share] The redirect app path should not appear in the browser history (#117155) (#117310)
* 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 15:55:46 +00:00
Kibana Machine 9349ed6c90
[Security Solution] Fixes upgrade tests (#116425) (#117095)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-11-03 13:44:47 +00:00
Ignacio Rivas c00681b639
[7.x] Fix test (#115362) (#115513) 2021-11-03 14:40:11 +01:00
Tiago Costa 3308ff02e4
skip flaky suite (#115473 , #115474 , #116889 , #117081 , #116891 , #116890) 2021-11-03 12:40:00 +00:00
Kibana Machine d75e244fa7
[TSVB] Fix cannot override the timerange mode on the override index pattern series settings (#116955) (#117272)
Closes: #116745

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-11-03 12:32:33 +00:00
Tiago Costa f0d78dd50a
skip flaky suite (#112677) 2021-11-03 12:30:10 +00:00
Joe Reuter 4af9d11694
use more robust way of entering value (#116566) (#117274) 2021-11-03 12:29:44 +00:00
Joe Reuter a0cca45d8a
[7.16] make sure string mode popover is actually closed (#116585) (#117261)
* make sure string mode popover is actually closed (#116585)

# Conflicts:
#	test/functional/page_objects/visual_builder_page.ts

* Update visual_builder_page.ts

* Update visual_builder_page.ts
2021-11-03 12:24:57 +00:00
Kibana Machine e16342761c
retry visualize link navigation (#116582) (#117277)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-11-03 12:19:34 +00:00
Kibana Machine 750b30e0df
[Discover] Fix Data grid columns movement (#115279) (#117266)
* [Discover] fix data grid columns movement

* [Discover] apply suggestion

* [Discover] fix linting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-11-03 11:03:36 +00:00
Kibana Machine 1eb75370e9
[ML] fix ticks, add custom colors inline (#117159) (#117205)
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-11-03 10:52:39 +00:00
Kibana Machine fd56cddf90
[7.16] [Integration] Fix landing page for Add APM Integration link in Observability (#116847) (#116851) (#117064)
* [Integration] Fix landing page for Add APM Integration link in Observability (#116847) (#116851)

* Fix error count alert e2e test

Ensure the form has completely loaded before clicking the save button.

Fixes #116946.

Co-authored-by: Nathan L Smith <smith@nlsmith.com>

Co-authored-by: Oliver Gupte <ogupte@users.noreply.github.com>
Co-authored-by: Oliver Gupte <olivergupte@gmail.com>
Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2021-11-03 07:13:07 +00:00
Kibana Machine 015ff08892
Bump node to 16.13.0 (#116519) (#117254)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-11-03 05:18:31 +00:00
Tim Sullivan 3013af2b71
[Reporting] Log TM health and drift stats prior to reporting tests (#117013) (#117248)
* [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-03 01:46:12 +00:00
Kibana Machine a49b08b319
[watcher] fix invalid import (#116907) (#117239)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-02 23:33:22 +00:00
Marta Bondyra 7deb8b23e2
[7.16] [Lens] Fix editor blowing up when working on non-exisiting data view (#114816) (#117066)
* [Lens] Fix editor blowing up when working on non-exisiting data view (#114816)

* correct styles for config panel (if data view is unavailable, the margins are still ok)

* temp

* fix data views bugs

* add test

* integrate feedback

* Update datapanel.tsx

* Update x-pack/plugins/lens/public/indexpattern_datasource/loader.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Update errors2.json

* Update errors.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 23:28:32 +00:00
Kibana Machine aeeeee7867
[Exploratory View] Adjust labels for percentile calculation and document loaded metric (#116704) (#117235)
* adjust labels

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-02 23:11:11 +00:00
Kibana Machine f3ae042120
Fix reporting api tests for cloud (#116515) (#117232)
* Fix reporting api tests for cloud

* Add default value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
2021-11-02 22:56:22 +00:00
Kibana Machine 7189b6e225
Update Workplace Search integration categories (#117036) (#117203)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-11-02 22:12:19 +00:00
Kibana Machine 66bf44a61e
Update Role mappings modal copy (#117182) (#117218)
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-11-02 21:25:53 +00:00
Tim Sullivan 88fa43f267
[Reporting] Stabilize ILM test for Cloud (#117003) (#117212)
Closes https://github.com/elastic/kibana/issues/109456
2021-11-02 21:20:22 +00:00
Kibana Machine b7ce679ab6
show upgrade title when no policy present (#117134) (#117215)
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-11-02 21:19:22 +00:00
Kibana Machine 6fe21d64c9
Exceptions export duplicates (#116698) (#117198)
## Summary

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

Removes duplicate exception lists on rule export when multiple rules reference the same list.

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-11-02 21:18:03 +00:00
Kibana Machine e982d1023a
[Osquery] Fix 7.16.0 BC3 issues (#117105) (#117157)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-11-02 20:49:43 +00:00
Ryland Herrick 8a55fa4fdc
[Security Solution] Add deprecation warning about rule preview permissions (#116878)
* WIP: Adding basic structure/logic for rule preview deprecation

* Alert users that they need a new privilege for rule preview in 8.0
* If we find existing roles that have read access to the signals index,
  list their names for the user.

* Refactor and unit test rule preview privilege deprecation

* Wire up our deprecation handler

* Fix deprecation translation

Use i18n interpolation instead of a template literal.

* Update signals preview with alerts-as-data index

* Copy: rename

"signals" -> "detection alerts"

* Update tests in response to copy changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 15:40:32 -05:00
Kibana Machine 9ecb189d92
[Security solution] [Endpoint] Fixes for operator "match_any" in event filters card (#117136) (#117196)
* Fix translations and allow negative operators
* UI fixes
* Remove useCallbacks and update test

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-11-02 20:15:14 +00:00
Kibana Machine 9ff509d4d4
[Uptime] Fix: Last successful screenshot should be from same location (#116906) (#117186)
* update get_last_successful_step query to include location logic

* adjust types

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-02 19:33:22 +00:00
Kibana Machine 2ae9625575
Remove fullscreen mode when workpad unmounts (#114551) (#117184)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-11-02 19:30:02 +00:00
Frank Hassanabad 2f45b6f311
[Security Solutions] end to end tests, adds more console logging, removes 200 expect statements (#116987) (#117147)
## Summary

e2e tests are still seeing flake with conflicts and it looks like it _might_ be with querying and not with inserting data. Hard to tell. This PR:

* Adds more console logging when the response is not a 200
* Removes the 200 expect statement and hopes for the best but should blow up if it's not 200 in a different way and we will get the console logging statements.
* Fixes one other flake with the matrix histogram having different counts. We have encountered this before and are applying the same fix which is to just have it check > 0.
* This does fix the timeouts seen where 1 in every 1k rule runs, a rule will not fire until _after_ the 5 minute mark. The timeouts were seen when running the flake runner.

Flake failures around `conflict`:
https://github.com/elastic/kibana/issues/116926
https://github.com/elastic/kibana/issues/116904
https://github.com/elastic/kibana/issues/116231

Not saying this is going to fix those yet, but it's the last 200 ok's we did an expect on, so it might if we are ignoring the conflict. If it fails again I am hopeful beyond hope that we get the body message and line number within the utilities to determine where/why we are getting these from time to time. It does look to fix the timeouts when a rule misfires and slows down the rate at which we continuously query for rule results.

Failure around matrix histogram (The error messages are slightly different on CI each time):
https://github.com/elastic/kibana/issues/97365

Ran this with the flake runner across groups 11 and 12 100 times each and did not see the conflict crop up:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/128
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/129

The 1 failure in each of those runs were due to something on startup that prevented it from running.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

# Conflicts:
#	x-pack/test/detection_engine_api_integration/utils.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 18:58:11 +00:00
Jason Stoltzfus 44025f22d9
[App Search] Update API namespace and routes for Search Relevance Suggestions/Adaptive Relevance (#116994) (#117171)
# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-11-02 18:38:41 +00:00
Kibana Machine 2e2d217f0c
stabilize combo box selection (#116577) (#117165)
=

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-11-02 18:36:23 +00:00
Kibana Machine d785882dee
retry chart selection (#116580) (#117168)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-11-02 18:29:12 +00:00
Kibana Machine 5e7b878719
Remove analytics event (#116995) (#117153)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-11-02 17:47:26 +00:00
Marta Bondyra 4efb00727d
[7.16] [Lens] Fix filters not being cleaned when navigating to another visualisation (#114137) (#117068)
* [Lens] Fix filters not being cleaned when navigating to another visualisation (#114137)

* [Lens] fix filters not being cleaned

* Update lens_slice.ts

* types

* do not reset persistedDoc on load

* [Lens] functional test for query, filters and time range

* snapshot update

* fix flakiness

* fix getting filters from refs

* simplify tests

* confirm modal

* Update persistent_context.ts

* load the file above

* Update persistent_context.ts

* shorten c4

* flaky test

* fix geo_field changing index pattern, remove non used data view

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/lens/index.ts

* Update index.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 17:47:18 +00:00
Kibana Machine aa80568ed3
Fix shortcut docs (#114115) (#117152)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-11-02 17:37:03 +00:00
Kibana Machine ad59e4aa75
[TSVB] [Timelion] Brushing is broken for the string mode (#117106) (#117145)
Closes: #116734

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-11-02 17:08:15 +00:00
Esteban Beltran 13bde104d2
[Security Solution] Show searchbar when a search doesn't return results in Host isolation exceptions. (#116767) (#117109)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 16:57:07 +00:00
ymao1 5c9d641ca6
xpack.actions.{proxy}VerificationMode is actual xpack.actions.ssl.{proxy}VerificationMode (#114593) (#117139)
* xpack.actions.proxyVerificationMode is actual xpack.actions.ssl.proxyVerificationMode

* xpack.actions.verificationMode is actual xpack.actions.ssl.verificationMode

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/actions/server/index.test.ts

Co-authored-by: Tobias Stadler <ts.stadler@gmx.de>
2021-11-02 16:39:59 +00:00
Kibana Machine b36f59abb7
[7.x] Remove any in embeddables (#110023) (#112544)
* Remove `any` in embeddables (#110023)

* remove anys in embeddable

* fix typescript errors

* generate autogenerated docs

* Update src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>

* fix prettier errors

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-11-02 15:28:51 +00:00
Kibana Machine f3f32d69c3
[Fleet] Fix add agent help not closing when button clicked (#117104) (#117126)
* close help popover when button clicked

* reduce popover z-index to hide behind modals

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-11-02 15:26:52 +00:00
Paul Tavares 6fea0d3a8f
[Security Solution][Endpoint] Add tooltip to Name and Description on the ArtifactEntryCollapsableCard when collapsed (#116839) (#117120)
* Add `withTooltip` prop to `TextValueDisplay` and use it in CardCompressedHeader
* Add UT
2021-11-02 15:17:05 +00:00
Kibana Machine 88b6447e6e
[Fleet] Delete non existing streams in overrideInputs (#116998) (#117115)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-11-02 15:10:42 +00:00
Ignacio Rivas 570af9bb10
[Upgrade Assistant] Fix typo in retrieval of cluster settings (#116335)
* Fix typos

* Fix typo also in server tests

* Make sure log collection remains enabled throughout the test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 15:20:55 +01:00
Dima Arnautov 9ad97b0e55
[ML] Replace console statement, add status code check (#116999) (#117103)
# Conflicts:
#	x-pack/plugins/ml/server/routes/trained_models.ts
2021-11-02 13:23:10 +00:00
Kibana Machine 935112ea3b
fix relative urls in external url service (#116404) (#117101)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-11-02 13:21:37 +00:00
Kibana Machine bd512214e4
[Security Solution][Detections] Fix truncated values in columns for rules table (#115825) (#116796)
* Fix truncated rule name on rules table

* remove empty line

* remove truncateText for all rules table columns

* rename unit tests

* refactor unit tests

* fix ts error

* fix ts error

* remove config line

* fix types after kbn bootstrap

* CR: remove unnecesary tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2021-11-02 13:09:17 +00:00
Kibana Machine 1fe9775948
[ML] APM Correlations: Fix percentiles values. (#116639) (#117098)
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
2021-11-02 12:57:57 +00:00
Tiago Costa 5391e98f54
skip flaky suite (#116070) 2021-11-02 12:52:52 +00:00
Kibana Machine 591b69aaa2
[Visualize] Fixes the deprecation message of the colorMapping setting (#116921) (#117091)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-02 12:46:37 +00:00
Kibana Machine 8707a7d461
[Timelion] Fixes the deprecation message (#116910) (#117092)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-02 12:38:08 +00:00