Commit graph

35759 commits

Author SHA1 Message Date
Thomas Neirynck 954b5b5224
[Maps] Move elasticsearch_geo_utils to common (#75508) 2020-08-20 09:28:19 -04:00
Chris Roberson 3fb639f986
[Monitoring] Fix bug where kibana crashes with collection disabled (#75335)
* Fix bug where kibana crashes with collection disabled

* Do not set this to an empty object by default

* Always create the bulk uploader, and fix this misplaced license check

* Fix type issue

* Add a couple basic tests

* Fix type issue
2020-08-20 09:23:20 -04:00
Luke Elmers 020a76bd3a
[data.search.SearchSource] Extract dependencies and pass them in from the service definition. (#75368)
* Remove injectedMetadata dependency from SearchSource.

* Create common GetConfigFn interface.

* Removed unused service getters.

* Switch all usages of uiSettings to use getConfig.

* Fix circular dependencies.

* Update generated docs.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-20 06:38:44 -06:00
Joe Portner 4dd5d63484
Change response for Saved Objects share/unshare operations (#74995) 2020-08-20 08:35:33 -04:00
Vadim Dalecky cd36188c40
Modularize render complete (#74504)
* chore: 🤖 remove unused render-complete logic

* feat: 🎸 add render-complete observables to IEmbeddable

* Revert "chore: 🤖 remove unused render-complete logic"

This reverts commit 0049c01fbd.

* refactor: 💡 rename render complete "helper" to "listener"

* feat: 🎸 add render complete dispatcher to embeddable

* refactor: 💡 move data-title setup to Embeddable

* refactor: 💡 move embeddable data-title setting to render-compl

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-20 14:31:35 +02:00
Shahzad bb8e5dc3a7
Upgrade APM RUM packages from 5.4.0 to 5.5.0 (#75530) 2020-08-20 14:27:06 +02:00
Robert Oskamp 77a434b2f7
[ML] Functional tests - fix imports in results API tests (#75533)
This PR fixes the broken COMMON_REQUEST_HEADERS in the recently added results API tests.
2020-08-20 12:38:20 +02:00
Alexey Antonov d158692bf5
Vega is now GA (#75157)
* Bringing Vega out of experimental

Closes: #21721

* fix CI group 12

* remove experimental flag from doc

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-20 12:19:21 +03:00
Robert Oskamp c88c73298c
[ML] Functional tests - refactor structure of ML and Transform test files (#75307)
This PR refactors the structure of ML and Transform functional UI test files.
2020-08-20 10:07:21 +02:00
MadameSheema eba85ef50a
fixes 're-orders columns via drag and drop' test (#75126)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-20 09:39:38 +02:00
MadameSheema 4a0a79f9c3
fixes timeline local storage test (#75123)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-20 09:39:09 +02:00
Maja Grubic be0724dd91
[Time to Visualize] Unifying feature flag config for visualize editor and dashboard (#75408)
* Unifying feature flag config for visualize/dashboard

* Removing unused import

* Adding missing comma
2020-08-20 08:02:05 +01:00
spalger f1248072d3 skip flaky suite (#75522) 2020-08-19 23:00:53 -07:00
Peter Pisljar 28df9266a0
adds metric_vis_renderer (#57694) 2020-08-20 06:40:08 +02:00
DeDe Morton 4b46316395
Edit text strings for Ingest Manager Overview and Add data pages (#74818)
* Edit Ingest Manager text strings in Overview and Add Data pages

* Add fixes from review

* remove blank line

* Change configurations to policies

* Remove "configuration" from text

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 18:02:34 -07:00
Kevin Logan f286f8f6e1
[SECURITY_SOLUTION] Task/add auto refresh to endpoint list (#74856) 2020-08-19 19:52:56 -04:00
Josh Dover 51a80c61a0
Add support for reading request ID from X-Opaque-Id header (#71019)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 15:41:12 -06:00
Tim Sullivan e48a5672c0
[Reporting/JobListing] fix user ID for non-security in queries (#75365)
* [Reporting/JobListing] fix user ID for non-security in queries

* fix tests

* add fn api test

* fix ci

* revert TS exploration
2020-08-19 13:52:43 -07:00
Jen Huang ad5c0f58fe
[Ingest Manager] Rename agent/package config(s) to agent/package policy(ies) (#74914)
* Initial pass at updating client routes, variables names, code comments, and UI copy

* Adjust server routes and param names, more var names and i18n fixes

* Fix test

* More var renaming

* Rest of server-side var renaming

* Rest of client side var renaming

* Rename agent SO attributes and add migrations

* Remove agent prefix from policy fields

* Rename agent policy SO attributes and add migrations

* Rename enrollment api key SO attributes and add migrations

* Rename package policy SO attributes and add migrations

* Rename agent event SO attributes and add migrations

* Rename subtype CONFIG to POLICY (I don't think this string is ever sent by agent, though)

* Update snapshot

* Remove unnecessary cloning in migrations

* Fix migration typos

* Update naming in tests and es archiver data

* Rename file names in /common

* Rename /server files

* Rename /public files

* Rename test file names

* Rename missed files

* Revert "Rename subtype CONFIG to POLICY (I don't think this string is ever sent by agent, though)"

This reverts commit 3c91e01ed9.

* Add migration version to updated es archiver data to fix tests
2020-08-19 13:52:06 -07:00
Steph Milovic 9111d50965
fix tests and enable in CI (#75313) 2020-08-19 13:15:55 -06:00
Chris Roberson eb3cb8258f
Add loading page (#75362) 2020-08-19 14:57:53 -04:00
Paul Tavares d46227421e
[SECURITY_SOLUTION][ENDPOINT] Add creation of Trusted Apps Agnostic List (#74868)
* Add method to ExceptionsListClient for creating trusted apps list
2020-08-19 14:32:43 -04:00
Frank Hassanabad 02fcbaa794
Fixed bug where list index privileges was returned twice instead of list item index (#75256)
## Summary

Fixes a bug where the list privileges was returning the `.list` privileges twice instead of returning it once and returning the `.items` privileges second with the call. No UI has to change as the way it was written was dynamic to grab the first key found.

This also adds the functional tests to `x-pack/scripts/functional_tests.js` which was not there originally so the end to tend tests should actually run on the CI machine where it was not running on CI before.

Adds the functional tests to the code owners file as well.

Ensure that you go to the test results page from the Jenkins build:
<img width="901" alt="Screen Shot 2020-08-18 at 1 13 18 AM" src="https://user-images.githubusercontent.com/1151048/90482180-13f7c800-e0f0-11ea-92f2-b30a8fffe84e.png">

And ensure you see the tests under:

```
X-Pack Lists Integration Tests
```

Then click through it and ensure they are shown as running and passing

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2020-08-19 12:30:11 -06:00
Brent Kimmel 7ac929b4cb
[Security Solution][Resolver] enzyme semantics (#75311)
* remove old edgeline method on simulator

* [Security Solution][Resolver] Enzyme test treeitem/tree roles
2020-08-19 14:27:48 -04:00
James Gowdy fb2cac9a8a
[ML] Fixing file import button on basic license (#75458) 2020-08-19 19:13:12 +01:00
Quynh Nguyen 3469e164f4
[ML] Add option for per-partition categorization to categorization job wizard (#75061) 2020-08-19 13:03:00 -05:00
Liza Katz b944dd3c96
[Search] Use new es client (#74529)
* improve test stability

* Use new client

* docs

* Use asyncSearch endpoints

* Clean up types

* Use transport request for now

* fixes

* Fix functional test

* encode

* remove eslint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 20:29:35 +03:00
Shahzad 2c865f5649
[RUM Dashboard] Create new path for client side monitoring (#74740) 2020-08-19 19:05:53 +02:00
Ben Skelker 32bd45bfbb
updates link to security docs (#75421) 2020-08-19 19:28:48 +03:00
Ryland Herrick 32c23eacc9
[Security Solution][Detections] Loosen lists permissions (#75378)
* Allow read-only lists users to use Detections if lists indexes exist

We were previously showing them a configuration page, which was
incorrect. The only place we require the write permission is the value
lists modal, which is now hidden if that permission is absent.

* Disable the Value Lists modal when the user cannot write lists

If the user does not have permission to write to the lists index, they
should not be able to CRUD value lists.

* style: Remove unnecessary useCallbacks

* Replaces useCallback functions with inline anonymous functions
* Renames the modal state to be more similar to existing analogous
  modal state
2020-08-19 11:25:26 -05:00
Dmitry Lemeshko f983e120b6
[code coverage] always download node before team assignment (#75424) 2020-08-19 18:13:29 +02:00
Sébastien Loix 0c6f682890
[Form lib] Allow new "defaultValue" to be provided when resetting the… (#75302) 2020-08-19 18:08:15 +02:00
Alejandro Fernández Gómez 96118624de
[Logs UI] Add "View in machine learning" links in the anomaly explorer (#74555)
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 18:07:33 +02:00
spalger f5e5abe50b skip flaky suite (#75440) 2020-08-19 08:48:59 -07:00
spalger a68f4beb8a skip flaky suite (#75386) 2020-08-19 08:42:11 -07:00
Gidi Meir Morris 9698a0720d
[Saved objects] Add support for version on create & bulkCreate when overwriting a document (#75172)
Adds support for `version` one the SavedObjectsClient's create api.
This sallows us to retain Optimistic concurrency control when using create to overwrite an existing document.
2020-08-19 16:10:33 +01:00
Stratoula Kalafateli 9a22ef29d4
[Functional]Table Vis increase sleep time in order filter to be applied (#75138)
* Increase sleep time in order filter to be applied

* revert

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 18:04:03 +03:00
Mikhail Shustov 385b570bb5
MOAR RAM (#75423) 2020-08-19 16:49:34 +02:00
Alexey Antonov 88802cb488
[Visualize] Horizontal Bar Percentiles Overlapping (#75315)
* [Visualize] Horizontal Bar Percentiles Overlapping

Closes: #74986

* add tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 17:26:41 +03:00
Walter Rafelsberger e61a4b63a6
[ML] DF Analytics / Transforms: Fix job row actions menu invalid DOM nesting warning (#74499)
Refactors the action buttons for transforms and analytics job list to no longer produce nested button elements and throw a React error.
2020-08-19 16:25:00 +02:00
Dima Arnautov 8f7d213944
[ML] Inference models management (#74978)
* [ML] init tabs

* [ML] init inference API service in UI

* [ML] server-side routes

* [ML] basic table

* [ML] support deletion

* [ML] delete multiple models

* [ML] WIP expanded row

* [ML] fix types

* [ML] expanded row

* [ML] fix types

* [ML] fix i18n id

* [ML] change server-side permission check

* [ML] refactor types

* [ML] show success toast on model deletion, fix models counter

* [ML] update expanded row

* [ML] pipelines stats

* [ML] use refresh observable

* [ML] endpoint to fetch associated pipelines

* [ML] update the endpoint to fetch associated pipelines

* [ML] show pipelines definition in expanded row

* [ML] change stats layout

* [ML] fix headers

* [ML] change breadcrumb title

* [ML] fetch models config with pipelines

* [ML] change default size to 1000

* [ML] fix collections keys, fix double fetch on initial page load

* [ML] adjust models deletion text

* [ML] fix DFA jobs on the management page

* [ML] small tabs in expanded row

* [ML] fix headers text

* [ML] fix models fetching without pipelines get permissions

* [ML] stats rendering as a description list

* [ML] fix i18n id

* [ML] remove an extra copyright comment, add selectable messages

* [ML] update stats on refresh
2020-08-19 16:22:26 +02:00
Chris Roberson 774c04a2d5
[Monitoring] Migrate karma tests (#75301)
* Move to jest

* More tests
2020-08-19 10:13:27 -04:00
Sébastien Loix 53c765eb22
[Index template] Add filters to simulate preview (#74497)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 16:13:18 +02:00
Joe Portner 87414ad0d9
Bump and consolidate dependencies (#75360) 2020-08-19 09:54:11 -04:00
Nicolas Chaulet cebcc3a229
[Ingest Manager] Fix agent config rollout rate limit to use constants (#75364) 2020-08-19 07:49:08 -04:00
Thomas Watson 37f4f28040
Update Node.js to version 10.22.0 (#75254) 2020-08-19 12:14:54 +02:00
Walter Rafelsberger 2559d90551
[ML] Anomaly Explorer / Single Metric Viewer: Fix error reporting for annotations. (#74953)
Fixes error reporting when annotations fail to load for Anomaly Explorer and Single Metric Viewer.
Previously, Anomaly Explorer ended up with a completely empty page when annotations failed to load. Single Metric Viewer would not fail to load, but it would make no difference for the user if existing annotations failed to load of if there were simply no existing annotations. Only in dev console an error message would be visible.
Now a callout is shown when annotations fail to load.
2020-08-19 12:07:15 +02:00
Matthias Wilhelm 0efe286fad
[Discover] Fix histogram cloud tests (#75268) 2020-08-19 10:48:10 +02:00
Stratoula Kalafateli b6c475707c
Uiactions to navigate to visualize or maps (#74121)
* Navigate from discover to visualize with registering into a trigger

* Implement the VISUALIZE_FIELD action

* Implementation of the maps app trigger actions with the isCompatible functionality

* clean up discover code and tile map action implementation

* Add typeIsHidden on mocks

* Retrieve filters and query from url state

* functional test for oss and tile map

* include geoshape

* fix functional tests

* fix types

* remove unecessary dependencies

* minor fixes

* Remove tilemaps actios as it is going tobe deprecated

* Add useEffect on discover details and move the map action to a separate folder

* Retrieve map tooltips info from context

* Retrieve query and filters from QueryService

* Building urls with urlGenerators

* replace with constants, fetch initialLayers as array

* remove irrelevant comments

* nice improvements

* Return contextualFields for both triggers

* Add getHref on actions, move capabilities to isCompatible method per action and other fixes

* fix type

* Fix type incompatibility after merging with master

* fixes on maps plugin file after merge

* remove unecessary declarations

* nice improvements

* Refactor maps services code to be inline with master

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-19 11:37:45 +03:00
Tim Roes 68ba4834f3
Use prefix search invis editor field/agg combo box (#75290) 2020-08-19 10:29:23 +02:00