Commit graph

47994 commits

Author SHA1 Message Date
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
Claudio Procida c149fe6f92
[RAC] Updates Alerts table cell actions (#116446)
* Adds Filter Out button to alert table cell flyout

* Adds translations

* Fixes capitalization of labels

* Removes unused declarations and imports

* Fixes and adds functional tests for Alerts table action buttons

* Addresses review comments

* Fixes Alert table cell actions functional tests

* Removes Filter out action for now

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 17:43:24 +01:00
Matthew Kime e53771df2d
[docs] index pattern => data view (#110421) (#115497)
* [user docs - index patterns] index pattern => data view (#110421)
2021-11-02 11:34:59 -05:00
Tyler Smalley 87c7289b74 [ci] Increase heap of Jest
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-11-02 09:17:16 -07:00
Joe Reuter 515d1c1fb6
make sure string mode popover is actually closed (#116585) 2021-11-02 17:07:27 +01:00
Joe Reuter a3b71bea01
retry chart selection (#116580) 2021-11-02 17:07:10 +01:00
Joe Reuter a720a021a4
stabilize combo box selection (#116577)
=
2021-11-02 17:06:09 +01:00
Tyler Smalley 237d68d6e9
[ci] Run Jest tests in parallel (#115687)
* [ci] Run Jest tests in parallel

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Disable coverage

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Make hourly match prs

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Update timeout

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* mock process.execArgv so that it is consistent

* Remove comment

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-02 08:53:07 -07:00
Cauê Marcondes 38213cd0e5
[APM] Fixing synthtrace import location (#117017) 2021-11-02 15:38:13 +00:00
Patryk Kopyciński da5371dee5
[Osquery] Fix 7.16.0 BC3 issues (#117105) 2021-11-02 16:37:15 +01:00
Byron Hulcher 0c5952a7d3
[App Search] Update API namespace and routes for Search Relevance Suggestions/Adaptive Relevance (#116994) 2021-11-02 11:32:40 -04:00
Nathan Reese a749f21526
[Maps] fix unable to pluck style meta from local data for geo_grid ve… (#117033)
* [Maps] fix unable to pluck style meta from local data for geo_grid vector tiles for any property other then count

* use metric instead of field value to be more precise

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 09:24:52 -06:00
Jason Stoltzfus 441d77853f
Remove analytics event (#116995) 2021-11-02 11:21:45 -04:00
Corey Robertson 3742d46b0f
Fix shortcut docs (#114115)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 11:07:08 -04:00
Madison Caldwell 089505956d
Implement suggestions from PR #116491 (#117014) 2021-11-02 10:54:07 -04:00
Alexey Antonov 4802623502
[TSVB] [Timelion] Brushing is broken for the string mode (#117106)
Closes: #116734
2021-11-02 17:42:22 +03:00
Cauê Marcondes 4eca663c08
[APM] Error distribution chart comparison label and layout fix (#117004)
* fixing bucket size when no data available

* fixing layout

* removing import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 14:34:22 +00:00
Frank Hassanabad 4bdc17039b
[Security Solutions] end to end tests, adds more console logging, removes 200 expect statements (#116987)
## 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
2021-11-02 08:28:48 -06:00
Julia Bardi 157a37114f
[Fleet] cypress setup (#113106)
* added cypress setup for fleet

* updated readme

* fixed types

* fix unused

* starting up fleet server in cypress

* added more fleet tests

* added package update test

* updated readme

* trying jenkins run

* trying jenkins run

* trying jenkins run

* fix types, cypress config

* example of mocked requests

* added getBySel

* fix test after refactor

* removed duplication

* fix tests

* added to buildkite

* updated tests

* starting agent with docker

* trying to fix ip address

* ifconfig

* ip address

* ip address

* ip address

* type fix

* remove extra logging

* fixed test

* fix buildkite

* cleanup

* cleanup

* using docker for fleet_server

* fix

* fix

* trying to fix

* update config

* test

* test

* test

* test

* revert changes

* test

* test

* static ip on linux

* docker version

* try again

* fixed review comments

* fixed types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
2021-11-02 15:14:28 +01:00
Caroline Horn 1860f8759e
[Global Nav] Moved Overview page/link to the accordion/Solution title (#114018)
* [Global Nav] Moved Overview page/link to the accordion/Solution title
* Using Cloud logo for deployment link and fixing isActive state
* Change Deployment section to dark background
* Completely remove locking ability
* Change buttonElement if overview page exists
* Snaps from button/div
* PR Feedback:
  - Puts `Overview` links back for Observability and Security
  - Increases hit area and scopes underline of anchor tag within the accordion header
  - Uses `id`’s to find Overview pages instead of `title` text
2021-11-02 10:12:11 -04:00
Tobias Stadler 55fb58b9f4
xpack.actions.{proxy}VerificationMode is actual xpack.actions.ssl.{proxy}VerificationMode (#114593)
* 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>
2021-11-02 10:05:51 -04:00
Tim Sullivan 2a1eaadeb8
[Reporting] Stabilize ILM test for Cloud (#117003)
Closes https://github.com/elastic/kibana/issues/109456
2021-11-02 06:57:52 -07:00
Mark Hopkin f130759e82
[Fleet] Fix add agent help not closing when button clicked (#117104)
* close help popover when button clicked

* reduce popover z-index to hide behind modals
2021-11-02 13:12:14 +00:00
Tiago Costa 4d8363a92d
skip flaky suite (#116881) 2021-11-02 13:02:14 +00:00
Michael Dokolin 02e8271e36
[Data] Add extra logging to detect flaky test problem (#113661) 2021-11-02 13:53:54 +01:00
Tiago Costa 0de567aa99
skip flaky suite (#116070) 2021-11-02 12:51:58 +00:00
Nicolas Chaulet 63cf1d0ab5
[Fleet] Delete non existing streams in overrideInputs (#116998) 2021-11-02 08:43:22 -04:00