Commit graph

47855 commits

Author SHA1 Message Date
Kibana Machine e620fec087
add critical level to all fleet deprecations (#117332) (#117477)
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-11-04 11:58:24 +00:00
Kibana Machine 83075007b1
Fix flaky test (#117372) (#117473)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
2021-11-04 10:54:12 +00:00
Kibana Machine ff3c0d4d25
[Home] Adding upload data link to home page (#117129) (#117336)
* [Home] Adding upload data link to home page

* renaming link

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-11-04 10:02:41 +00:00
Kibana Machine e57cb4e761
[ML] Removing log error statements when no ingest pipelines exist (#117281) (#117381)
* [ML] Removing log error statements when no ingest pipileins exist

* removing non 200 status code check

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-11-04 09:52:31 +00:00
Kibana Machine 1fc225b876
[vscode] ignore tsconfig.tsbuildinfo and .map files (#117458) (#117467)
Co-authored-by: Spencer <email@spalger.com>
2021-11-04 06:05:11 +00:00
Kibana Machine a4d6d8cbf5
[Security Solution][Platform] - Update rule exported counts to include total object count (#116338) (#117463)
### Summary

Addresses #116330.

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-11-04 05:51:02 +00:00
Tim Sullivan 6fca6a982b
[Reporting] clean up config tests (#117411) (#117466) 2021-11-04 05:40:02 +00:00
Kibana Machine 3e6fe7c332
Delete legacy URL aliases when objects are deleted or unshared (#117056) (#117461)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-11-04 04:42:45 +00:00
spalger cee9be86c7 fix buildkite yaml 2021-11-03 23:04:34 -05:00
Kibana Machine 674f32e56e
[APM] Re-enable metric-based ui (#117021) (#117459)
Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2021-11-04 03:44:01 +00:00
Spencer 7d3d79e6a1
[8.0] [eslint] enable type-specific lint rules (#114184) (#117444)
* [eslint] enable type-specific lint rules (#114184)

* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/share/common/index.ts

* autofix more types

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-04 03:02:56 +00:00
Kibana Machine 1064adb5ce
[docs] document using your @elastic.co email to commit (#117428) (#117452)
Co-authored-by: Spencer <email@spalger.com>
2021-11-04 02:51:37 +00:00
Kibana Machine a29bbc075c
chore(NA): creates wrapper macro for ts_project rule (#117424) (#117454)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-11-04 02:38:45 +00:00
Tim Sullivan d891dfc506
[Reporting] Internally correct the hostname to "localhost" if "server.host" is "0.0.0.0" (#117022) (#117441)
* [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-04 00:14:31 +00:00
Tim Sullivan fc96462343
[Reporting/Tests] Consolidate test archives, move kbn objects to kbn_archiver (#116528) (#117440)
* 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-04 00:11:41 +00:00
Kibana Machine 181b042a82
chore: rename useUrlParams to useLegacyUrlParams (#116062) (#117373)
* chore: rename useUrlParams to useLegacyUrlParams

* fix: revert uptime & fleet changes

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

Co-authored-by: Lucca Miranda <42002892+luckened@users.noreply.github.com>
2021-11-04 00:03:57 +00:00
Kibana Machine e6f52d9467
[RAC][Timeline] - Add audit log to RBAC wrapped search strategy (#112040) (#117427)
### Summary

Went back to add audit logging to the alerts table search strategy used to query RAC alerts. This PR also includes tests for the logging.

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-11-03 23:19:15 +00:00
Kibana Machine 9074bf3882
Show correct completed response message on activity log (#117407) (#117433)
Co-authored-by: Ashokaditya <am.struktr@gmail.com>
2021-11-03 23:16:52 +00:00
Kibana Machine 36242b2348
[Security Solution][RAC][Cases] Fix RAC "add to case" functionality from alerts table (#116768) (#117426)
* Fix add to case functionality

* Use appropriate owner when attaching an alert to a case

* Use field name constants

* Gotta reskip the test

* Better error handling

* Fix type errors

* Fix tests

Co-authored-by: Madison Caldwell <madison.rey.caldwell@gmail.com>
2021-11-03 22:56:02 +00:00
Kibana Machine 56aa84e697
[Discover] Fix time interval warning (#116606) (#117431)
* [Discover] fix time interval warning

* [Discover] apply suggestions

* [Discover] return check

* [Discover] fix typo

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 22:51:42 +00:00
Kibana Machine 41ed6e8294
[docs] fix direct branch injection into docs links (#116794) (#117230)
* [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>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-03 22:45:06 +00:00
Kibana Machine be4500f744
[ML] Add tests for anomaly embeddables migrations (#116520) (#117429)
* [ML] Add tests for anomaly charts embeddable migrations

* [ML] Broaden tests for anomaly swimlane as well

* [ML] Fix function rename

* [ML] Update tests to use bulk api

* [ML] Remove override

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

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2021-11-03 22:37:32 +00:00
Kibana Machine 3a335528bf
[APM] Don't use transaction metrics if set to never (#117370) (#117414)
Closes #117226.

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-11-03 21:26:55 +00:00
Kibana Machine 7f44486c93
[Uptime] increase timeout and clear mocks for UptimeDatePicker flaky test (#117346) (#117416)
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-03 21:25:01 +00:00
Nick Partridge 6fe0e5079a
fix cursor theme issues (#117323) 2021-11-03 21:05:29 +00:00
Kibana Machine 9115a5cf15
Remove Fleet setup call from Integrations app (#117383) (#117409)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-11-03 21:04:45 +00:00
Kibana Machine e9ce6bd35a
Fix a bug where error not displaying when connector misconfigured (#117348) (#117395)
This PR fixes a bug where the error was not displaying when misconfigured connector was connected and redirected back. The issue was that the redirect was occuring after the flash message was set and the fix was to redirect and then show the flash message

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-11-03 20:28:16 +00:00
Kibana Machine f343c9faf1
Add default CSS if workpad CSS is missing in Canvas (#109961) (#117392)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-11-03 19:57:02 +00:00
Kibana Machine 9e1409502a
Move reporting job types to /common (#114400) (#117388)
* move pdf types to /common folder

* move pdf v2 types to /common folder

* move png v2 types to /common folder

* move png types to /common

* move csv_searchsource_immediate types to /common

* move csv_searchsource type sto /common

* move csv types to /common folder

* export job params types on server and client

* use JobParamsPDF in example app

* use JobParamsPDFV2 in Canvas

* dont export twice

* export JobId

* improve export syntax

* update jest snapshot

* fix imports

* add JobAppParamsPDFV2 type

* add JobAppParamsPDF type

* update test snapshot

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

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-11-03 19:46:52 +00:00
Poff Poffenberger c92257d08d
Add default CSS if workpad CSS is missing in Canvas (#109961) (#117390) 2021-11-03 19:46:22 +00:00
spalger a9144b98a5 skip flaky suite (#44575)
(cherry picked from commit 3d867400d8)
2021-11-03 19:42:06 +00:00
Kibana Machine 4108fe8933
Fix bug where cache is rebuilt incorrectly (#114105) (#117384)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-11-03 19:07:31 +00:00
Kibana Machine 04ad4948de
[QA][refactor] cleanup discover test, add time format fn (#116617) (#117359)
* [QA][refactor] discover test

Drop two saved objects: search and idx pattern,
in the after method.

Add the formatting fn to the common page,
such that every time setTime is invoked, the time is
formatted to address: https://momentjs.com/guides/#/warnings/js-date/

* Add docs, per CR.

* Add docs, per CR.

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

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-11-03 17:50:37 +00:00
Kibana Machine e474a5dbd1
[QA][X Pack] Swap es archiver for kbn archiver - advanced settings (#101842) (#117361)
Drop all empty kibana calls

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

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-11-03 17:48:21 +00:00
Kibana Machine affd312c59
[QA][X Pack] Swap es archiver for kbn archiver - APM specs (#102102) (#117357)
Drop all empty kibana calls

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

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-11-03 17:46:54 +00:00
Kibana Machine 67fe47c3b9
Fix undo/redo and SO.resolve redirect issues (#116773) (#117350)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-11-03 17:35:25 +00:00
Kibana Machine 40703421d6
Migrate es_archives/lens/basic/ to kbnArchiver (#108120) (#117345)
Co-authored-by: Bhavya RM <bhavya@elastic.co>
2021-11-03 17:26:26 +00:00
Kibana Machine 1a95660968
Fixed curations (#117297) (#117340)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-11-03 17:08:44 +00:00
Kibana Machine 7ee325a5b8
[8.0] fix: move concurrency parameters to substep (#116461) (#116637)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Baturalp Gurdin <9674241+suchcodemuchwow@users.noreply.github.com>
2021-11-03 10:45:18 -06:00
Kibana Machine 6a85657894
Removing perf_hooks from task manager (#117294) (#117330)
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-11-03 16:38:36 +00:00
Kibana Machine 81f73ef34d
[Discover] Fix doc viewer field column Field and Value width issues (#117121) (#117319)
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
2021-11-03 16:23:57 +00:00
Kibana Machine 8c49c871b7
[Visualize] Fixes wrong header menu when navigating from a dashboard to a by ref viz (#117077) (#117322)
* [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>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-03 16:23:47 +00:00
Kibana Machine 85487951fc
[Fleet] Package policy upgrade telemetry with sender (#115180) (#117295)
* 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>

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2021-11-03 16:17:37 +00:00
Kibana Machine a0e1c46051
APM RUM integration - number of resources loaded from network (#116923) (#117314)
* 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>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-11-03 15:46:52 +00:00
Jean-Louis Leysens ba7667ebbf
[Share] The redirect app path should not appear in the browser history (#117155) (#117309)
* 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:32:36 +00:00
Walter Rafelsberger 275a4ed103
[ML] Fix boolean field support. (#116608) (#117080)
Fixes support for boolean field types to be accepted as field candidates for APM correlation and failed transaction analysis.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 15:30:18 +00:00
Tiago Costa 999d00d19f
skip flaky suite (#83824) 2021-11-03 15:14:09 +00:00
Kibana Machine 3a739875ac
[charts] Fix multilayer time axis styles (#116749) (#117296)
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

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-11-03 14:38:06 +00:00
Kibana Machine 3b8a80b95b
[Security Solution] Fixes skipped test (#115757) (#117287)
* 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>

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-11-03 13:51:56 +00:00
Tiago Costa e612a34c41
skip flaky suite (#115473 , #115474 , #116889 , #117081 , #116891 , #116890) 2021-11-03 12:39:03 +00:00