Commit graph

33917 commits

Author SHA1 Message Date
Pierre Gayvallet d2006ea8a0
savedObjects: add score to repository.find results (#68894)
* add `score` to repository.find results

* update generated doc

* fix FTR result set

* remove score from exports

* fix FTR for find API

* fix label

* fix tsdoc
2020-06-18 11:39:25 +02:00
Pierre Gayvallet 7dd4fa2618
Add section about marble testing to TESTING.md (#68749)
* Add section about marble testing

* improve `callServerAPI` example

* review comments

* add comment on abort observable anti-pattern
2020-06-18 11:37:41 +02:00
Pierre Gayvallet daf20daf2d
Beats Management: Pre-migration cleanup (#69155)
* adapt KibanaDatabaseAdapter to use core ES service

* remove unused `exposeStaticDir` method

* create empty KP plugin

* remove unused and broken tests

* delete unused wallaby config file

* delete unused utils

* delete unused d.ts and move formsy definition to new plugin

* fix findNonExistentItems

* remove dead code and useless exports from common package

* delete non migratable test suite + remove unused test adapter

* remove yet another unused adapter

* restore awaits in KibanaDatabaseAdapter
2020-06-18 11:32:13 +02:00
Casper Hübertz f27162a213
[Observability] Creates "Add data" links in all Observability app headers (#69016)
* Add data options to all Observability app headers

* Updated failing snapshot

* [Uptime] Update snapshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-18 09:35:48 +02:00
Mikhail Shustov 9f9a5c69f9
Remove unused deps (#69243)
* remove unused deps

* move types in devDeps
2020-06-18 08:53:16 +02:00
MadameSheema dea2768545
fixes screenshots upload (#69392) 2020-06-18 08:22:50 +02:00
Nathan L Smith 2642d658c4
[APM] License feature tracking for service maps (#69455)
Use the license feature API to register the service maps feature and track its usage when the API endpoint is accessed.

Fixes #64850.
2020-06-17 19:18:15 -05:00
spalger 789851eb1a skip flaky suite (#52854) 2020-06-17 16:46:16 -07:00
Nathan Reese f7266d3b7b
[Maps] layer wizard select re-design (#69313)
* [Maps] layer wizard select re-design

* review feedback

* tslint

* add unit test

* use smaller gutters

* review feedback
2020-06-17 16:17:30 -06:00
Jonathan Budzenski b434cac29a
[docker] add spaces settings (#69019)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-17 14:57:45 -05:00
Dima Arnautov 1dd5db2cf0
[ML] Add Anomaly Swimlane Embeddable to the dashboard from the Anomaly Explorer page (#68784)
* [ML] WIP attach swimlane embeddable to dashboard from the explorer page

* [ML] fix deps

* [ML] getDefaultPanelTitle

* [ML] fix TS issue

* [ML] DashboardService

* [ML] unit tests

* [ML] redirect to the dashboard

* [ML] swimlane_panel

* [ML] Anomaly Timeline panel

* [ML] swimlane container

* [ML] fix ts

* [ML] Add multiple swimlanes

* [ML] fix SwimlaneType usage

* [ML] disable edit button on update

* [ML] fix i18n translation key

* [ML] use ViewMode enum

* [ML] use navigateToUrl

* [ML] TODO for edit dashboard

* [ML] check kibana dashboard capabilities

* [ML] mlApiServicesProvider

* [ML] mlResultsServiceProvider

* [ML] fix alignment

* [ML] labels and tooltips

* [ML] fix ts issue for proxyHttpStart

* [ML] canEditDashboards check

* [ML] fix TS

* [ML] update add_to_dashboard_control.tsx

* [ML] add form label, disable control on empty swimlanes selection

* [ML] resolve PR review comments

* [ML] e2e test

* [ML] increase panel padding

* [ML] position in row

* [ML] update e2e

* [ML] add data-test-subj for search box

* [ML] PR remarks
2020-06-17 21:25:37 +02:00
Jen Huang 052dfe9f9a
[Ingest Manager] Replace datasources with inputs when generating agent config (#69226)
* Adjust agent config generation, change `datasources` to `inputs`

* Add dataset.type

* Remove dead code

* Revert "Add dataset.type"

This reverts commit fbcf50cbe2.

* Update endpoint policy test assertion
2020-06-17 12:23:31 -07:00
Michail Yasonik bb03b75416
Removing flaky axe rule (#69418) 2020-06-17 13:00:52 -05:00
Jean-Louis Leysens a077fdea32
[Ingest Pipelines] Add doc links to processor types (#69279)
* added doc links to processor types

* Bring doc links in line with mappings editor

Also refactor the processors type map

* remove helpText prop from Custom field

* fix i18n

* rename doc button and refactor type map const name

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-17 18:47:20 +02:00
Kevin Logan 1cef65e56f
[Endpoint] add policy data to Host list UI (#69202) 2020-06-17 11:27:00 -04:00
Vadim Dalecky b8e6b54428
Drilldown docs 2 (#69375)
* docs: ✏️ add drilldown user docs link to REAMDE

* feat: 🎸 wire drilldown docs link into <HelloBar> component

* feat: 🎸 set new page attributes on drilldown docs link

* feat: 🎸 add external prop to link to show icon

* fix: 🐛 remove rel= attribute

* fix: 🐛 add TypeScript type for drilldown docLink
2020-06-17 17:00:22 +02:00
Oliver Gupte 0ed7597822
[APM] Replace ML index queries with searching via mlAnomalySearch API (#69099)
* Closes #69092 by replacing direct queries on ml indices with seaching
via the `mlAnomalySearch` client API + job_id filters. Also removes
`getMlIndex` since it is no longer relevant.

* Use the mlCapabilities API to ensure the required license is active for ml queries

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-17 07:45:04 -07:00
Paul Tavares abdc0f17a9
[Ingest Manager][Endpoint] Add Endpoint Create Policy flow with Ingest (#68955)
* Ingest: add data-test-subj prop support to Ingest components
* Ingest: Add Context Provider to bridge History from Kibana to Hash router
* Ingest: Added support for route state in Create Datasource page
* Endpoint: Add Create button to Polices List header
* Endpoint: Added support for passing of state from endpoint to ingest on policy
* Endpoint: additional functional test cases
2020-06-17 10:39:22 -04:00
gchaps e04624ace0
[DOCS] Updates titles in Maps docs (#68703)
* [DOCS] Updates titles in Maps docs

* [DOCS] Changes Elastic Maps to Maps to match the UI

* [DOCS] Fixes titles

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-17 07:31:37 -07:00
Christos Nasikas 208b580061
[SIEM][Timeline] Minor timeline improvement (#69386) 2020-06-17 17:21:49 +03:00
Marco Vettorello f9f1158e1f
Update dependency @elastic/charts to v19.5.2 (#69126)
Update @elastic/charts to 19.5.2

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
2020-06-17 16:02:34 +02:00
Robert Oskamp f8ba9290dd
[ML] Functional tests - Reduce DFA job model memory (#69295)
With the improvements in the model memory estimation for DFA jobs, the required memory limit could be reduced, which allows execution in a low-memory environment (like the 1GB ML node in a cloud trial).
2020-06-17 15:23:23 +02:00
Robert Oskamp 55260dde18
[ML] Functional tests - add more recognize and setup module API tests (#69251)
This PR adds a couple recognize module and setup module API integration tests.
2020-06-17 15:19:55 +02:00
Vadim Dalecky 3ea717a7b3
feat: 🎸 don't show drilldown action in "edit" mode (#69371) 2020-06-17 14:44:46 +02:00
Christos Nasikas 47e50f8102
[SIEM][Timeline] Persist timeline to localStorage (#67156)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2020-06-17 14:55:46 +03:00
Stratoula Kalafateli ab1270e566
Replaces the Custom Color Picker on TSVB with the EuiColorPicker (#68888)
* Replace the Custom Color Picker on TSVB with the EuiColorPicker

* Remove the custom picker sass

* Remove private modules of eui and the custom color swatches

* Clear the color

* changes in test implementation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-17 14:27:05 +03:00
Søren Louv-Jansen 8a6aab33bd
[APM] Only add decimals for numbers below 10 (#69334) 2020-06-17 12:10:28 +02:00
Vadim Dalecky 3ee0bf2132
Explore underlying data (#68496)
* feat: 🎸 stub discover_enhanced plugin

* feat: 🎸 improve view in discover action

* feat: 🎸 add URL generator to "View in Discover" action

* feat: 🎸 implement navigation and getHref in view raw logs actio

* fix: 🐛 disable action in "edit" mode

* refactor: 💡 renamce context menu view in discover action

* feat: 🎸 rename action to "explore data"

* fix: 🐛 correctly generate action path

* feat: 🎸 add internationalization to "explore action"

* fix: 🐛 correctly parse generated Discover URL path

* test: 💍 setup basic functional tests

* refactor: 💡 modularize url generation logic

* feat: 🎸 export CommonlyUsed type

* test: 💍 add test subjects to panel custom time range modal

* test: 💍 add index patterna and time range functional tests

* refactor: 💡 rename action file

* refactor: 💡 use URL generator from Discover plugin's contract

* test: 💍 add "Explore raw data" action unit tests

* fix: 🐛 import share plugin to check if it is enabled

* Update x-pack/plugins/discover_enhanced/public/actions/view_in_discover/explore_data_context_menu_action.ts

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* chore: 🤖 add discover_enhanced to KibanaApp codeowners

* test: 💍 improve "Explore underlying data" functional tests

* test: 💍 improve <a> link assertion

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2020-06-17 10:31:16 +02:00
Frank Hassanabad effd504d0b
[SIEM] Adds example unit test to convert KQL using a nested query
## Summary

Adds example unit test to convert KQL using a nested query

### Checklist

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
2020-06-16 23:12:13 -06:00
Alison Goryachev a34a3a7e09
[Component template] Details flyout (#68732) 2020-06-16 21:48:28 -04:00
Lisa Cawley ca9a1626a2
[DOCS] Fixes license management links (#69347) 2020-06-16 17:03:59 -07:00
Spencer e03f2428b1
[BundleRefPlugin] resolve imports to files too (#69241)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-16 15:16:35 -07:00
Oliver Gupte 5c87a27c4d
[APM] Fix service maps not loading when there are no APM ML jobs (#69240)
* Closes #69238 by handling 404 thrown error from the query for APM ML jobs.

* Improved coded readability

* moved anomaly job fetch to new function getApmAnomalyDetectionJobs for
improved readability and only handle a 404 status code response else throw
2020-06-16 14:31:09 -07:00
Tim Sullivan 8bc8837e34
[Reporting] Prepare export type definitions for Task Manager (#65213) 2020-06-16 14:24:35 -07:00
Spencer 8b0efca3b2
[kbn/pm] only count cached project (#69113)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 14:14:09 -07:00
Brian Seeders beb0da1d58
[CI] Fix packer cache git branch reference value (#69207) 2020-06-16 17:03:59 -04:00
Tre 885a42ca15
[QA] [Code Coverage] Doc update (#69204)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 14:59:26 -06:00
Spencer 5c327a12dd
[ci/getCheckoutInfo] retry fetching upstream changes to calculate mergeBase (#69320)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-16 13:45:20 -07:00
Lukas Olson ade4c8dded
[Search service] Refactor the way server-side search strategies are registered (#68452)
* [search] Refactor the way search strategies are registered/retrieved on the server

* Fix types and tests and update docs

* Fix failing test

* Fix build of example plugin

* Fix functional test

* Make server strategies sync

Co-authored-by: Liza K <liza.katz@elastic.co>
2020-06-16 23:20:52 +03:00
Spencer db1df7bed0
[kbn/optimizer] fix windows compatibility (#69304)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-16 12:57:34 -07:00
Melissa Alvarez efbb4ccc31
use navigateToUrl instead of window location (#69167) 2020-06-16 14:29:11 -04:00
Dmitry Lemeshko 9f7620b84d
[QA] Code coverage: fix flaky tests (#69272)
* skip test

* [page_objects/common_page] update closing toast
2020-06-16 20:15:01 +02:00
Frank Hassanabad d5785a0d6d
SIEM] Moves validation up to the common section
## Summary

Moves validation up to the common section so it can be used by others in common for API boundary validation.
2020-06-16 12:02:40 -06:00
Larry Gregory 3de93501c6
Resolve security cloud test failures (#68935)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 12:55:18 -04:00
Spencer 62f25506d3
[kbn/es] only make one attempt in tests to avoid timeout (#69197)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 09:54:41 -07:00
patrykkopycinski fb97d91789
Bump react-redux (#69182) 2020-06-16 18:44:34 +02:00
Lisa Cawley 9c88144727
[DOCS] Adds classification to data frame analytics overview (#69068) 2020-06-16 09:30:02 -07:00
Shahzad a9d73e8683
[Uptime] Monitor availability reporting (#67790)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 18:04:52 +02:00
Vignesh Shanmugam f43d51d41b
feat: instrument navigation changes using RUM agent (#67633)
* feat: instrument navigation changes using RUM agent

* chore: rebase and change application contract

* chore: fix type tests

* docs: update public.md doc

* chore: remove internal application export
2020-06-16 17:24:40 +02:00
Cauê Marcondes b42defa37e
[Observability] Update landing page copy and content (#69247)
* removing try it section

* removing try it section
2020-06-16 17:17:17 +02:00