Commit graph

33148 commits

Author SHA1 Message Date
Joe Reuter b7e87c2c8b
Switch to core application service (#63443) 2020-05-13 09:19:24 +02:00
Tyler Smalley 3cbb8491c1
Removes use of prefer_v2_templates (#66316)
prefer_v2_templates is no longer an accepted query parameter. V2 templates are now preferred by default.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-05-12 19:16:53 -07:00
Nathan Reese 9e0504e88a
[Maps] handle case where fit to bounds does not match any documents (#66307)
* [Maps] handle case where fit to bounds does not match any documents

* review feedback
2020-05-12 19:14:15 -06:00
Sandra Gonzales 9b01e6b26e
log error instead of throw (#66254)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 20:40:01 -04:00
Spencer 12216d75fc
[plugin-helpers] remove outdated postinstall task (#66324) 2020-05-12 17:19:36 -07:00
Larry Gregory dc8dd19543
Spaces - migrate default space and enter space view to KP (#66098) 2020-05-12 19:59:29 -04:00
Oliver Gupte 531eb7cadc
[APM] Change plugin id for apm_oss to apmOss (#66164)
* Change apm oss plugin name from apm_oss to apmOss

* change plugin name

* update apm_oss -> apmOss inn requiredPlugins

Co-authored-by: mohinderps <mohin19derp@gmail.com>
2020-05-12 16:28:27 -07:00
Nathan Reese 1a43feb7b6
[Maps] convert map_selectors to TS (#65905)
* [Maps] convert map_selectors to TS

* fix paths

* one more path fix
2020-05-12 16:09:41 -06:00
Spencer e419ab90a3
[uptime/usage-collector] add missing await (#66079) 2020-05-12 14:45:12 -07:00
Paul Tavares ad39997ae4
[Ingest] Add additional attributes to the Datasources Saved Object (#66127)
* add additional properties to ingest-datasources SO
* Adjusted Types and test generators
* Added datasources migrations to SO
* Add `user` object to calls to datasource.create()
2020-05-12 17:35:36 -04:00
nnamdifrankie e4c68f1a7a
[Endpoint]EMT-339: add new policy response schema (#66264)
[Endpoint]EMT-339: add new policy response schema
2020-05-12 17:16:38 -04:00
Caroline Horn 0fbbc78852
[Spaces] SASS modularization (#65921)
* Removing Spaces legacy styles import in favor of direct plugin import

* Modularizing the `/management` components

* Further modularization within copy_saved_objects_to_space

* Add styling section to CONTRIBUTING

* SASS lint and snaps

* Adding link to EUI SASS
2020-05-12 17:13:20 -04:00
Josh Dover 3a59a64690
[skip-ci] Fix links to Core API docs (#66274) 2020-05-12 15:11:11 -06:00
Melissa Alvarez 840ae20656
[ML] API integration tests for GET data frame analytics endpoints (#66136)
* wip: create analytics api integration dir

* add get analytics tests

* update types and naming

* update api test types
2020-05-12 16:47:14 -04:00
Yuliia Naumenko 5ed5fda832
Allow registered alert types to be non-editable (#65606)
* Allow registered alert types to be non-editable

* Fixed isUiEditEnabled values

* Fixed due to comments

* fixed failing tests

* Enable alert type selection per alert consumer, only 'alerting' consumer can display other consumers alert types, but in case if it isEditable

* fixed tests

* Removed consumer property from the client side alert type registry and added server side property producer which purpose is to manage a feature logic

* fixed type check

* Fixed tests and type checks

* Removed error message for non registered plugins

* Fixed failing tests

* Fixed due to comments

* fixed test

* -

* revert logic for requiresAppContext

* Added close toast after saving alert
2020-05-12 13:38:22 -07:00
Josh Dover fd4074f2cd
Remove slapshot contract tests (#66277) 2020-05-12 14:30:47 -06:00
Quynh Nguyen 7da7080fbc
[ML] Fix anomaly dot plotted in wrong location in Single Metric Viewer (#66071)
* [ML] Fix anomaly dot plotted in wrong location in SMV

* [ML] Validate if record's actual exists before setting it as chartPoint data

* [ML] Add logic for chartPoint in case record dne to use the cause's actual

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 15:28:21 -05:00
Nick Peihl 86017800a8
Update ems landing page url (#66244)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 13:20:42 -07:00
spalger c9523243f2 skip flaky suite (#65567) 2020-05-12 12:37:30 -07:00
Frank Hassanabad ac4f5d55e1
[SIEM][Detection Engine] Removes legacy ElasticSearch from end to end tests
## Summary

Removes the legacy ElasticSearch nodejs client from end to end tests in favor of the non-legacy newer Elastic Search client which is recommended by Kibana core and the company to migrate away from and stop using.

This PR accomplishes that goal by removing the `getService('legacyES')` when getting the service from the end to end tests and instead gets the service through `getService('es')`

### 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-05-12 13:31:16 -06:00
spalger 78aa89b818 skip flaky suite (#62866) 2020-05-12 12:22:14 -07:00
Mikhail Shustov 3667647aa2
Do not register SO in the legacy platform (#66203)
* move maps SO registration to KP

* move timelion SO registration to KP

* register server SO in KP

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 21:03:13 +02:00
Nathan Reese 7b0d445b51
[Maps] convert AddLayerPanel to TS (#65685)
* [Maps] convert AddLayerPanel to TS

* remove ImportFile component

* ts-lint clean up

* simply FlyoutBody

* remove unneeded ts-ignores

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 12:28:31 -06:00
Shahzad 75ea9eaad4
[Uptime] Fix document title according to page (#65665) 2020-05-12 20:01:17 +02:00
Spencer fd66d474e5
download cypress from ci-proxy-cache (#66141)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 10:47:46 -07:00
Quynh Nguyen f24785f33b
[ML] Search should have a categorical option for job type (#65770)
* [ML] Add categorical filters to ist of df analytics jobs

* [ML] Removed unused ANALYSIS_CONFIG_TYPE

* [ML] Change getJobTypeBadge to implicit return

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 12:13:49 -05:00
Felix Stürmer 807803c2dc
[Metrics UI] Fix mistake in container ip field name (#66198)
This corrects an apparent mistake in the inventory's container.ip_address field name.
2020-05-12 18:50:26 +02:00
Nathan Reese 62434fef4b
[Maps] 7.8 documentation updates (#65502)
* [Maps] 7.8 documenation updates

* remove more uses for source

* map settings

* remove number of categories

* review feedback

* remove word 'cards'

* clean up description of heatmap layer

* Update docs/maps/map-settings.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-05-12 10:28:52 -06:00
Gidi Meir Morris eef9ecefe0
[Alerting] Adds lazy loading to AlertType and Flyout components (#65678)
This PR:
1. Adds support for lazy loading AlertType components and migrates the built-in IndexThreshold components to lazy load.
2. Adds lazy loading of the components contained in the flyout so that only the wrapper component is imported by other plugins and the internal components are loaded when needed.
2020-05-12 17:05:46 +01:00
Marta Bondyra 25a3fcea52
[Lens] refactor to not filter layers three times (#66174) 2020-05-12 17:46:35 +02:00
Chris Cowan 9919dff004
[Metrics UI] Fix chart time range and percentile thresholds (#66128) 2020-05-12 08:27:50 -07:00
Chris Cowan 712e917f5e
[Metrics UI] Fixing time picker layout issues on Inventory View (#66094)
* [Metrics UI] Fixing time picker layout issues on Inventory View

* Adding data-test-subj
2020-05-12 08:27:22 -07:00
Frank Hassanabad fd6b63e9f2
[SIEM][Detection Engine] Adds backend e2e tests for basic license testing
## Summary

Adds backend e2e basic license type tests for the detection engine API. Previously we only had tests for full security space that was platinum based licensing. These tests now cover the basic license test cases. This covers test cases for machine learning to ensure you cannot create machine learning based detection rules under the basic license. Instead those tests will return the expected 403 forbidden.

Testing just the subset of the tests from this PR locally:

```sh
node scripts/functional_tests --config x-pack/test/detection_engine_api_integration/basic/config.ts
```

You do want to go to the jenkins tests on CI and ensure you can see some of the strings such as the newer forbidden messages showing up as passing.

### 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-05-12 08:50:48 -06:00
Brian Seeders c0c7dccac7
Throw error in kbn-es when no reserved users found (#65911) 2020-05-12 10:25:12 -04:00
Candace Park 45790d035b
[endpoint] connect policy response ui to api (#66093)
[Endpoint] Connect policy response UI to API
2020-05-12 10:08:15 -04:00
Pete Harverson 0124977830
[ML] Fixes anomaly charts for rare detectors when model plot is enabled (#66075) 2020-05-12 14:53:48 +01:00
patrykkopycinski 533b4810ca
[SIEM][Detection Engine] Fix StepDescription value in StepRuleActions (#63677) 2020-05-12 14:42:09 +02:00
Mike Côté 68432daa9f
Fix flaky end to end test for alert edit (#65893)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 08:29:07 -04:00
Cauê Marcondes a696fc1aa5
[APM] fixing transaction action menu unit test 2020-05-12 14:17:01 +02:00
Peter Pisljar 15c0644c97
making vis (completely) serializable (#64207) 2020-05-12 13:29:58 +02:00
Dario Gieselaar 3f43763bc3
[APM] Correct relative paths in scripts (#66159) 2020-05-12 13:21:04 +02:00
Shahzad 592e23496f
[Uptime] Enable deselection of stale filters (#65523) 2020-05-12 11:16:32 +02:00
Anton Dosov 0f5c1ed95a
[Drilldowns][chore] Remove some any's from components. Remove PlaceContext from components (#65854)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 10:57:49 +02:00
Dmitry Lemeshko 69a61d4ee7
[functional/services] import By/until from module (#66015)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 11:53:20 +03:00
Anton Dosov 724f282059
[Drilldowns][IE] fix welcome bar layout in IE (#65676)
* fix drilldown hello bar in IE

* fix comment

* use children instead of title for EuiCallOut content

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 10:30:19 +02:00
Alexey Antonov f3548d6c83
Inspect action shows on dashboard for every chart (#65998)
Closes: #60372
2020-05-12 11:24:03 +03:00
Jean-Louis Leysens 2ad2bfa906
Fix heigt calc in calc issue for ie11 (#66010) 2020-05-12 09:37:03 +02:00
Alexey Antonov 96bc663862
[Flights] Delay Bucket - Error notification on opening sample visualization (#66028)
Closes: #66024
2020-05-12 10:35:39 +03:00
Xavier Mouligneau 3bb51bb430
[SIEM] [Security] unified code structure phase 0 (#65965)
* apply new structure for teh security solutions

* fix few imports + store

* fix types

* update path in test

* miss path in api_integration

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-11 22:52:43 -04:00
Thomas Neirynck bf178dece9
[Maps] Organize layers into subfolders (#65513) 2020-05-11 20:40:12 -04:00