Commit graph

36270 commits

Author SHA1 Message Date
Mikhail Shustov e7d8ea3927
Extract src/core in a separate TS project (#76785)
* break dependency on data plugin TS code

* move global typings to @kbn/utility-types

* import types from @kbn/utility-types

* remove type dependency on plugins

* add intermediate js files to break dependency on outter TS code

* temp type declaration for query-string

* declare src/core project

* export types to reference in the built d.ts files

* reference core project

* move jest types out of kbn/utility-types due to a clash with mocha types

* fix wrong es_kuery path and ts project paths

* reference core from packages consuming it

* x-pack & oss should use the same lodash version

* Revert "x-pack & oss should use the same lodash version"

This reverts commit 79cec5781e.

* use the same lodash version

* fix @types/lodash TS2300: Duplicate identifier error

* fix wrong imports

* update docs

* update docs

* add a comment why file is needed
2020-09-15 12:41:27 +02:00
Sébastien Loix aae704ab41
[Index management] Unskip jest tests (#76672)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-15 12:39:35 +02:00
Joe Reuter 63f0cc0519
[Lens] Stack as percentage (#70703) 2020-09-15 11:24:02 +02:00
Maja Grubic e6e7187b03
Implementing ReferenceOrValueEmbeddable for visualize embeddable (#76088)
* Adding dashboard as dependency to visualize

* Making visualize embeddable as ReferenceOrValueEmbeddable

* Adding attribute service to visualize embeddable

* Binding createFromSavedObject method

* Add/remove visualize embeddable from library

* Removing debugger statement

* Using custom save method on attribute service

* Reverting to not using attribute service

* Resetting flag value

* Fix i18n title and update title

* Using custom save method on attribute service

* Fixing eslint

* Using custom save method in visualize embeddable factory

* Making getInputAsValueType return Promise as it should

* Better error handling when saving a visualization fails

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-15 10:18:40 +01:00
Uladzislau Lasitsa b2ff5b4369
Fix tsvb filter ration for table (#77272)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-15 11:10:03 +03:00
Angela Chuang 280777dc09
[Security Solution] Add unit tests for Network search strategy (#77416)
* init tests

* add unit tests for network

* add more tests

* remove reponse from inspect for hostDetails
2020-09-15 08:49:45 +01:00
Gidi Meir Morris 223a18766a
[Alerting] Improves performance of the authorization filter in AlertsClient.find by skipping KQL parsing (#77040)
The Alerts Authorisation now manually builds the authorization filter instead of parsing a KQL string in order to get around the performance issue we recently identified in KQL.
2020-09-15 08:49:20 +01:00
Sonja Krause-Harder 37b9c81f17
[Ingest Manager] Add route for package installation by upload (#77044)
* Add route to accept a direct package upload.

* Only accept application/zip or application/gzip

* Use better name for response containing only a message.

* Add integration test for direct package upload.
2020-09-15 09:46:12 +02:00
Victor Martinez 948fad0b56
[APM-UI][E2E] filter PRs from the uptime GH team (#77359) 2020-09-15 09:13:20 +02:00
Nathan L Smith 3d91165518
[APM] Remove useLocation and some minor route improvements (#76343)
* [APM] Remove useLocation and some minor route improvements

* Replace `useLocation` and our `LocationContext` with `useLocation` from React Router. We can do this since we're now using the platform history, added in #76287.
* Pass in `RouteComponentProps` where appropriate to routes to use `history` and `location`.

This is in the service of #51963, but doesn't do anything with `useUrlParams` or any of the other changes specified in that issue.
2020-09-14 22:55:27 -05:00
Constance 98e6475980
[Enterprise Search] Update enterpriseSearchRequestHandler to manage range of errors + add handleAPIErrors helper (#77258)
* Update/refactor EnterpriseSearchRequestHandler to manage internal endpoint error behavior

+ pull out / refactor all errors into their own methods instead of relying on a single 'error connecting' message

* Fix http interceptor bug preventing 4xx/5xx responses from being caught

* Add handleAPIError helper

- New and improved from ent-search - this one automatically sets flash messages for you so you don't have to pass in a callback!

* Fix type check

* [Feedback] Add option to queue flash messages to handleAPIError

- Should be hopefully useful for calls that need to queue an error and then redirect to another page

* PR feedback: Add test case for bodies flagged as JSON which are not

* Rename handleAPIError to flashAPIErrors
2020-09-14 18:59:45 -07:00
Kevin Logan 88caa798a9
[SECURITY_SOLUTION] Task/hostname policy response ux updates (#76444) 2020-09-14 20:59:21 -04:00
Nathan L Smith 273806bf9b
Move remaining uses of serviceName away from urlParams (#77248)
* Move remaining uses of serviceName away from urlParams

There were a few of these that were either missed or lost in merge conflict resolution.

I went through everything that's used as a path parameter and made sure it wasn't being used anywhere with `urlParams`.

Previously none of the charts were working, now they all are.

Looks like #67791 introduced a find/replace change that broke APM's e2e tests. This reverts that change.
2020-09-14 19:52:05 -05:00
Caroline Horn 5a2f7ae897
[Lens] Move configuration popover to flyout (#76046)
* Moving to a Flyout implementation
* Fix up inner layout of flyout
* Fix up form rows
2020-09-14 18:23:13 -04:00
Nicolas Chaulet 525660413e
[Ingest Manager] Manually build Fleet kuery with Node arguments (#76589) 2020-09-14 17:19:41 -04:00
Brian Seeders 2994d32419 skip flaky suite (#59975) 2020-09-14 16:51:59 -04:00
Vadim Dalecky ea56a32d51
Neutral-naming in reporting plugin (#77371)
* refactor: 💡 remove "blacklist" reference in reporting plugin

* refactor: 💡 remove "whitelist" in reporting plugin

* fix: 🐛 correctly import function after refactor

* refactor: 💡 use "blocked" instead of "denied" terminology
2020-09-14 22:08:04 +02:00
Scotty Bollinger 1140b032f7
[Enterprise Search] Add UserIcon styles (#77385)
* Add user icon styles

* Remame avatar to user-icon
2020-09-14 15:07:13 -05:00
Shahzad 6bef44031d
[RUM Dashboard] Added loading state to visitor breakdown pie charts (#77201)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 21:46:07 +02:00
Nicolas Chaulet 0fb48950f5
[Ingest Manager] Fix polling for new agent action (#77339) 2020-09-14 15:42:38 -04:00
Rashmi Kulkarni 65b5f94a47
Remote cluster - Functional UI test to change the superuser to a test_user with limited role (#77212)
* wip - remote cluster

* update chromedriver to 85

* remote cluster test_user

* Revert "update chromedriver to 85"

This reverts commit 4abbc547ed.

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:36:33 -07:00
Michail Yasonik 61c4e6fd8d
Stacked headers and navigational search (#72331)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-14 14:32:30 -05:00
James Gowdy 1831fb3d2d
[ML] DF Analytics creation wizard: Fixing field loading race condition (#77326) 2020-09-14 20:27:27 +01:00
Chris Roberson 2055f5eecd
[Monitoring] Handle no mappings found for sort and collapse fields (#77099)
* Handle no mappings found for sort and collapse fields

* Add comment

* Fix sort usage

* Ensure we query off MB for new api calls as well

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:04:33 -04:00
Devon Thomson 003fcb1332
Add Lens to Recently Accessed (#77249)
added lens to recently accessed on load and save in app.tsx
2020-09-14 13:52:14 -04:00
Michael Olorunnisola 5c457d1e82
[Security Solution][Resolver] Analyzed event styling (#77115) 2020-09-14 12:56:46 -04:00
Gidi Meir Morris 8f54c50363
filter invalid SOs from the searc hresults in Task Manager (#76891)
Filters out invalid SOs from search results to prevent a never ending loop and spamming of logs in Task Manager.
2020-09-14 17:51:19 +01:00
Shahzad dcd119ce5f
[RUM Dashboard] Visitors by region map (#77135)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 18:22:28 +02:00
Candace Park 1a49c4e203
[Security Solution][Endpoint][Admin] Task/endpoint list actions (#76555)
Endpoint list actions to security solution endpoint admin
Co-authored-by: Paul Tavares <paul.tavares@elastic.co>
2020-09-14 11:51:58 -04:00
Alison Goryachev 7dca537382
[Ingest pipelines] Forms for processors T-U (#76710) 2020-09-14 11:25:18 -04:00
Peter Pisljar 0c3a8c5f4e
updating datatable type (#77320) 2020-09-14 17:00:23 +02:00
Dima Arnautov c5358f3a9b
[ML] Fix custom URLs processing for security app (#76957)
* [ML] fix custom urls processing for security app

* [ML] improve query string parsing

* [ML] remove escaping with !, adjust a unit test for security app

* [ML] unit test

* [ML] unit test
2020-09-14 16:59:09 +02:00
Ahmad Bamieh 8eb4b2e471
[telemetry] add schema guideline + schema_check new check for --path config (#75747) 2020-09-14 17:39:11 +03:00
Walter Rafelsberger dd1822047c
[ML] Transforms: API schemas and integration tests (#75164)
- Adds schema definitions to transform API endpoints and adds API integration tests.
- The type definitions based on the schema definitions can be used on the client side too.
- Adds apidoc documentation.
2020-09-14 16:31:23 +02:00
Alison Goryachev cbcd1ebd32
[Mappings editor] Add support for wildcard field type (#76574) 2020-09-14 10:25:59 -04:00
Nicolas Chaulet b18998026b
[Ingest Manager] Fix flyout instruction selection (#77071) 2020-09-14 10:20:18 -04:00
Ahmad Bamieh 9dfa20acd0
[Telemetry Tools] update lodash to 4.17 (#77317) 2020-09-14 17:14:57 +03:00
Dario Gieselaar 520d348bf8
[APM] Service inventory redesign (#76744)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 16:10:04 +02:00
Larry Gregory 2e34eb239f
Hide management sections based on cluster/index privileges (#67791)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 09:30:47 -04:00
Alison Goryachev ebf877b91f
[Snapshot Restore] Disable steps when form is invalid (#76540) 2020-09-14 08:51:16 -04:00
Alison Goryachev fde34b129a
[Mappings editor] Add support for positive_score_impact to rank_feature (#76824) 2020-09-14 08:43:51 -04:00
Søren Louv-Jansen 92164a3528
Update apm.ts (#77310) 2020-09-14 14:22:13 +02:00
Cauê Marcondes 4ec42d45d2
[OBS] Remove beta badge, change news feed size and add external icon to news feed link (#77164)
* removing beta badge

* change news feed size and adding external icon

* fixing i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:19:26 +02:00
Matthias Wilhelm aed9932579
[Discover] Convert legacy sort to be compatible with multi sort (#76986) 2020-09-14 13:59:14 +02:00
Dario Gieselaar 8a898feeef
[APM] API Snapshot Testing (#77229) 2020-09-14 13:51:13 +02:00
Robert Oskamp 4126ef603a
[ML] Functional tests - increase wait time for DFA start (#77307)
This PR stabilizes the DFA creation tests on cloud environments by increasing the timeout after DFA start.
2020-09-14 13:50:44 +02:00
Anton Dosov 0fd503edc6
[UiActions][Drilldowns] Fix actions sorting in context menu (#77162)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 13:01:20 +02:00
Anton Dosov 4a45dad51f
[Drilldowns] Wire up new links to new docs (#77154)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:58:22 +02:00
Søren Louv-Jansen 02e10a04f2
Fix APM issue template 2020-09-14 12:47:55 +02:00
Jean-Louis Leysens 97813b29dd
[Ingest Pipelines] Drop into an empty tree (#76885)
* add ability to drop processor into empty tree

* added a test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:46:12 +02:00