Commit graph

33852 commits

Author SHA1 Message Date
Luke Elmers d110e65624
Sort filter fields by items that start with typed characters. (#68585) 2020-06-15 21:54:04 -06:00
Spencer cc1758dd96
[release-notes] add script to generate release notes from PRs (#68816)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 16:27:56 -07:00
Tim Sullivan 7e2ab7fb82
[Reporting/Server] register plugin routes synchronously (#68976)
* register routes synchronously

* back out some refactoring

* comment fix

* fix tests

* register route handler context provider

* Add function level comments in core methods

* fix tests

* revert editor help

* route context is the ReportingStart contract

* Fix reporting job route tests

* Fix generation tests

Co-authored-by: Joel Griffith <joel.griffith@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 16:19:25 -07:00
Tiago Costa 41e801f830
chore(NA): include hidden files when creating package with plugin helpers (#68247)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 23:48:32 +01:00
Steph Milovic f7398f086b
[Security] siem to securitySolution SO migration (#68776) 2020-06-15 16:18:03 -06:00
Jonathan Buttner 646a212b7b
[Endpoint] [ES Archiver] Allowing create option to be passed through the cli for es archiver (#69191)
* Allowing create option to be passed through the cli

* Using kebab casing
2020-06-15 18:04:33 -04:00
Jonathan Buttner 4f5e279d75
Using correct index patterns (#69208) 2020-06-15 14:42:18 -07:00
Justin Kambic ecd3c9b517
Remove obsolete custom types from super date picker handlers. (#69038)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 17:03:43 -04:00
James Gowdy b540ada036
[ML] Allow editing of model_snapshot_retention_days (#69003)
* [ML] Allow editing of model_snapshot_retention_days

* removing commented code

* flooring number input

* adding daily_model_snapshot_retention_after_days

* updating default values

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 21:45:51 +01:00
Jen Huang 07241d1af8
[Ingest Manager] Add ability to copy an agent config (#68737)
* Add copy agent config endpoint, schema types, and request hook

* Add copy config to context menu and modal

* Change data sources to be copied via bulk instead of singles in parallel

* Add copy endpoint to openapi spec file

* Add api integration tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:40:08 -07:00
Josh Dover a7900d0e99
Fix plugin lifecycle log to only include server plugins (#68686)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:31:02 -06:00
Kaarina Tungseth 4d02eab0f3
Updates the Release Notes content in CONTRIBUTING (#69032)
* Updates the Release Notes content in CONTRIBUTING

* Release Notes guidelines

* Fixes bulleted list indentation
2020-06-15 14:25:53 -05:00
Jonathan Buttner dc5f448076
[Endpoint] Remove dependency on ingest for the index patterns (#69058)
* Remove dependency on ingest for the index patterns

* Fixing the tests

* Fixing test

* Use variable instead of class
2020-06-15 15:22:24 -04:00
Davis Plumlee e3ba5e5e1f
[SIEM][Detections] In progress alert state (#68569) 2020-06-15 13:06:39 -06:00
John Schulz 0ce29706b2
Don't use filter to get default config & output (#69088)
* Don't use filter to get default config & output

the KQL parsing takes up a lot of CPU time. Avoid it with a search string

Also add a `refresh: false` as suggested by @bkobel

* Does restoring await fix CI?

* Remove 'refresh: false' from agent enroll

Does this this fix the failing test? It does keep the PR more focused

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 15:03:10 -04:00
Jen Huang 9ddaebc371
Add enroll agent action to config action menu (#68840)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 11:45:15 -07:00
Andrea Del Rio b57149ccb2
[Alerting] Update Index Threshold to use columns in EuiExpression (#69051) 2020-06-15 11:43:19 -07:00
Jean-Louis Leysens 169cc248e8
try to fix integration test by making template more specific (#69138)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 20:40:20 +02:00
Alejandro Fernández Haro c09b2287cc
[skip-ci] Rename @elastic/pulse to @elastic/kibana-telemetry (#69181) 2020-06-15 19:21:08 +01:00
Zacqary Adam Xeper 1b9ba5d0b0
[Metrics UI] Add preview feature for metric threshold alerts (#67684)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:17:04 -05:00
Brittany Joiner 570be32b14
Set wrap to the errorLink so it doesn't go outside of box (#67797)
* set wrap to the errorLink so it doesnt go outside of box

* updating

* set wrap to the errorLink so it doesnt go outside of box

* updating

* Show full message on hover

Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2020-06-15 12:51:42 -05:00
Candace Park 52c8e96280
[SECURITY SOLUTION] Task/endpoint details to fleet (#68710)
[SECURITYSOLUTION][INGEST] Fixes endpoint link, adds link from endpoint details to fleet

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:14:51 -04:00
Nathan L Smith eef8dc7653
[APM] Changes to duration formatting (#69039)
* [APM] Changes to duration formatting

* Change the threshold for showing microseconds to 1 millisecond instead of 10. This means you now get "900 µs/1.3 ms/20.0 ms" instead of "900 µs/1300 µs/20 ms."
* Change milliseconds formatted with `asDuration` to be `asDecimal` instead of `asInteger`. That means you get "0.0 ms/2.5 ms/3.0 ms" instead of "0 ms/2 ms/3 ms."
* Tables were all using their own module-scoped functions that called `asDuration` to format things as decimal milliseconds. Extract this to an `asMillisecondDuration` function exported from the duration helpers and use it in all the tables.
* Change `getResponseTimeseries` in chart selectors to use `asDuration` to make all chart timeseries units consistent.
* Don't export `convertTo` from the duration helpers as it's now not used anywhere. Always use a more specific exported function for more consistency.
* Change ">=" to "≥" in the ML flyout text.

* Update e2e snapshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 11:56:45 -05:00
Chris Roberson e6cf4b36d3
[Monitoring] Ensure we use existing Elasticsearch config (#68389)
* Ensure we use existing Elasticsearch config

* Use separate type for this to ensure custom properties work

* PR suggestions

* PR feedback

* PR feedback

* Fix type issues

* PR feedback
2020-06-15 12:43:37 -04:00
Jonathan Buttner fcfc0b1050
[Endpoint] Adding alerts route (#68183)
* Adding alerts route

* Adding related alerts generator changes, tests, and script updates

* Fixing missed parameter

* Aligning the AlertEvent and ResolverEvent definition

* Fixing type errors

* Fixing import error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 12:01:37 -04:00
Anton Dosov 3d0552e03c
Embed dashboard by value example & some embeddable clean up (#67783)
Added example for using dashboard container by value
1.1 Refactored embeddable explorer e2e test to use new example, removed not needed kbn_tp_embeddable_explorer plugin.
For embeddable explorer examples went away from using getFactoryById() to improve type checks
There is new component a replacement for EmbeddableFactoryRenderer with slightly more flexible api: EmbeddableRenderer.
3.1 We can improve it going forward to support more use case
2020-06-15 17:13:31 +02:00
MadameSheema 80ab0d9792
fixes 'Configures a new connector' flaky test (#69011)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 16:58:47 +02:00
Mikhail Shustov 2a9fc23673
Type safe browser.executeAsync (#69018)
* make browserAsync type safe

* adopt tests

* prefer unknown over any

* simplify signature
2020-06-15 15:32:08 +02:00
Xavier Mouligneau 46ed40ec07
[SECURITY] rename server plugin to siem (#69044)
* rename server plugin to siem to avoid privilege issue

* review from alerting

* missing change with rename

* fix tests

* missing api integration test

* fix api integration spaces
2020-06-15 09:16:52 -04:00
Stratoula Kalafateli 4e864268ce
fix spec color highlighting not working on vega vis (#68995)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 15:57:20 +03:00
Jean-Louis Leysens 99a868a125
[Console] Scrub the lead and trailing brackets from ipv6 host names (#68991)
* scrub the lead and trailing brackets from ipv6 host names

* Update comment

* refactor: scrub -> sanitize

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 14:56:33 +02:00
Alison Goryachev 533046fd9c
[ES UI] Error handling (#68809) 2020-06-15 08:48:10 -04:00
Aleh Zasypkin 0c34bd7e67
Re-enable mistakenly skipped tests. (#69123) 2020-06-15 11:38:04 +02:00
Liza Katz efe6ba4903
[Search][BUG] Call wrong search strategy recursively in async search (#69116)
* Call sync search recursively

* Fix test

* Fix search mock to avoid resetting it

* delete empty line

* fix tests
2020-06-15 11:10:22 +03:00
Cauê Marcondes 437f9f6041
[Observability] Create context container to enable Observability plugin registry function (#68642)
* creating observability context registry

* adding registryContext

* addressing PR comments

* addressing PR comments

* adding context to registry provider

* adding obs own registry

* refactoring

* refactoring

* fixing types

* removing apm code

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 08:46:36 +02:00
Matthias Wilhelm 4ce3702a84
Rename space id for disabled index pattern test (#68990) 2020-06-15 08:44:24 +02:00
spalger 4295dfec0f skip flaky suite (#63339) 2020-06-13 14:37:30 -07:00
Michael Olorunnisola 04b8a49151
Resolver Light Theme And Kibana Integration (#67859) 2020-06-12 21:56:00 -04:00
Spencer dc99b4fbef
[kbn/dev-utils] expose public tooling_log module (#68868)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-12 18:47:29 -07:00
Matthew Kime 85ebaed37c
index pattern(s) take dependencies as object (#69055)
* index pattern(s) take dependencies as object
2020-06-12 19:29:14 -05:00
Spencer 0577f9bdcf
include ci-stats metrics in pr comment (#68563)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 16:37:38 -07:00
Joe Portner 6f084dfa92
Bump webpack packages (#68716)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-12 18:57:28 -04:00
Shahzad f8cad12ad8
[Uptime] Fixed metric query broken because of missing mapping (#68999)
Co-authored-by: Andrew Cholakian <andrew@andrewvc.com>
2020-06-13 00:34:05 +02:00
igoristic de8714da67
Added cloud as an optional dependency (#69050) 2020-06-12 17:50:45 -04:00
igoristic b41151aeec
Fixed all external links (#68614)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 17:43:02 -04:00
Kaarina Tungseth 1225c32fac
[DOCS] Reorganizes doc nav to match new Kibana nav (#69069) 2020-06-12 16:09:44 -05:00
Jonathan Buttner 7eaa80046a
[Endpoint] Using the stats provided by the backend for resolver UI (#68577)
* Removing a lot of the code to request related events and create the maps

* Correctly displaying stats

* Removing tests

* Addressing todos

* Fixing test

* Fixing camera test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 16:53:25 -04:00
Kaarina Tungseth 0187ae6945
[DOCS] Removees 8.0 from Upgrade Assistant docs (#69067) 2020-06-12 15:53:07 -05:00
James Gowdy aae5729f04
[ML] Fix cloud deployment ID check (#68695)
* [ML] Fix cloud ID check

* updates for tests

* adding extra test

* updating test titles

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 21:19:18 +01:00
EamonnTP b69be815ff
[DOCS] Move metrics app content to metrics monitoring guide (#69033)
* Move metrics app content to metrics monitoring guide

* Remove logs and metrics redirects
2020-06-12 19:33:26 +01:00