Commit graph

32201 commits

Author SHA1 Message Date
Shahzad
8cacbdfaa5
[Uptime]Alerting UI text in case filter is selected (#62570)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 19:23:16 +02:00
Nathan Reese
bfdccfdbc5
[Maps] Show create filter button for top-term tooltip property (#62461)
* [Maps] Show create filter button top-term tooltip property

* add missing imports

* update import for NP migration

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 11:22:52 -06:00
spalger
56fa9a5776 skip flaky suite (#59030) 2020-04-08 10:17:05 -07:00
Melissa Alvarez
3e4469c99c
[ML] Analytics: ensure both keyword/text types are excluded for selected excluded field (#62712)
* exclude keyword and text types of field selected for exclusion

* only show keyword type fields of accepted fields for depVar

* make excludes field logic generic

* fix regex to ensure escaped dot. reset regex and mainfield

* ensure cloned jobs get correct excluded fields

* add clarifying comments
2020-04-08 13:13:40 -04:00
Larry Gregory
9d89a4fb49
Support multiple reserved feature privileges (#61980)
* support multiple reserved feature privileges

* update reserved privilege ids

* additional testing

* Add ml_user and ml_admin reserved privileges

* prrevent reserved privilege ids from sttarting with 'reserved_'

* address pr feedback: dedicated reserved privilege type

* re-enable ML test suites

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 13:03:15 -04:00
Yuliia Naumenko
730dcbf638
Implemented actions server API for supporting preconfigured connectors (#62382)
* Implemented actions server API for supporting preconfigured connectors defined in kibana.yaml

* Fixed type check

* Fixed due to comments and extended functional tests

* Fixed tests and renamed connectors

* fixed jest tests

* Fixed type checks

* Fixed failing alert save

* Fixed alert client tests

* fixed type checks

* Fixed language check error

* Fixed jest tests

* Added missing comments and docs

* fixed due to comments

* Fixed json config for preconfigured

* fixed type check, reverted config

* config experiment with json stringify

* revert experiment

* Removed the spaces from connector names in config
2020-04-08 09:54:42 -07:00
Phillip Burch
18c3f75bfb
The theme doesn't exist on props when used from the alerting management screen (#62811) 2020-04-08 11:38:23 -05:00
Tim Sullivan
8d8c41153a
Reporting/fix listing pagination (#62881)
* [Reporting] Fix report table pagination

* update snapshot

* nice little comment
2020-04-08 09:22:06 -07:00
nnamdifrankie
3457dde6f5
[Endpoint] EMT-146: add host status info to the metadata API response (#62876)
[Endpoint] EMT-146: add host status info to the metadata API response
2020-04-08 12:10:00 -04:00
Nathan Reese
2023663104
[Maps] Add date-fields to metrics selection (#62629)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-08 10:03:37 -06:00
Peter Pisljar
90e6f2ca6d
fixing multiple metrics (#62929) 2020-04-08 16:57:23 +02:00
Yara Tercero
5d34697ea5
[SIEM][Detection Engine] - Update list values in REST interfaces (#62320)
Summary
- #60022
- Follow up on #60171
- Modifies boolean filters to enum of "included" and "excluded"
- Adds operator types of enum "match", "match_all", "list", and "exists"
- Adds values properties to include those for "list"
- DOES NOT FILTER ON THE VALUES JUST YET (That will be a follow on PR)
2020-04-08 10:46:06 -04:00
eyalkoren
1af82c709f
[APM] Agent remote configuration: general settings descriptions (#62276)
* Updates general remote config descriptions

I removed `log_level` from here because it seems it doesn't fit at least the Java, Go and Node agents - see #61821, and it is already deactivated for most others (this doesn't have to be included in this PR though).

* Update general_settings.ts

* Restore log_level definition

* Remove extra spaces

Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2020-04-08 09:34:04 -05:00
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