Commit graph

35652 commits

Author SHA1 Message Date
Spencer f0430f298f
[src/dev/build] remove node-version from snapshots (#75303)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-18 10:45:26 -07:00
Bohdan Tsymbala 4a274e0325
[ENDPOINT] Reintroduced tabs to endpoint management and migrated pages to use common security components (#74886)
* Reintroduced tabs to endpoint management and migrated pages to use common security components.

* Empty trusted apps tab.

* Changed casing in the translations.

* Switched to using route path generation functions.

* Added propagation of data-test-subj attribute to Wrapper component.

* Fixed CommonProps import.

* Moved out shared component for administration list page.

* Removed unused file.

* Removed unused translation keys.

* Removed redundant snapshot.

* Added some minimal tests.

* Attempt to fix functional tests.

* Attempt to fix functional tests again.

* Reverted function declarations back to const.

* Wrapped component in memo.
2020-08-18 19:42:47 +02:00
Poff Poffenberger e6e7354a9e
[Canvas] Remove dependency on legacy expressions APIs (#74885)
* Remove legacy types and function registration

* Pull server interpreter functions routes into Canvas and update them to use new expressions API

* Clean up comment

* Removing boom and doing more cleanup

* Add functions test and refactor other router tests

* Adding a type and refactoring a forgotten test

* more tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 12:39:46 -05:00
Sébastien Loix f02fad4e5a
Skip failing test in CI (#75266) 2020-08-18 18:58:38 +02:00
Gidi Meir Morris 773883f6a4
[Task Manager] time out work when it overruns in poller (#74980)
If the work performed by the poller hangs, meaning the promise fails to resolve/reject, then the poller can get stuck in a mode where it just waits for ever and no longer polls for fresh work.
This PR introduces a timeout after which the poller will automatically reject the work, freeing the poller to restart pulling fresh work.
2020-08-18 17:32:59 +01:00
Anton Dosov 50f9a97a41
[Drilldowns] misc improvements & fixes (#75276)
Added support for isCompatible. It is checked during execution.
Pass actionFactory context into createConfig, IsConfigValid
Fix bug that selectedTriggers wasn't reset when switching action factories
Check if license is active in action factories
2020-08-18 17:50:02 +02:00
Joel Griffith e30220f04c
Small README note on bumping memory for builds (#75247) 2020-08-18 08:24:53 -07:00
Davis Plumlee bfdaacdaa6
[Security Solution][Detections] Adds exception modal tests (#74596) 2020-08-18 11:20:35 -04:00
Alexey Antonov 8d851981ac
[Dashboard] Sample data link does not work (#75262)
Closes #74812
2020-08-18 17:35:53 +03:00
Devon Thomson 2af2b60b00
[Dashboard First] Unlink from Library Action With ReferenceOrValueEmbeddable (#74905)
* Added an unlink from library action which works with the ReferenceOrValue interface. Once
2020-08-18 10:31:55 -04:00
Sébastien Loix 196cb7f865
[Form lib] Fix issue where serializer on fields are called on every change (#75166)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 16:05:10 +02:00
Jean-Louis Leysens 0e28dae410
convert processor labels to sentence case (#75278) 2020-08-18 15:42:43 +02:00
Jean-Louis Leysens 36f0c75088
[Monaco] Refactor the way XJSON grammar checker gets registered (#75160)
* Refactor the way XJSON grammar checker gets registered

- avoid registering multiple model add listeners
- remove regsiterGrammarChecker from public API!
- fix getWorker handler to register XJSON only for XJSON models

* remove unused import

* updateAnnos -> updateAnnotations
2020-08-18 15:13:15 +02:00
Melissa Alvarez 2a212cbad8
Clarify no documents error message when filtering by is_training (#75227) 2020-08-18 08:58:15 -04:00
Marta Bondyra e04e05aa56
[Lens] Fix crash when two layers xychart switches to pie (#75267)
* [Lens] fix crash on two layers and add a functional test with two layers switching to pie chart
2020-08-18 14:27:43 +02:00
Shahzad ce8a92ea1f
[Observability Homepage] Fix console error because of side effect (#75258) 2020-08-18 14:07:18 +02:00
Alejandro Fernández Haro e077a28928
[Usage Collection] Add legacy=true option to the /api/stats request in the docs (#75146) 2020-08-18 12:01:34 +01:00
Robert Oskamp 834a287379
[ML] Functional tests - re-activate DFA test suites (#75257)
This PR re-enables the DFA test suites for cloning, regression creation and classification creation.
2020-08-18 12:32:13 +02:00
Pierre Gayvallet c844187ee9
GS providers improvements (#75174)
* exclude apps with non visible navlinks from results

* change SO provider to prefix search

* fix service tests
2020-08-18 12:24:48 +02:00
Maja Grubic 9bef31725b
[Visualize] First version of by-value visualize editor (#72256)
* First version of new by-value editor

Fixing broken behavior and applying relevant changes

Adding changes to dashboard

Removing unnecessary empty line

Removing unnecessary deepClone

Fixing some stuff in dashboard container

Extracting logic into common components

Fixing eslint

Fix breadcrumbs

Fixing error in search interceptor

Reintroduce mistakenly removed empty lines

Renaming function

* Adding missing null check

* Making typescript play nicely

* Fixing failing tests

* Applying PR comments

* Fixing eslint errors

* Fix save as behavior

* Fixing HTMLElement type

* Passing in setOriginatingApp parameter

* Redirect back to dashboard if input is missing

* Fixing i18n error

* Unlink saved search

* Fix duplicating embeddable by reference

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 11:19:26 +01:00
Pierre Gayvallet 890fc31dff
Beats Management plugin: migrate server-side code (#70930)
* move all the legacy codebase to KP plugin

* fix imports

* add empty handler context & rename routes folder

* start migrating routes

* migrate rest of the routes

* migrate adapters

* remove beats from legacy xpack plugin

* use nullable + replace response.custom

* fix wrapRouteWithSecurity, remove incorrect header validation

* remove comment

* updating generated plugin list

* fix typos in doc

* adapt readme too.

* remove old commented routes from route files

* remove eslint disabling

* use camel case for plugin id

* update generated doc

Co-authored-by: Josh Dover <me@joshdover.com>
2020-08-18 12:00:39 +02:00
Stratoula Kalafateli 198806baef
Timelion app deprecation warning (#74660)
* wip deprecation notice on timelion app

* Add a deprecation notice on timelion app

* Minor, add visualize and timelion on the docLinks

* Chage the layout a bit

* Change the deprecation notice message

* Change the deprecation notice message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 11:18:41 +03:00
Marco Liberati bdcbfdc8e4
[Data Table] Fix download filename when using split table (#74231)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 09:37:16 +02:00
Patryk Kopyciński 7b785c62e4
[Security Solution] Fix unit tests (#75165) 2020-08-18 09:00:50 +02:00
Aleh Zasypkin e46e66210f
Implement Server-Side sessions (#68117) 2020-08-18 08:38:23 +02:00
Stratoula Kalafateli 28e6dd3521
[Functional] Increases the time to locate the Create Visualization button (#75133) 2020-08-18 09:12:06 +03:00
Ben Skelker 843c2383ea
[Docs]Security docs 7.9 updates (#75156)
* security docs 7.9 updates

* terminology

* updates advanced settings

* terminology

* corrections
2020-08-18 08:25:06 +03:00
Spencer cf0e287c9e
[jenkins/security-cypress] run build before the tests (#75203)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-17 20:48:22 -07:00
CJ Cenizal ec6cc14a9f
Allow Watcher index actions to be configured without specifying an index name. (#74684) 2020-08-17 19:29:38 -07:00
Brent Kimmel b8dc0a02a0
[Security Solution][Resolver] Enzyme tests for graph layout (#75010)
* [Security Solution][Resolver] Enzyme tests for graph layout

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Robert Austin <robert.austin@elastic.co>
2020-08-17 18:07:19 -04:00
Joe Portner 8a110a3c15
lodash 4.17.19 -> 4.17.20 (#75205) 2020-08-17 16:56:32 -04:00
Marshall Main 24773f3a00
[Security solution][Exceptions] Add separate io-ts types for endpoint exceptions (#74468)
* Add separate io-ts types for endpoint exception entries

* Fix text typos

* Fix test

* address review comments

* Add extra entry validation when adding items to endpoint_list

* fix test

* fix tests again

* really actually fix the tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 16:42:04 -04:00
Tyler Smalley 83678e1388
[build] Use CentOS/UBI 8.2 as Docker base image (#74656)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-08-17 13:24:39 -07:00
Nathan L Smith 4b4050c8db
APM and Observability storybook fixes (#75168)
In APM:

* Fix stories crashing with errors
* Hide some additional prop tables
* Fix node severites story to show correct node severites
* Fix Service Map Popover story
* Use knobs on sync badge story

In Observability:

* Remove an extra stray paren in decorators

There's additional refactoring and fixes that can be done but this just gets everything in working order.
2020-08-17 14:33:00 -05:00
Tiago Costa df9b28a4ce
skip flaky suite (#75124) 2020-08-17 20:25:22 +01:00
Pierre Gayvallet 57a802c43f
expose es config on es setup contract (#73055)
* expose es config on es setup contract

* move config$ back to legacy
2020-08-17 21:08:27 +02:00
Alison Goryachev 156692cbfb
[Ingest pipelines] Add KibanaContextProvider as dependency of processor editor (#75018) 2020-08-17 14:25:26 -04:00
Peter Pisljar 22f0641ec3
esdsl (#69254) 2020-08-17 20:21:48 +02:00
Spencer 7d3fe58dfa
[jenkins/security-cypress] send status emails to entire team (#75171)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-17 09:54:59 -07:00
Constance 0b28dc2f48
[Enterprise Search][tech debt] Refactor external URL generation to a single DRY helper (#75093)
* Set up App Search routes constants file

* Create new helper/generator for external URLs

* Update plugin to pass externalUrl helper in KibanaContext

* Update AS & WS navs to use new external url generator

* Update App Search views to use new externalUrl.getAppSearchUrl helper

* Update Workplace Search to use externalUrl.getWorkplaceSearchUrl helper

+ remove old useRoutes.getWSRoute helper, which was the inspiration for this

* Rename top-level enterpriseSearchUrl to config.host

- This allows us to more clearly separate concerns between the URL set in config.host and externalUrl.enterpriseSearchUrl (used for front-end links, may be a vanity/public URL)
- This change also enables us to not mutate Kibana's config obj, which is much cleaner

Misc tech debt:
- Reorder renderApp args (from least to most likely to change)
- Rename our public url methods/vars to more generic "init data" names - this is in preparation for upcoming changes where we pull more than just external_url from our client endpoint

* Fix broken Workplace Search nav links

- that require a hash for routing to work

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:37:21 -07:00
Nathan Reese 4ac0e81554
[Maps] fix double fetch when filters are modified (#74893)
* [Maps] fix double fetch when filters are modified

* add unit tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:44:08 -06:00
Nathan Reese b07db9dec8
[Maps] convert kibana_services to TS (#74901)
* [Maps] convert kibana_services to TS

* tslint

* fix jest test

* tslint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:41:08 -06:00
Chris Roberson 4c2f0760dc
Use actual link for cluster listing page (#75016)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 11:27:41 -04:00
Alejandro Fernández Gómez cf65b6ba8c
Track "view in context" usage (#74752)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 17:06:13 +02:00
Shamin Meerankutty 9295378d59
Fixed issue with query bar not taking full width in safari (#74987)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 16:54:39 +02:00
Peter Pisljar a987cef583
preparing datatable for unifying with kibana_datatable (#73654) 2020-08-17 15:47:37 +02:00
Nathan Reese ea545312e9
[Maps] allow for extensible sourceDescriptor typings (#74758)
* [Maps] allow for extensible sourceDescriptor typings

* revert changes to blended_vector_layer.test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 07:23:57 -06:00
Anton Dosov 3c5f2e7e7b
[Drilldowns] Trigger picker (#74751)
Drilldowns now support trigger picker. It allows to create a drilldown and specify which trigger it should be attached to.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 14:47:25 +02:00
Gidi Meir Morris fcb1a2848a
[Task Manager] Handles case where buffer receives multiple entities with the same ID (#74943)
Handles the case where two operations for the same entity make it into a single batched bulk operation and avoid the clashing ID issue that could cause the poller to hang and stop poling for work).
2020-08-17 13:19:04 +01:00
Tiago Costa 46e313daef
skip flaky suite (#68472) 2020-08-17 13:07:55 +01:00