Commit graph

17810 commits

Author SHA1 Message Date
Devon Thomson 95463f47f3
[Dashboard] Remove Legacy Dashboard Only Mode (#108103)
Remove all dashboard only mode code and tests. Align dashboard permissions to use showWriteControls only
2021-08-20 15:39:10 -04:00
Chris Cowan d4b4b0e7b0
[Metrics UI] Re-enabled saved view tests (#108725)
* [Metrics UI] Re-enabled saved view tests

* Adding ensureViewIsLoadable back in

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:33:04 -06:00
Xavier Mouligneau e8e53e36e5
[RAC] Get o11y alerts in alerts table (#109346)
* get back index names  in o11y

* testing and integration

* fix types

* Avoid using the rule data client for field list

* Remove left-over index argument

* no needs of alert consumer anymore

Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
2021-08-20 12:52:34 -04:00
Justin Kambic cb3d353a36
Remove references to deprecated IIndexPattern. (#109347) 2021-08-20 12:08:54 -04:00
Marco Vettorello 958a3ba28a
fix(heatmap): remove duplicate legend items (#109338) 2021-08-20 17:09:22 +02:00
Jean-Louis Leysens 132f55d362
fix check for security and added jest test (#109429) 2021-08-20 11:03:38 -04:00
Casper Hübertz 8ab068ae1e
[APM] Change panel style for license prompt (#109386) 2021-08-20 16:55:25 +02:00
Aleh Zasypkin 0e39eeb8a9
Remove dashbord_only_user role asserting from the reserved roles test. (#109422) 2021-08-20 16:07:09 +02:00
Pete Hampton 0f75573b0f
Exception List Telemetry (#107765) 2021-08-20 14:03:37 +01:00
Alison Goryachev fcd89703f7
[Upgrade Assistant] New ES deprecations page (#107053) 2021-08-20 08:54:50 -04:00
Nathan Reese c635216a6c
[Maps] fix edit layer settings action showing when readonly (#109321)
* [Maps] fix edit layer settings action showing when readonly

* remove unneeded file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 06:10:14 -06:00
Walter Rafelsberger ca6bb4b6d1
[ML] APM Latency Correlations: Fix formatting of duration values for log x axis and selection badge. (#109214)
- Fix, clean up and unit tests for the log log charts x axis duration based ticks. This extends existing duration utilities to support a custom threshold to be able to fine tune the formatting for either single values with more detail or chart axis ticks where less detail is required. This is useful for log axis that cover a wider range of units. As can be seen in the screenshot, axis ticks will be formatted as full seconds from 1s onwards instead of 1,000 ms already up to 10 seconds. Because the threshold parameter is optional and defaults to 10, other uses of getDurationFormatter don't need to be changed.
- Fixes the formatting of the selection badge.
2021-08-20 06:57:28 -04:00
Tiago Costa 9fb152a92f
chore(NA): moving @kbn/logging to babel transpiler (#108702)
* chore(NA): moving @kbn/logging to babel transpiler

* chore(NA): fix imports for @kbn/logging

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:54:46 +01:00
Tiago Costa 9c24e8f70f
chore(NA): moving @kbn/interpreter to babel transpiler (#108512)
* chore(NA): moving @kbn/interpreter to babel transpiler

* chore(NA): fix imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:50:40 +01:00
Tiago Costa c6fdef4e0d
skip flaky suite (#102282) 2021-08-20 11:44:11 +01:00
Alejandro Fernández Gómez 5fd903b7fe
[RAC] Enable workflow status filtering (#108215)
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 12:07:09 +02:00
Sergi Massaneda 60af98a1b7
fix unit prop and default it only in the tGrid body (#109252) 2021-08-20 11:29:03 +02:00
Stratoula Kalafateli cb868928a7
Move to vis types part 1 (#107535)
* Move to vis types part 1

* Fix types

* fix more types

* Fix paths

* Update readme file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:43:21 +03:00
Pablo Machado 4274a2bf68
Preserve timeline data when navigating between tabs (#106716) 2021-08-20 09:45:47 +02:00
Marta Bondyra e18370a7c0
fix dnd tests (#109271)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 10:45:19 +03:00
Tim Sullivan 91630c63cf
[Reporting/Telemetry] Include counts for each deprecated job type (#108614)
* add isDeprecated to report meta for telemetry

* test clean up

* update snapshots

* Update x-pack/plugins/reporting/server/usage/decorate_range_stats.ts

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2021-08-19 22:24:13 -04:00
Clint Andrew Hall 5f9193d24c
Fix height of editor when maximized (#109161) 2021-08-19 22:12:50 -04:00
Cauê Marcondes 442d9c3274
[APM] Rum service details doesn't show any data (#109117)
* removing existing filter

* fixing unit test

* replacing terms agg for should filter

* fixing test
2021-08-19 19:46:05 -04:00
Tiago Costa d155a94fce
skip failing es promotion suite (#109351) 2021-08-19 23:09:49 +01:00
Tiago Costa 96dfabd51b
skip failing es promotion suite (#109349) 2021-08-19 23:00:44 +01:00
Tiago Costa e14f814518
skip flaky suite (#109329) 2021-08-19 22:02:15 +01:00
Cauê Marcondes 6317202fb6
[APM] Hash-based links into APM app don't work (#108777)
* fixing navigation issues

* addressing PR comments
2021-08-19 16:29:27 -04:00
Jonathan Buttner 1fd7038b34
[Cases] Include rule registry client for updating alert statuses (#108588)
* Trying to get import to work

* Plumbed alerts client through and logging errors

* No longer need the ES cluster client

* Fixing types

* Fixing imports

* Fixing integration tests and refactoring

* Throwing an error when rule registry is disabled

* Reworking alert update and get to catch errors

* Adding tests and fixing errors
2021-08-19 16:01:39 -04:00
Ignacio Rivas 3f3ee69c92
[Upgrade Assistant] Overview page should reference nextMajor (#109222)
* Should use nextMajor instead of currentMajor

* Fix small CR changes
2021-08-19 21:19:20 +02:00
Tre 7f68ff269c
[Archive Migration] x-pack..dashboard_view_mode (#108503) 2021-08-19 19:48:26 +01:00
Melissa Alvarez 63db90b0c4
[ML] Anomaly detection: Adds functional test for delayed data chart flyout (#109026)
* wip add delayed data functional test

* adds delayed data functional test

* add menu check for stability and reorganize functions

* ensure describe block is self contained
2021-08-19 14:33:29 -04:00
Gloria Hornero 91910dbecd
Bringing cypress tests back (#109129)
* fixes threshold cypress tests

* add ticket command

* fixes threshold cypress tests

* add ticket command

* fixes 'Creates a new case with timeline and opens the timeline' test

* unskips navigation tests

* removes 'sets correct classes when the user starts dragging a host, but is not hovering over the data providers' test since we are not supporting drag and drop on timeline

* removes drag and drop related tests from 'data_providers.spec.ts'

* modifies todo on skipped exceptions tests to add more clarity

* fixes 'attach' to case and local storage test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 20:14:02 +02:00
David Sánchez 79e63cc654
[Security solution] [Endpoint] Remove linked policy from trusted apps when removing endpoint integration (#108347)
* Remove policy from trusted app when this is removed from fleet
* Fleet: run package delete external callbacks when the Agent Policy is deleted
2021-08-19 13:45:55 -04:00
CJ Cenizal 8d1ebea7db
Migrate Stack Management apps to consume internal EuiCodeEditor (#108629)
* Migrate Index Management to use internal EuiCodeEditor.
* Migrate Rollup to use internal EuiCodeEditor.
* Migrate Snapshot and Restore to use internal EuiCodeEditor.
* Migrate Watcher to use internal EuiCodeEditor.
* Add default setOptions values to EuiCodeEditor.
2021-08-19 10:23:55 -07:00
Tiago Costa 25535e9682
skip flaky suite (#109260) 2021-08-19 18:21:14 +01:00
Mike Côté 91d117d095
Add legacyId field and set to current rule id (#108196)
* Initial commit

* Rules client to set legacyId when creating a rule in < 8.0.0

* Set legacyId to null on export, change empty state of legacyId from undefined to null

* Fix broken tests

* Refactor create.test.ts to avoid increasing file size

* Fix broken test
2021-08-19 13:08:54 -04:00
Angela Chuang 9d4c062e64
[Security Solution] TopN chart styling issue (#109007)
* fix topN style

* add unit tests for topN

* add unit tests

* review
2021-08-19 12:35:28 -04:00
Tim Sullivan 5957d313e0
remove layout.selectors from job parameters (#109010)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 09:12:06 -07:00
Mikhail Shustov fe96d3c96e
Remove LegacyRequest type from Core public API (#109243)
* remove LegacyRequest from public API

* remove LegacyRequest from Security plugin API

* update docs

* remove an obsolete comment
2021-08-19 11:11:58 -04:00
liza-mae 7cc59d7f6a
Fix maps upgrade test (#109088)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 09:00:42 -06:00
Søren Louv-Jansen a93a7efa80
[APM] Refactor Cypress e2e tests (#109024)
* Improve script to setup users and roles

* fix readme

* CI fixes

* add index permissions to roles

* disable welcome screen

* Run es archive once before tests

* Fix ts issues

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-08-19 16:46:25 +02:00
Pablo Machado 7d03ef7368
Fix black scroll bar on alert count table (#109096) 2021-08-19 09:09:53 -04:00
Dima Arnautov 6c1133ad7c
[ML] Fix date formatting in the alert context of the Anomaly detection job health rule type (#109073)
* [ML] extend alert messages with job ids

* [ML] rename getJobsErrorMessages

* [ML] add rule name to a template

* [ML] utilize fieldFormats plugin for date formatting

* [ML] update types

* [ML] update unit tests

* [ML] guards for uiSettings and fieldRegistry, add custom errors

* [ML] add conditional call for uiSettings

* [ML] fix i18n

* [ML] tests for getCustomError

* [ML] fix i18n check

* [ML] create classes for custom errors
2021-08-19 13:42:06 +02:00
Stratoula Kalafateli fe08d0aa21
[TSVB] Long legend values support (#108023)
* [TSVB] Supports legends with long values

* Add a unit test

* Design optimization

* Revert changes

* Add the missing prop type

* Ensure that the limits are respected

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 11:27:18 +03:00
Stratoula Kalafateli e7098ad7aa
Fixed flakiness with visualize custom role (#109077)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 09:04:03 +03:00
Quynh Nguyen 4d0623ee25
[ML] Add tooltip help text for Transform filter query control (#108720)
* [ML] Add tooltip help text

* [ML] Remove unused import

* [ML] Update tooltip content to be clearer

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 01:28:52 -04:00
ymao1 48ce73db15
[Alerting] Update rules detail page to resolve SO IDs if necessary (#108091)
* Adding internal resolve API to resolve rules given an ID

* Updating after merge

* Updating after merge

* Adding resolveRule api to client and adding spacesOss plugin dependency

* Handling 404 errors by calling resolve. Updating unit tests

* Handling aliasMatch and conflict results

* Fixing types

* Unit tests for spaces oss components

* Adding audit event for resolve

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 22:32:19 -04:00
Nathan L Smith 09f122b478
Increase width of service inventory sparkplot columns (#109137)
From 160 to 176px. Prevents overlapping of the labels.

Fixes #109103.
2021-08-18 21:25:32 -05:00
Nicolas Chaulet f719aa4031
[Fleet] Missing migration backport in 7.14.0 (#109174) 2021-08-18 19:02:11 -04:00
Candace Park 447ae98bc8
[Security Solution][Endpoint][Event Filters] Event filters updated UI (#109039) 2021-08-18 18:20:31 -04:00