Commit graph

43867 commits

Author SHA1 Message Date
Kibana Machine d178a2163a
Use https in package.json links (#109241) (#109257)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-19 13:06:37 -04:00
Kibana Machine f9d9e8193a
[Flaky-tests] Fix SOM edit-saved-objects test (#109215) (#109245)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-19 11:05:31 -04:00
Tiago Costa 755a9fe139
skip flaky suite (#95376) 2021-08-19 15:32:22 +01:00
Kibana Machine 25c3813cd2
[ML] Fix date formatting in the alert context of the Anomaly detection job health rule type (#109073) (#109236)
* [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

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-08-19 10:04:28 -04:00
Kibana Machine c21b885c47
chore(NA): moving @kbn/plugin-generator to babel transpiler (#109083) (#109230)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-19 09:52:50 -04:00
Kibana Machine 169ec9a349
[XY, Pie] Long legend values support (#108365) (#109212)
* [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>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 08:01:55 -04:00
Kibana Machine cfa0f14e14
[TSVB] Long legend values support (#108023) (#109207)
* [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>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 06:49:50 -04:00
Kibana Machine 613f0d95a6
Fix flakiness in load and save agg-based visualizations (#109066) (#109201)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 04:23:28 -04:00
Kibana Machine ddeae4640f
Fixed flakiness with visualize custom role (#109077) (#109199)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 04:22:17 -04:00
Kibana Machine 3ae3975f7c
[ML] Add tooltip help text for Transform filter query control (#108720) (#109195)
* [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>

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-08-19 03:50:50 -04:00
Kibana Machine 35f9af3981
[Alerting] Update rules detail page to resolve SO IDs if necessary (#108091) (#109194)
* 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>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-08-19 00:53:27 -04:00
Kibana Machine d9c71d4831
Increase width of service inventory sparkplot columns (#109137) (#109193)
From 160 to 176px. Prevents overlapping of the labels.

Fixes #109103.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-08-19 00:50:26 -04:00
Alison Goryachev 424eff9e8f
[Upgrade Assistant] Enable UA for 7.16 (#109162)
* skip ua functional and a11y tests
2021-08-18 19:47:04 -07:00
Kibana Machine 0860203523
[Fleet] Missing migration backport in 7.14.0 (#109174) (#109185)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-08-18 21:25:31 -04:00
Kibana Machine 284d47a407
[Security Solution][Endpoint][Event Filters] Event filters updated UI (#109039) (#109182)
Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com>
2021-08-18 20:48:10 -04:00
Kibana Machine d7b6910131
[Workplace Search] Fix rendering bug on Private Source status (#109122) (#109179)
* Fix rendering bug on Private Source status

* Fix rendering bug on Private Source status

* Refactor per code review

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-08-18 20:16:26 -04:00
Kibana Machine c431cb5f25
Add deprecation notice to dashboard import/export docs. (#108826) (#109176)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-08-18 19:07:57 -04:00
Kibana Machine 6ef22bee53
[RAC] [Observability] Use simpler alert severity level mapping (#109068) (#109172)
* [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>

Co-authored-by: mgiota <giota85@gmail.com>
2021-08-18 18:51:10 -04:00
Kibana Machine 8f910f4308
chore(NA): moving @kbn/mapbox-gl to babel transpiler (#109082) (#109164)
* chore(NA): moving @kbn/mapbox-gl to babel transpiler

* chore(NA): structure exports

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-18 18:15:20 -04:00
Kibana Machine 4445dd7c90
[Security Solution] - Updating UI to work with new kibana privileges abstraction on alerts (#108961) (#109156)
## 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

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-08-18 17:19:37 -04:00
Kibana Machine 64da60fd88
Limit the height of icon and logo on branding page (#109123) (#109152)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-08-18 16:37:45 -04:00
Kibana Machine 28b945721b
[APM] Prevent infinite loop when updating time range (#109043) (#109147)
Closes #108983.

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-08-18 15:53:23 -04:00
Kibana Machine e82c8f9f48
text improvement (#109111) (#109145)
Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-18 15:48:32 -04:00
Mikhail Shustov 9f78d17e8f
[Elasticsearch] remove legacy es client (#107619) (#109144)
* 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>
# Conflicts:
#	src/core/server/elasticsearch/legacy/scoped_cluster_client.test.ts
2021-08-18 15:41:25 -04:00
Kibana Machine 0101c8d9b6
Security Telemetry Usage Telemetry Counters (#108735) (#109142)
* 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>

Co-authored-by: Chris Donaher <christopher.donaher@elastic.co>
2021-08-18 15:36:39 -04:00
Kibana Machine 47da73750a
Abort full screen in dashboard and maps when user clicks back button (#108747) (#109140)
* [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>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-08-18 15:31:40 -04:00
Tiago Costa 7b07a2a6fe
chore(NA): bump version to 7.16.0 (#109126)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 14:59:40 -04:00
Kibana Machine d4fd5d7ac0
[TSVB] Fix Markdown variables are not available on the first rendering (#108836) (#109131)
* [TSVB] Markdown variables are not available on the first rendering

Closes: #108721

* Update editor_controller.tsx

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-18 14:56:26 -04:00
Kibana Machine eb5314c1e1
[RAC][Observability] temporarily hide severity column (#109004) (#109125)
* [RAC][Observability] temporarily hide severity column

* remove severity from flyout & rename Trigerred to last updated

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

Co-authored-by: mgiota <giota85@gmail.com>
2021-08-18 14:31:24 -04:00
Josh Dover 76e9e96905
[7.x] Update onboarding interstitial to handle default Fleet assets (#108193) (#109074)
* Update onboarding interstitial to handle default Fleet assets (#108193)

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

* Skip flaky test
2021-08-18 14:16:12 -04:00
Kibana Machine 5c6b1fe5e3
[Security Solution] Correct the spelling of behavior in Endpoint policy config (#108969) (#109119)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2021-08-18 13:53:30 -04:00
Kibana Machine cfea03be4f
Home Page Style Tweaks (#108989) (#109120)
* balance solutions

* clean up solution changes

* change footer button size

* update management section

* apply max-width to management items

* remove right side items from page header

* add data content update

* illustration poc

* add data content updates per feedback

* img size and alignment

* moved shared images to shared assets folder

* more solutions clean up

* rm unneeded import

* remove references to subtitle and appDescriptions

* update tests and snapshots

* more test and snapshot updates

* restore solution sort order

* ts and jest fixes; thx catherine!

* i18n fixes

* use new `KibanaPageTemplateSolutionNavAvatar` comp

* change solution imgs from png to svg

* update tests and snapshots

* rm spacer and update snapshots

* account for flex margin changes in img offset

* Change "Kibana" overview page text to "Analytics"

* update overview icon to match hp changes

* update snapshots

* center justify solutions and update snapshots

* update snapshots

* title case dev tools and stack management

* update text and snapshots

* fix merge error

* apply caroline's suggested style tweaks

* clean up css and update snapshots

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

Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-08-18 13:47:24 -04:00
Kibana Machine 0aa87e0d24
added defaultColumns property to default security solutions timeline (#109086) (#109116)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2021-08-18 13:43:41 -04:00
Kibana Machine f2931704d9
[CTI] bring back skipped cypress tests (#108978) (#109114)
Co-authored-by: Ece Özalp <ozale272@newschool.edu>
2021-08-18 17:43:29 +00:00
Liza Katz d3a9cc540d
[Data cleanup] Remove geo filters (#109097) (#109118)
* Remove geo bounding box and geo polygon filters

* delete geo filters

* delete geo filters

* geo

* remove geo docs
2021-08-18 13:41:22 -04:00
Kibana Machine b3865064b0
Fix a bug where role mappings not populated (#109008) (#109087)
This fixes a bug where adding or deleting a role mapping resulted in the table not being updated. The issue stems from the fact that a copy of the mappings called “items” is created with loca state in the component for filtering before passing to EuiBasicTable. The issue is that this works fine on initial load, but the copy of items is never updated on subsequent renders. The solution is to update the items each time roleMappings is updated.

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-08-18 13:38:52 -04:00
Patryk Kopyciński a69287ff58
[Cases] Add Lens markdown plugin (#96703) (#109071)
# Conflicts:
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.test.tsx
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx
#	x-pack/plugins/observability/public/plugin.ts
2021-08-18 13:27:47 -04:00
Kibana Machine 990a3552f9
Hide "Manage Searches" if insufficient permissions (#109099) (#109112)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-18 13:25:06 -04:00
Kibana Machine ac02266513
[RAC][Security Solution] Remove ALERT_RULE_ID in favor of ALERT_RULE_UUID (#108922) (#109108)
* Remove ALERT_RULE_ID in favor of ALERT_RULE_UUID

* Update snapshot

* KEVINNN

* fix test

* Add back home.disableWelcomeScreen=true

* Only disable welcome screen in security solution cypress tests

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

Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
2021-08-18 13:09:38 -04:00
Kibana Machine b7289c2f26
chore(NA): adds 7.16 into backportrc (#109128) (#109136)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-18 12:57:02 -04:00
Kibana Machine e84bda086b
[SECURITY SOLUTION] [RAC] bug actions padding (#109029) (#109078)
* wip

* match design for selecting grid view

* wip to integrate event rendered view

* wip

* integration of the event rendered

* fix perPage action on Euibasic table

* Add bulding block background color to EventRenderedView

* styling

* remove header

* fix types

* fix unit tests

* use memo for listProps

* fix styling + add feature flag

* review I

* fix merge

* change the gutter size

* fix bugs

* fix alert consumers

Co-authored-by: Pablo Neves Machado <pablo.nevesmachado@elastic.co>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Pablo Neves Machado <pablo.nevesmachado@elastic.co>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2021-08-18 11:51:41 -04:00
Stratoula Kalafateli dabd88c093
Update dependency @elastic/charts to v34 (master) (#108766) (#109046)
* Update dependency @elastic/charts to v34
* tentative fix for heatmap legend items, to be fixed in patch before `7.15`

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
# Conflicts:
#	package.json
#	yarn.lock

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 18:38:22 +03:00
Uladzislau Lasitsa 769f6b0825
Switching between some aggregations in bucket section for sibling aggregations breaks the visualization. (#108693) (#109067)
* share between aggs only field and base params: json, label, time shift.

* Fix some remarks

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 11:29:08 -04:00
Stratoula Kalafateli 0212d3e05c
[Lens] Add retry to drag and drop to fix flakiness (#108657) (#109101)
* [Lens] Add retry to drag and drop to fix flakiness

* Unskip test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 11:22:17 -04:00
Kibana Machine 44cab456f8
[Reporting][Revert] Deprecate v1 report types (#109058) (#109094)
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-08-18 11:00:33 -04:00
Dominique Clarke 0312e29cdd
[Observability][Exploratory View] revert exploratory view multi-series (#109091) 2021-08-18 10:56:31 -04:00
Kibana Machine 83eb8b11f2
[APM] Replaces the transaction events fallback callout with an info badge (#108925) (#109009)
* [APM] Replaces the transaction events fallback callout with an info badge (#108830)

* PR feedback and test fix

Co-authored-by: Oliver Gupte <ogupte@users.noreply.github.com>
2021-08-18 10:39:41 -04:00
Domenico Andreoli 7ba3f023fe
[7.x] Realign cypress/ccs_integration with cypress/integration (#109053)
cypress/ccs_integration is a subset/fork of cypress/integration and already tends to be left behind.

Situation is expected to improve once proper signaling of failing tests is reported to #security-solution-slack-testing.

For the moment, let's keep aligning manually.
2021-08-18 07:37:33 -04:00
Diana Derevyankina f048d82ed0
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_markdown·ts - visualize app visualize ciGroup12 visual builder markdown should render mustache list (#108651) (#109056)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 07:36:17 -04:00
Kibana Machine 8c7cc7d4b8
[Security Solution][Endpoint][TrustedApps] Update trusted apps ui (#108583) (#109050)
Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com>
2021-08-18 06:48:18 -04:00