Commit graph

32388 commits

Author SHA1 Message Date
Poff Poffenberger
d94d7cc719
[Canvas] Fix Canvas-specific storybook after new platform changes (#61876)
* Fix Canvas storybook webpack config

* Temporarily disable workpad export example

* Mock out lib/notify and download_workpad

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 09:20:25 -05:00
Aaron Caldwell
67536e4b3c
Fix issue with license not getting obtained & passed to server… (#62883) 2020-04-08 08:12:37 -06:00
James Gowdy
6b52ce7341
[ML] Adding configurable file size to file data visualizer (#62752)
* [ML] Adding configurable file size to file data visualizer

* updating translated strings
2020-04-08 15:09:56 +01:00
Maja Grubic
4d7cc6dfb7
Removing unused import (#62917)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 14:32:13 +01:00
MadameSheema
aa54929fb5
skips 'Sorts by activated rules' (#62924) 2020-04-08 15:14:07 +02:00
Larry Gregory
cc9c4113b2
Document sub-feature privileges (#62335)
* documenting sub-feature privileges

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-04-08 07:15:31 -04:00
Maryia Lapata
3d6fd68eb2
Get rid of ui/i18n in Discover (#62799) 2020-04-08 12:48:41 +03:00
Daniil Suleiman
314c4f782f
[NP] Vis Default Editor plugin (#62475)
* Move the default_editor to NP

* Fix paths

* Import styles through the visualize

* Other fixes

* Fix ip_ranges exhaustive-deps array

* Fix filters and extend bounds

* Other fixes

* Fix date_ranges tests

* Use useMount on first render

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 12:00:13 +03:00
Mikhail Shustov
267f22c2ee
2Mb --> 53kB (#62781) 2020-04-08 10:21:06 +02:00
Alejandro Fernández Haro
028313a8fe
[Telemetry] Add possibility of registering exclusive collectors for each collection (#62665)
* [Telemetry] Add posibility of regitering exclusive collectors for collections

* [Telemetry] Filter unwanted fields from the kibana.os telemetry payload

* Filter the collectors properly in bulkFetch

* Move "kibana" usage collector from Monitoring to OSS Telemetry

* Remove exclusivity of the "kibana_settings" collector

* Unify "kibana_stats" collector from Monitoring and Legacy

* Remove unused legacy constants

* Proper type for UsageCollectionSetup in monitoring

* Missed one undo

* Add unit tests to the migrated collectors

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 09:08:59 +01:00
Peter Pisljar
d212102bf5
fixing region map click filter (#61949) 2020-04-08 07:44:23 +02:00
Frank Hassanabad
5218e30487
[SIEM][Detection Engine] Fixes TypeScript types and adds format to time range query
## Summary

* Fixes the Type Script types so we don't have to use non-null-assertions
* Adds null checks where needed
* Changes the time range query to have a format of epoch to avoid mapping issues

### 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-04-07 19:37:47 -06:00
Tiago Costa
7e3c68bb7a
chore(NA): removes server imports from canvas src plugin (#62783)
* chore(NA): remove server imports from canvas src plugin

* chore(NA): correctly import types for demodata
2020-04-08 00:44:38 +01:00
Paul Tavares
eacdbcd4f5
[Endpoint] new AppRootProvider + Policy details tests (#62319)
* Refactor of mocks into own dir ++ added `createAppContextTestRender`
* new AppRootProvider component
* Refactor application `index.tsx` to use `AppRootProvider`
* Add `generatePolicyDatasource()` to EndpointDocGenerator
* Test for policy details
2020-04-07 16:37:15 -04:00
Brandon Morelli
5e1708f884
[APM] docs: add service map information (#62671) 2020-04-07 11:27:02 -07:00
Cauê Marcondes
20dc67df71
[APM] Agent span_frames_min_duration configuration input cannot handle 0 or -1 (#62777)
* changing duration min value for span_frames_min_duration

* adding min property to number field
2020-04-07 20:18:35 +02:00
Yuliia Naumenko
a8f84f87af
Improve UX for index document code editor to have similar UX as webhook (#62724)
* Improve UX for index document code editor to have similar UX as webhook's

* Fixed jest tests

* Fixed codestyle issue
2020-04-07 10:56:48 -07:00
Zacqary Adam Xeper
879dadff31
[Metrics Alerts] Dynamically fetch index pattern (#62708)
* Fetch index pattern dynamically from alert executor

* Fix fetching of non-default pattern
2020-04-07 12:55:42 -05:00
Chris Roberson
8ffc08f2f7
[REVERT THE REVERT] [Monitoring] Cluster state watch to Kibana alerting (#62793)
* Revert "Revert "[Monitoring] Cluster state watch to Kibana alerting (#61685)""

This reverts commit f1bd3bdacb.

* Fix i18n error

* Fix test
2020-04-07 13:44:34 -04:00
Cauê Marcondes
d70718426f
[APM] Change custom link from EuiListGroupItem to EuiLink (#62742) 2020-04-07 18:39:52 +02:00
Alison Goryachev
406d7550be
[Remote Clusters] Update callout and move server_name field (#62352) 2020-04-07 12:36:13 -04:00
Corey Robertson
2c4cc12b98
Removes Pitch Presentation Template from Canvas (#62688)
* Removes Pitch Presentation Template from Canvas

* Fix test

* Keep translation to not fail i18n
2020-04-07 11:55:06 -04:00
Dmitry Lemeshko
898504dc8f
FTR: Enable w3c for chromedriver (#62542)
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd678.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 17:40:27 +03:00
Robert Oskamp
b7d05573e7 [ML] Disable functional tests 2020-04-07 16:38:04 +02:00
Sébastien Loix
c92289d217
[ILM] Skip failing API integration test (#62779) 2020-04-07 16:32:51 +02:00
Xavier Mouligneau
8eb9fdd6eb
[SIEM] Update beat doc (#61902)
* add new ecs description

* new auditbeat/filebeat description

* update description winlogbeat

* bring back description in pictures

* review I + use ECS doc as last ressource when you do not know the index

* update test

* safety default just in case

* fix functional test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 10:27:11 -04:00
Lukas Olson
d1e8d0d6ec
[Search] Properly add slash preceding path in async search (#62722)
* [Search] Properly add slash preceding path in async search

* Fix tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 07:21:28 -07:00
Dario Gieselaar
95505bf1e1
[APM] make sure environment query is correct for service maps… (#62764)
Closes #62207.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 16:17:02 +02:00
Nathan L Smith
cd1e11bce6
Add service map icon for rum-js agent type (#62721)
* Add service map icon for rum-js agent type

We previously were only checking for "js-base" as the RUM `agent.name` but it can report either "js-base" or "rum-js", so make that work.

I saw an "opbeans-react" service on a map generated by apm-integration-testing that Gil had running last week. Not sure if that's a newer or older version because I don't see it on apm.elstc.co.

Also clean up the icons storybook a little.

Fixes #62336.

* use isRumAgentName

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 09:08:38 -05:00
Oliver Gupte
30b6d42c42
[APM] Service map - fixes irrelevant services on data refresh (#62750)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 16:06:55 +02:00
Oliver Gupte
d565db0dbd
[APM] Service map - Fix taxi edge arrow orientation (#62741)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 16:06:49 +02:00
Dario Gieselaar
6fdd7b4c9b
[APM] Prevent error rate alert trigger from rendering NaN (#62754)
* [APM] Prevent error rate alert trigger from rendering NaN

Closes #62458.

* Use params instead of alertParams
2020-04-07 16:06:13 +02:00
Jonathan Buttner
994aa63e50
[EPM] Store map visualizations from the package registry and use saved object ID (#62059)
* Using saved objects id instead of creating one

* Adding map to list of types

* Fixing typing errors

* Reverting id change

* Reverting asset id

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 08:50:30 -04:00
Patrick Mueller
459d6ec365
[Alerting] for email action, set tls.rejectUnauthorized: false when secure: false (#62380)
resolves https://github.com/elastic/kibana/issues/62372

See the referenced issue for background.  Eventually we will probably have to
have a separate setting for `tls.rejectUnauthorized`, not base it on the
value of the `secure` config property.  But this will likely be useful for
a number of smtp servers used by customers.
2020-04-07 08:30:17 -04:00
Alexey Antonov
008b0fda64
[data.search.aggs] Remove service getters from agg types (#61628)
* [data.search.aggs] Remove service getters from agg types

Part of #60333

* new portion of changes

* pass dependencies to MetricAgg Type through constructor

* update docs

* refactoring buckets

* remove unused mockDataServices

* Remove service getters from metrics

* Some fixes

* remove temporary code

* moved notifications to the getInternalStartServices

* fixed karma lock

* update docs

* Fixed tests

* fix broken CI

* fix PR comment

* fix typo

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2020-04-07 13:39:30 +03:00
Cauê Marcondes
fb0d0a5834
fixing APM internationalization (#62757) 2020-04-07 12:27:22 +02:00
Vadim Dalecky
afb8d8d7ce
fix: 🐛 correctly create error on no_matching_indices (#61257)
* fix: 🐛 correctly create error on no_matching_indices

* feat: 🎸 improve error type checking

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 12:19:21 +02:00
Tim Roes
3a9e7be8bf
[Lens] Remove all legacy imports (#62596)
* Remove all legacy imports

* Fix import
2020-04-07 11:08:54 +02:00
Jean-Louis Leysens
d1911ec843
Add label for ace editor (#62588) 2020-04-07 09:52:22 +02:00
James Gowdy
64f27ca34e
[ML] Show better file structure finder explanations (#62316)
* [ML] Show better file structure finder explanations

* more typescript changes

* changing function format

* fixing some types

* fixing translation id

* fix boom error reporting

* changes based on review

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 08:47:39 +01:00
Tim Roes
8429a8ede9
Fix old pathes in eslintrc (#62580) 2020-04-07 09:24:21 +02:00
Shahzad
355cacff7c
[Uptime] Improve Telemetry test (#62428)
* removed unnecessary filter

* update condition

* added a unit test for mix state

* fix types

* fix type

* updated test

* update

* updates test

* updates tests

* updates tests

* updated type

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 09:19:36 +02:00
MadameSheema
91a0010668
[SIEM] Adds sort rules Cypress test (#62700)
* adds 'singal detection rules' spec

* adds 'Sorts by activated rules' test

* implements 'Sort by activated rules'

* refactors code

* fixes index
2020-04-07 09:19:08 +02:00
Shahzad
2e0d900257
[Uptime]Abstracted 'access:uptime-read' tag into a wrapper for… (#62576)
* abstract access headers

* updated code
2020-04-07 09:16:45 +02:00
Cauê Marcondes
0458626379
fixing bug (#62577) 2020-04-07 09:08:00 +02:00
Nathan Reese
dc013cb80f
[Maps] Allow updating requestType for ESGeoGridSource (#62365)
* [Maps] Allow updating requestType for ESGeoGridSource

* re-add import removed from last merge

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-06 21:27:47 -06:00
Nathan Reese
3f11d9c84b
[Maps] do not show circle border when symbol size is zero (#62644)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-06 21:26:55 -06:00
Nathan Reese
7882e0c3a8
[Maps] Always show current zoom level (#62684)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-06 21:26:10 -06:00
The SpaceCake Project
b65de27458
bc5 siem rules merge (#62679)
* bc5 rule merge

version changes
field changes to endpoint rules
removed max_signals from 7 rules

* Fixing monitoring i18n (#62715)

* Updates esarchiver test data with the latest rules (#62723)

* Remove CR, only CRLF for rules

* delete two files

for Garrett

* deletes

delete 2 files (for Garrett)

* Revert "deletes"

This reverts commit cc2ac1e05f.

* Revert "Fixing monitoring i18n (#62715)"

This reverts commit 028574037a.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com>
2020-04-06 20:45:39 -06:00
spalger
f1bd3bdacb Revert "[Monitoring] Cluster state watch to Kibana alerting (#61685)"
This reverts commit ab0cc8894a.
2020-04-06 17:05:09 -07:00