Commit graph

45524 commits

Author SHA1 Message Date
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
Tiago Costa
a7fe773bb8
chore(NA): moving @kbn/plugin-helpers to babel transpiler (#109085)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 19:13:33 +01: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
Spencer
7e2bd4fd54
[ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-19 11:40:23 -05: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
Alejandro Fernández Haro
d522cae193
Use https in package.json links (#109241) 2021-08-19 10:41:31 -04:00
Tiago Costa
eec7bb318b
skip flaky suite (#95376) 2021-08-19 15:31:52 +01:00
Tiago Costa
2d835422e4
Merge remote-tracking branch 'upstream/master' 2021-08-19 15:30:42 +01:00
Mikhail Shustov
76eafd8803
exclude tsx test and mock files from test coverage (#109203) 2021-08-19 09:26:24 -05:00
Pierre Gayvallet
e88d77b045
Remove unused chrome APIs (#109204)
* remove unused chrome APIs

* update generated doc

* fix tests

* fix tests bis
2021-08-19 16:23:30 +02:00
Pablo Machado
7d03ef7368
Fix black scroll bar on alert count table (#109096) 2021-08-19 09:09:53 -04:00
Alejandro Fernández Haro
3cb3984d59
[Flaky-tests] Fix SOM edit-saved-objects test (#109215) 2021-08-19 08:40:56 -04:00
Tiago Costa
8e4e7b25bc
Merge remote-tracking branch 'upstream/master' 2021-08-19 12:44:14 +01: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
Tiago Costa
df112dd880
chore(NA): moving @kbn/plugin-generator to babel transpiler (#109083)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 12:27:42 +01:00
Tiago Costa
a48506788a
Merge remote-tracking branch 'upstream/master' 2021-08-19 12:07:23 +01:00
Stratoula Kalafateli
4419efcbd0
[XY, Pie] Long legend values support (#108365)
* [XY, Pie] Long legend values support

* Update vislib snapshots

* Fix truncate labels to work only for slice labels positioned outside the chart

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 12:36:23 +03:00
Aleh Zasypkin
cb0ce59376
Introduce Enroll API endpoint. (#108835) 2021-08-19 11:24:32 +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
Matthias Wilhelm
544c41e214
[Discover] Unskip discover tab field data functional tests (#107305) 2021-08-19 08:18:28 +02:00
Stratoula Kalafateli
2172b88dae
Fix flakiness in load and save agg-based visualizations (#109066)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 09:04:53 +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
Jonathan Budzenski
64454f3283 Revert "[build] Remove optimize dir creation (#109014)"
This reverts commit c2f310006d.
2021-08-18 20:05:16 -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
Scotty Bollinger
83a7720196
[Workplace Search] Fix rendering bug on Private Source status (#109122)
* Fix rendering bug on Private Source status

* Fix rendering bug on Private Source status

* Refactor per code review
2021-08-18 17:56:36 -04:00
Luke Elmers
49ba7e746c
Add deprecation notice to dashboard import/export docs. (#108826) 2021-08-18 14:46:17 -06:00
mgiota
8c8dca6ad2
[RAC] [Observability] Use simpler alert severity level mapping (#109068)
* [RAC][Observability] remove severity fields from mapping keep only ALERT_SEVERITY

* temporarily remove severity value occurences

* remove ALERT_SEVERITY_VALUE occurences, this value is not being read and shown in the Observability alerts table

* remove duplicate ALERT_SEVERITY identifier

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 16:29:24 -04:00
Jonathan Budzenski
c2f310006d
[build] Remove optimize dir creation (#109014) 2021-08-18 14:53:19 -05:00
Tiago Costa
51c15945f2
chore(NA): moving @kbn/mapbox-gl to babel transpiler (#109082)
* chore(NA): moving @kbn/mapbox-gl to babel transpiler

* chore(NA): structure exports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 15:51:52 -04:00
Nathan Reese
dd9dd52718
[maps] remove tile_map, region_map, and maps_legacy plugins (#105326)
* [maps] remove tile_map plugin

* initial bounds

* update embeddable query context

* start editor

* remove tile_map from tsconfig and i18n cleanup

* implement view in maps button

* tslint

* remove empty lines

* remove tileMap from limits.yml

* remove region_map and maps_legacy plugins

* region_map vis with Map embeddable

* make MapComponent

* lint

* clean up

* shorten text

* lint

* remove region_map from interpreter functional tests

* update docs

* add migration for removing ui_settings

* remove tile_map and region_map functional tests

* tslint

* call handlers.done when layers are loaded

* fix visualize create menu test

* eslint

* add owner comment to ui_settings/saved_objects/migrations.ts

* remove deleted plugins from codeowners

* review feedback

* use correct value for TILE_MAP_RENDER

* down select mapModules for getLayerDescriptors callback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 12:51:31 -06:00
Yara Tercero
9fa41d1aef
[Security Solution] - Updating UI to work with new kibana privileges abstraction on alerts (#108961)
## Summary

Holy moly. 

What is happening in this PR? 🤷🏽‍♀️ Let's break it down:
- Added a package `@kbn/alerts` - another one?! ...yes
  - This is meant to add shared hooks and components around alerts as data
  - `useGetUserAlertsPermissions` - accepts the Kibana capabilities object and returns whether the user has `read` and `crud` alerts privileges
  - `AlertsFeatureNoPermissions` - component displayed when user does not have alerts privileges
- UI changes for user with NO alerts privileges
  - `Alerts` tab hidden in security solution side navigation
  - `Alerts` tab hidden in rule details page  
- UI changes for user with alerts READ ONLY privileges
  - alerts checkboxes hidden in alerts table
  - alerts bulk actions hidden in alerts table
2021-08-18 14:48:31 -04:00
Vadim Yakhin
25a167a534
Limit the height of icon and logo on branding page (#109123)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 14:17:39 -04:00
Dario Gieselaar
2e5eb5ce66
[APM] Prevent infinite loop when updating time range (#109043)
Closes #108983.
2021-08-18 12:26:44 -05:00
Liza Katz
fd676afb9c
text improvement (#109111) 2021-08-18 19:21:26 +02:00
Mikhail Shustov
b53b2cdc35
[Elasticsearch] remove legacy es client (#107619)
* remove legacy es client

* update docs

* uninstall elasticsearch package

* fix global_search tests

* ad-hoc fix to address bazel failure. authored by Tiago

* update docs

* remove elasticsearch import. errors are muted with @ts-ignore

* Update WORKSPACE.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* update docs

* fix problem when dev mock already mocked client

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-18 19:18:05 +02:00
Chris Donaher
fa8e53f9f0
Security Telemetry Usage Telemetry Counters (#108735)
* added UsageCounter to SecuritySolution app to be passed to telemetry and other plugins as needed

* Add counters for payloads and helpers for naming

* Fixed some typing issues

* Fixed eslint errors

* Still more eslint fixes

* Missed an eslint fix again

* Incorrect import order

* Addressed some review comments

* Added unit test for UsageCounter inside TaskSender

* Fixed some import checks

* incrementCounter unittest needs questionmark to handle undefined case

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 11:06:04 -06:00
Nathan Reese
7be0bb9c78
Abort full screen in dashboard and maps when user clicks back button (#108747)
* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 11:01:47 -06:00
Tiago Costa
d9c1677f4b
chore(NA): adds 7.16 into backportrc (#109128) 2021-08-18 17:37:52 +01:00