Commit graph

34360 commits

Author SHA1 Message Date
Spencer
eb84503d8a
upgrade caniuse-lite database (#70833)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-07-06 12:56:26 -07:00
John Schulz
ee0653658d
Remove the legacy Ingest Manager plugin. (#65534)
The last thing we were using from it was configuring a static assets directory (which is only use for the EPM Integrations header graphic).

This is now provided by platform and is not configurable da28df5b15/src/core/MIGRATION.md (L1344)

Moved the header assets to the new directory & updated the `toAssets` helper
2020-07-06 15:49:14 -04:00
Sandra Gonzales
984ea0700e
[Ingest Manager ] prepend kibana asset ids with package name (#70502)
* prepend asset ids with package name

* fix type

* cleanup

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 15:46:30 -04:00
Sandra Gonzales
b8591bc948
change user facing text Data streams to datasets (#70840) 2020-07-06 15:38:21 -04:00
MadameSheema
cd50899493
fixes and unskips 'export rule' test (#70699)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 21:26:34 +02:00
MadameSheema
7b0e9dfe9a
[SIEM] Unskips and fixes 'Detection rules, custom' test (#70693)
* unskips and fixes 'Detection rules, custom' test

* deletes comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 21:25:52 +02:00
Melissa Alvarez
a4340f0ece
[ML] DF Analytics: add ability to edit job for fields supported by API (#70489)
* wip: add edit action to dfanalytics table

* add update endpoint and edit flyout

* show success and error toasts. close flyout and refresh on success

* show permission message in edit action

* update types

* disable update button if mml not valid

* show error in toast, init values are config values

* fix undefined check for allow lazy start

* prevent update if mml is empty
2020-07-06 15:10:01 -04:00
Jonathan Buttner
321fb871cc
[EPM][Security Solution] Implementing dataset component templates (#70517)
* Implementing dataset component templates

* Fixing test

* Temporary fix to include timestamp with any component template created

* Update package registry docker image for CI.

* Adapt to new registry filesystem layout.

* Adjust tests to changed registry behavior.

* Adding a test for mappings and settings overrides

* Wrap all the tests in the docker check

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Sonja Krause-Harder <sonja.krause-harder@elastic.co>
2020-07-06 15:09:35 -04:00
Xavier Mouligneau
da602fc783
fix nav link to be hidden and update access tag (#70607) 2020-07-06 14:25:56 -04:00
Spencer
44925311fc
Fix kbn/optimizer tests (#70827)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-07-06 11:13:17 -07:00
Diana Derevyankina
bd952721a4
Convert tag cloud tests to jest (#70066)
* Convert tag cloud tests to jest

* Add mocks to test_utils and remove tests from legacy

* Revert changes made by accident

* Update tag_cloud_visualization.test.js

* Update tag_cloud.test.js

* Update jsdom_svg_mocks.ts

* Add restoring previous value to window.SVGElement.prototype.transform

* Get rid of some deep imports

* Reimport jsdom_svg_mocks functions from test_utils/public

* Get rid of ExprVis by inlining some of its params to vis object

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2020-07-06 21:02:26 +03:00
Octavio Ranieri
21af99c9b9
[Canvas] Fix falsey/null value bug for dropdown choices (#69290)
* Fixed falsey/null value bug for dropdown choices

* Filter only null and undefined values

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 14:49:56 -03:00
Brandon Morelli
5b5aa70df7
docs: add annotation user docs (#70265) 2020-07-06 10:36:44 -07:00
Melissa Alvarez
93bae2284c
[ML] DF Analytics: adds prompt for destination index pattern creation (#70651)
* add warning if create index not selected

* create indexPrompt component and set needsDestIndexPattern

* translation for prompt text and link

* create indexPattern text to warning color
2020-07-06 13:23:28 -04:00
Melissa Alvarez
31abd6dc28
[ML] DF Analytics creation: switch to includes table (#70009)
* update modelMemoryLimit when hyperParams change

* update functional clone tests

* switch excludes table to includes table

* Job configuration details update

* fix jest tests and types

* fix translations and validate includes fields

* fix functional test

* handle empty includes selection

* switch filter to field_value_toggle_group

* update clone functional test
2020-07-06 13:10:01 -04:00
Sonja Krause-Harder
89dcdbbbee
[Ingest Manager] Update package registry docker image for CI. (#70716)
* Update package registry docker image for CI.

* Adapt to new registry filesystem layout.

* Adjust tests to changed registry behavior.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 18:57:18 +02:00
Nicolas Chaulet
a4485c86c1
[Ingest Manager] Fix agent version check to work with SNAPSHOT versions (#70796) 2020-07-06 12:53:27 -04:00
Jen Huang
cbd39d98a6
[Ingest Manager] Implement concurrency control for package configs (#70680)
* Send SO version field as part of package configs, enforce it during package config update

* Fix typings, extend response error to include optional status code

* Revert unnecessary version fields in tests, fix schema

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 09:45:51 -07:00
Vadim Dalecky
f28d4e920e
Clean-up expression "run" methods (#70795)
* chore: 🤖 remove legacy "interpret" methods in expressions

* fix: 🐛 correctly use the moved "interpret" method

* feat: 🎸 pass through execution context to sub-expressions

* chore: 🤖 remove not used imports
2020-07-06 18:40:07 +02:00
Felix Stürmer
2399780d99
[Logs + Metrics UI] Add index names for the new indexing strategy (#70245)
This add support for the new index name patterns `logs-*` and `metrics-*` of the new indexing strategy to the Logs and Metrics UI source configurations in the form of a migration and changed defaults.
2020-07-06 17:37:28 +02:00
Tiago Costa
3250816d02
skip flaky suite (#70818) 2020-07-06 16:13:37 +01:00
Shahzad
353f33297b
[Uptime] Fix detail page down monitor location badge text color (#70778) 2020-07-06 17:09:30 +02:00
Alejandro Fernández
b172b5b777
[Logs UI] move ML job setup UI to a flyout (#68366)
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 17:04:23 +02:00
Alison Goryachev
81bd66dcfd
[Rollups] Make telemetry code more resilient (#70152) 2020-07-06 10:58:54 -04:00
Joe Reuter
3bddc4aba9
[Lens] Improve no data popover styles (#70594) 2020-07-06 16:57:15 +02:00
Tiago Costa
e0d3022dc9
skip flaky suite (#70727) 2020-07-06 15:56:01 +01:00
Larry Gregory
0673dbde1f
Feature Controls: addressing bugs for enterprise search (#70538)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 10:23:20 -04:00
Søren Louv-Jansen
e298317586
[APM] Fix flaky e2e’s (#70790) 2020-07-06 15:33:17 +02:00
Matthias Wilhelm
68ebd04883
[Discover] Migrate server side saved object from data to discover plugin (#70342) 2020-07-06 15:31:53 +02:00
Søren Louv-Jansen
d12a80e232
[APM] Update docs on running API tests (#70765)
* [APM] Update docs on running API tests

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2020-07-06 15:06:29 +02:00
Vadim Dalecky
2c27bad7c9
test: 💍 delete a flaky test (#70785) 2020-07-06 14:21:05 +02:00
patrykkopycinski
226b4e7067
[Security Solution] Refactor GlobalTime to useGlobalTime hook and cle… (#69345) 2020-07-06 13:36:11 +02:00
Tim Roes
cb302689a5
Remove IE11 mention from PR template [skip ci] (#70486)
* Remove IE11 mention from PR template

* Add link to browser matrix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-06 13:32:55 +02:00
Pierre Gayvallet
04aaba80f7
[GS] add savedObjects result provider (#68619)
* create server-side skeleton

* add base implementation & tests

* add unit test for provider

* remove useless contracts

* add preference search option

* implement score from find results

* fix types

* add FTR test

* fix test plugin types

* address ome review comments

* add multi results test

* use `getVisibleTypes`
2020-07-06 13:04:43 +02:00
Pierre Gayvallet
2a43b48ac7
remove snapshot from disabled test suite. (#70769) 2020-07-06 09:50:04 +01:00
Victor Martinez
564e91fdec
[APM-UI] e2e speed up build (#70704) 2020-07-06 07:41:32 +01:00
Tiago Costa
c96d9b4ba3
skip flaky suite (#70764) 2020-07-06 00:55:02 +01:00
Tiago Costa
86672a7b07
skip flaky suite (#70762) 2020-07-05 23:00:13 +01:00
Madison Caldwell
e429670c35
[Security Solution][Endpoint] Update to new manifest format (without compression) (#70752)
* Stateless exception list translation with improved runtime checks

* use flatMap and reduce to simplify logic

* Update to new manifest format

* Fix test fixture SO data type

* Fix another test fixture data type

* Fix sha256 reference in artifact_client
2020-07-04 19:23:07 -04:00
Dmitry Lemeshko
fd152689f8
[functional tests] test url field formatter on dashboard and discover (#70736)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-03 23:09:02 +02:00
Lee Drengenberg
c3cacba7e2
logout from transform_poweruser user in after method of transform tests (#70644)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-03 13:14:18 -05:00
Xavier Mouligneau
78fc9fb585
[SECURITY] Bug fix for topN on draggables (#70450)
* back to normal

* add unit test

* hover issue + indexToAdd issue

* fix unit test

* review II

* fix bug + review

* simplification

* do not update state when component is unmounted

* fix hover action on field name

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-03 14:08:22 -04:00
Kerry Gallagher
7ec48fd966
[Logs UI] Reorganise log rate anomaly table (#69516)
* Remove top level chart

Remove top level anomalies chart

* Refactor table columns to accomodate new formatting

* Tyical vs actual stats in expanded row

* Format message based on actual vs typical

* Start fleshing out log rate examples endpoint and lib methods

* Use the real document ID for expanded rows so React doesn't re-render content

* Add all data fetching resources for log entry rate examples

* Move log entry example and severity indicator components to a shared location

* Render examples for log rate

* Add severity indicator

* Styling tweaks

* Move horizontal button popover menu to a shared components so log rate table can use it

* Revert "Move horizontal button popover menu to a shared components so log rate table can use it"

This reverts commit f80db5984d.

* Add "view in stream" and "view in anomaly explorer" links

* Hook links into the new context menu component

* Add log column headers and add styling tweaks etc

* Fix translations

* Tweak comments

* Chart tweaks

* Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* PR amendments

- Pass href to context menu items
- Fix start and end times used for example logs
- Use "fewer" rather than "less"

* Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_rate_examples.ts

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_rate_examples.ts

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_rate_examples.ts

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Update x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_rate_examples.ts

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* PR amendments

- Fix typechecking
- Add an empty log example column header to account for the context menu
- Add anomaly start time to rows

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2020-07-03 16:57:59 +01:00
renovate[bot]
97ca7bfc2e
Update dependency @elastic/charts to v19.7.0 (#69791)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-03 17:56:37 +02:00
kaiyan-sheng
e1da6a1f8f
Add googlecloud metricbeat module to Kibana Home (#70652) 2020-07-03 09:18:37 -06:00
Alejandro Fernández
f3573f3bfd
[Logs UI] Logs overview queries for the observability dashboard (#70413) 2020-07-03 16:59:02 +02:00
Joe Reuter
bbda3f99ef
[Lens] Fitting functions (#69820) 2020-07-03 16:15:06 +02:00
Alejandro Fernández Haro
e70fcc708e
[Telemetry] Add documentation about Application Usage (#70624)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-03 13:25:12 +01:00
Nicolas Chaulet
72b300424b
[Ingest Manager] Improve agent unenrollment with unenroll action (#70031) 2020-07-03 08:23:12 -04:00
Corey Robertson
571a610c7e
Handle timeouts on creating templates (#70635)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-03 07:41:52 -04:00