Commit graph

41388 commits

Author SHA1 Message Date
Tiago Costa 904d98ea59
chore(NA): upgrade bazel rules nodejs to v3.2.2 (#94726) 2021-03-16 14:32:43 -04:00
Casper Hübertz 70bdb28d79
[APM] Settings: Update layout and update/add descriptions (#94398)
* [APM] Align naming

* [APM] Add agent config description

* [APM] Update layout and styles

* [APM] Update text styles and spacing

* [APM] Updating styles and layout

* [APM] Update layout and styles

* [APM] Update description

* [APM] Update layout and styles

* [APM] Update i18n name

* [APM] Add i18n description

* [APM] Update layout and styles

* Update x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/index.tsx

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* [APM] Update agent config description

* Update x-pack/plugins/apm/public/components/app/Settings/AgentConfigurations/index.tsx

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* [APM] Remove empty state description

Not needed as we have a description by the main title

* [APM] Remove unneeded translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2021-03-16 19:24:26 +01:00
Tyler Smalley 36ca26d290 skip flaky suite (#94666) 2021-03-16 11:08:02 -07:00
Stratoula Kalafateli a1f15fbe5d
[XY axis] Integrates legend color picker with the eui palette (#90589)
* XY Axis, integrate legend color picker with the eui palette

* Fix functional test to work with the eui palette

* Order eui colors by group

* Add unit test for use color picker

* Add useMemo to getColorPicker

* Remove the grey background from the first focused circle

* Fix bug caused by comparing lowercase with uppercase characters

* Fix bug on complimentary palette

* Fix CI

* fix linter

* Use uppercase for hex color

* Use eui variable instead

* Changes on charts.json

* Make the color picker accessible

* Fix ci and tests

* Allow keyboard navigation

* Close the popover on mouse click event

* Fix ci

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 19:36:48 +02:00
Brandon Morelli 0e1a2cd4f7
docs: [APM] Correlations (#94620) 2021-03-16 10:13:08 -07:00
Anish Khanna 9e244062e7
Display correct reset terminology for visualizations (#94539)
Co-authored-by: Anish Khanna <a26khann@edu.uwaterloo.ca>
2021-03-16 18:11:10 +01:00
Cauê Marcondes 4d27af99c4
[APM] kuery is not applied to latency chart (#94707) 2021-03-16 12:47:33 -04:00
Matthias Wilhelm d71e1b47af
[Discover] Remove redundant execution of onRequestStart when fetching data (#94093) 2021-03-16 17:34:24 +01:00
Tim Sullivan 067543b51b
App Services API updates for CSV Export (#94537)
* App Arch API updates for CSV Export

* add logging to show error cause from es

* revert logging the error in an inconsistent way
2021-03-16 09:34:03 -07:00
Kaarina Tungseth 378073c74a
[DOCS] Canvas updates for 7.12.0 (#94325)
* [DOCS] Canvas updates for 7.12.0

* Fixes Visualize Library title
2021-03-16 11:21:35 -05:00
Dario Gieselaar c921ed956c
[APM] Use top_hits instead of top_metrics (#94694)
* [APM] Use top_hits instead of top_metrics for high cardinality fields

Closes #94676.

* Update snapshots
2021-03-16 12:19:42 -04:00
Devon Thomson bae6021d7f
[Save Modal] Quick Fix for Scrollbar (#94640)
* quick fixes for no scroll bar on save modals
2021-03-16 11:55:11 -04:00
Cauê Marcondes f90a4d95a5
[APM] Telemetry: Add UI usage telemetry on the Timeseries comparison feature (#91439)
* adding telemetry and removing time comparison

* adding telemetry and removing time comparison

* adding telemetry

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 11:41:43 -04:00
Shahzad 09e949e6f4
[Uptime] Synthetic check steps list view (#90978)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 16:41:07 +01:00
Constance badf38b0cd
[Curation] Add support for a custom drag handle to the Result component (#94652)
* Update Result component to render a custom drag handle

* Update Result library with a draggable example

- note: this doesn't actually handle reorder logic, it's purely a UI/UX example

* Update CurationResult to pass dragHandleProps through to Result
2021-03-16 08:30:32 -07:00
Devon Thomson c937f2648e
tiny fix for loading state in dashboard top nav (#94643) 2021-03-16 11:23:19 -04:00
Sébastien Loix 310194193a
[ILM] Use global field to set the snapshot repository (#94602) 2021-03-16 15:22:24 +00:00
Vadim Yakhin c9d1dbf599
[Workplace Search] Misc bugfixes (#94612)
* Fix incorrect copy

* Fix incorrect copy

* Update Box icon to match other icon sizes

* Add missing spacer on connector configuration screen

* Add missing spacer to Manage Source modal on Group page

* Remove shadows on Security page

* Align the last column content in tables to the right

* Fix colors on save custom source page

"Secondary" is greenish in new version is EUI, we need "subdued"

* Fix link to personal dashboard

* Add missing breadcrumbs to Security and Settings pages

* Deduplicate Security tests on Basic and Platinum licenses

* Prevent range slider from shifting to left when priority is 10

When priority is 10, the number become wider and it pushes the range slider to the left. This commit is a quick fix for that. We could improve it later by adding a proper input.

* Fix i18n duplicate ID

* Revert "Fix link to personal dashboard"

This reverts commit 5fc3ad2937.
2021-03-16 10:48:07 -04:00
Mikhail Shustov 09f90d8651
[Canvas] Cleanup types in lib (#94517)
* fix get_legend_config error in canvas/lib/index

* convert resolve_dataurl to ts to fix canvas/lib/index failure

* convert expression_form_handler to ts to fix canvas/lib/index failure

* convert canvas lib/error into ts

* canvas: do not compile json file due to effect on performance

* remove type. it is not exported and inferred as any implicitly

* fix datatable error in lib/index.d.ts file

* fix url resolver

* case manually to avoid incompatibility error
2021-03-16 10:22:09 -04:00
Mikhail Shustov ee84e0b0b7
Merge tsconfig and x-pack/tsconfig files (#94519)
* merge all the typings at root level

* merge x-pack/tsconfig into tsconfig.json

* fix tsconfig after changes in master

* remove unnecessary typings

* update paths to the global typings

* update paths to the global elaticsearch typings

* fix import

* fix path to typings/elasticsearch in fleet plugin

* remove file deleted from master

* fix lint errors
2021-03-16 15:13:49 +01:00
Gabriel Landau b71c6092c9
Add bytes_compressed_present to Endpoint Security Telemetry (#94594) 2021-03-16 10:00:54 -04:00
Cauê Marcondes b0fa077e8a
[APM] Adding comparison to Throughput chart, Error rate chart, and Errors table (#94204)
* adding comparison to throuput chart

* adding comparison to error rate chart

* adding comparison to errors table

* fixing/adding api test

* addressing pr comments

* addressing pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 09:12:50 -04:00
James Rodewig 6c9cfd4893
Use documentation link service for Watcher (#93339) 2021-03-16 08:45:32 -04:00
Jean-Louis Leysens 4a83a02433
[ILM] Hide node allocation notices on Cloud (#94581)
* block node allocation notices on cloud

* added test to check that notices are not showing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 13:40:13 +01:00
David Sánchez 638f166f71
[SECURITY_SOLUTION] Add helper text on entry input for trusted applications (#94563)
* Added text help for each entry input option

* Add new unit test

* Fix wrong import on test file

* Change entry variable to readonly. Use it.each instead of a for loop

* Move function inside useMemo since it is only used there

* Remove old commented code

* Update failing test
2021-03-16 13:36:06 +01:00
Felix Stürmer e830e077d3
[Logs UI] Style improvements for log stream search strategy (#94560) 2021-03-16 13:29:29 +01:00
ymao1 73a73332eb
[Alerting][Docs] Updating glossary with new terminology (#94447)
* Updating glossary with new terminology

* Updating glossary with new terminology

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 08:05:01 -04:00
Walter Rafelsberger f3b74b457c
[ML] Transforms: Fixes missing number of transform nodes and error reporting in stats bar. (#93956)
- Adds a Kibana API endpoint transforms/_nodes
- Adds number of nodes to the stats bar in the transforms list.
- Shows a callout when no transform nodes are available.
- Disable all actions except delete when no transform nodes are available.
- Disables the create button when no transform nodes are available.
2021-03-16 11:41:48 +01:00
Tyler Smalley d02169e4be
[RFC] Bazel (#92758)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-03-15 20:50:23 -07:00
Oliver Gupte 7349f82fac
[APM] Hide correlations tabs with license message (#94494)
* [APM] Hide correlations tabs with license message (#94228)

* removes unused CorrelationsMetricsLicenseCheck component

* Code readability improvements

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 18:35:50 -07:00
Ryland Herrick f14ac90e7d
[Security Solution][Detections] Display callout if users have new ML jobs installed (#94393)
* WIP: Add basic structure of our ML Job callout

* Tests are not implemented
* logic is questionable
* Detections now makes redundant ML API calls

* Fix JSDoc reference

* Move ML Jobs callout to Rules page

As opposed to the more general Detections page.

* Extends callout logic to include installation of any affected jobs

* If old jobs are used with new ECS data, you'll be missing
  anomalies/alerts
* If new jobs are used with old ECS data, you'll be missing
  anomalies/alerts

* Flesh out our link to ML Job compatibility docs

This page doesn't exist yet; the URI/copy is subject to change.

* ML Job Upgrade -> ML Job Compatibility

This is a more accurate name for the concept since the problem is more
general than presence/absence of an upgrade.

* Add some placeholder copy to get the ball rolling

* Test callout behavior with different API responses

* Prevent fetching ML data when ML popover is opened/closed

We already fetch this data when the component is initially rendered. In
the normal workflow of page load -> open popover, we perform six (6) ML
API calls, 3 of which are redundant.

The one downside of this is that opening/closing the popover will not
refresh data; however, this workflow would previously have resulted in 6
API calls as well.

* Revert "Prevent fetching ML data when ML popover is opened/closed"

This reverts commit 810b78d2b9.

* Update link to relevant documentation

We're going to add a new section to this existing page, and link
directly to that heading. We should be able to generate whatever anchor
we need here, so choosing one arbitrarily on the assumption that docs
can make it work.

* Update copy from product

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 20:44:18 -04:00
Alison Goryachev 7dc9fce0c8
[Upgrade Assistant] Add support for deprecated index settings (#93293) 2021-03-15 20:20:58 -04:00
Tim Sullivan 366e085874
[Reporting/Test] label job param URL as deprecated in the variable name (#94639) 2021-03-15 16:55:38 -07:00
Constance 5396d27043
[App Search] Curation: Add query management UX & organic documents list (#94488)
* Update CurationLogic to handle queries management

- updating the active query
- adding queriesLoading and organicDocumentsLoading state
- clean up / refactor updateCurations slightly - instead of taking a {queries} param, we should opt for a separate updateQueries action and storing a queries state
  - this allows us to more granularly hook into activeQuery when queries is updated without the current activeQuery and correct for that

* Add ActiveQuerySelect component

- used for switching the currently active query

* Add ManageQueriesModal component

- used for editing/adding/removing the queries a curation manages
- primarily a light wrapper around the existing reusable CurationQueries component (also used in the create new curation view)

* Add OrganicDocuments and CurationResult components

* Update Curation view with new components

+ update breadcrumb to pull from queries instead of curation.queries, mostly for consistency w/ other usages & slightly faster responsiveness when updating queries

* Fix unnecessary import

* Meeting feedback: organic documents title copy tweak

* PR feedback - test assertion
2021-03-15 15:39:26 -07:00
Melissa Alvarez 08c6753f22
[ML] Data Frame Analytics results: Ensure outlier detection results view displays feature influence correctly (#94493)
* ensure feature influence column is shown for outlier jobs

* add popoverContent schema type featureInfluence

* add featureInfluence cell content check to functional test

* update types

* ensure computeFeatureInfluence is added to jobConfig

* always remove invalid feature influence columns for outlier jobs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 18:26:26 -04:00
Yuliia Naumenko 1422001884
Fixed Pagerduty dedupKey is not set via API for Uptime alerts (#94394)
* Fixed Pagerduty dedupKey is not set via API for Uptime alerts

* fixed test

* fixed test

* fixed test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 14:08:41 -07:00
Paul Tavares 83906292d8
[SECURITY_SOLUTION][ENDPOINT] Create artifact manifests with new relative URL (if fleet-server is enabled) (#94499)
* When xpack.securitySolution.fleetServerEnabled is true, then Endpoint artifact manifest will use a fleet-server relative url for the artifacts generated (note: this flag is temporary until we ship v7.13)
* Refactors the security solution fleet integration extension point callbacks so that some action handlers can be executed in parallel (the creation of detection engine prepackaged rules can sometime take some time to complete
2021-03-15 16:49:11 -04:00
Devon Thomson 3e1a3dae36
[Dashboard] Clear Add Panel On App Leave (#94530)
* cleared add panel in useEffect cleanup function
2021-03-15 16:21:39 -04:00
Tiago Costa daa0f22587
chore(NA): ensure scripts run with --preserve-symlinks (#94046)
* chore(NA): ensure scripts run with --preserve-symlinks

* chore(NA): run webpack configs with symlinks: false

* chore(NA): fix pkg json load on kbn test

* chore(NA): add script into setup node env

* chore(NA): fix kbn test for relative improt

* chore(NA): fix change on docs

* chore(NA): move ensure node preserve symlinks into setup node env

* chore(NA): update changed docs

* chore(NA): update jest unit test

* chore(NA): fix wrapper script exit code

* chore(NA): updated generated plugin list docs

* fix(NA): make functional test runner use kbn utils repo_root

* chore(NA): fix eslint imports

* chore(NA): missing react correct config on eslint package

* chore(NA): use correct value to make test pass locally

* chore(NA): fix jest tests

* chore(NA): try remove extra preserve symlinks

* chore(NA): fix windows environment

* chore(NA): fix kbn-optimizer to run with preserve-symlinks

* chore(NA): fix integration jest test for kbn/optimizer

* chore(NA): remove require.resolve from eslintrc.js

* chore(NA): avoid load json file

* chore(NA): move kbn/utils import into kbn/dev-utils

* chore(NA): use correct dependencies on eslint config package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 16:17:54 -04:00
Jonathan Budzenski 511accdb6d
[build] Remove platform from archive root directory (#93835)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 14:41:18 -05:00
Zacqary Adam Xeper cda2fb3d5a
[Data UI] [Fleet] Add submitOnBlur functionality to QueryStringInput (#93819)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-15 14:33:49 -04:00
Frank Hassanabad 85c0a34893
[Security Solutions] Fixes and unskips tests (#94391)
## Summary

Fixes and unskips tests. Also makes the tests less picky. Although I enjoy seeing the changes on ES promotions of error messages in case we see something really bad happening, it's too manual of a process to fix and puts too much of a burden on operations to skip the error messages. 

### Checklist

- [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-03-15 12:15:59 -06:00
James Rodewig cd56c1341a
Use documentation link service for remote clusters (#93937) 2021-03-15 14:02:27 -04:00
Spencer 70fd3bbf8b
[kbn/pm] fix bootstrap error handler (#94590)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-15 13:57:40 -04:00
Melissa Alvarez a5f7260e5e
[ML] Data Frame Analytics creation: add checks and ensure validation summary is updated (#94226)
* add num_top_classes and feature_importance checks to validation

* ensure validation details view up to date

* ensure topClasses messages shows correct number. update types

* update functional test

* update cloning functional test for regression type job
2021-03-15 13:53:25 -04:00
Nick Partridge 2bfba7b460
fix brushing on small multiples (#94505) 2021-03-15 12:25:47 -05:00
Chris Roberson 46253d6ae2
[Monitoring] Change license service to use recommended API (#93620)
* Change license service to use recommended API

* Remove unused type

* Update this code too

* Generate docs

* New docs
2021-03-15 13:00:30 -04:00
Devon Thomson 644e08b94f
[Time to Visualize] Fix Unsaved Changes Badge Appearing After Save & Return (#94529)
* fixed unsaved changes out of sync after save and return
2021-03-15 12:51:59 -04:00
Angela Chuang f62478452e
skip failing test (#94577) 2021-03-15 16:50:29 +00:00
Rudolf Meijering e883e500c3
EsArchiver: support for injecting kibana version and use it for spaces tests (#94420)
* EsArchiver: support for injecting kibana version and use it for speeding up spaces tests

* Use kbn/utils to get current kibana version in tests

* Review feedback: improve test by splitting variable over chunks
2021-03-15 09:17:41 -07:00