Commit graph

32040 commits

Author SHA1 Message Date
Brandon Morelli
cfcf8e121a
[apm] docs: add roles and privileges for the APM app (#67401) (#67545) 2020-05-27 12:51:21 -07:00
Brian Seeders
64b135594b
[CI] Remove --detectOpenHandles to parallelize Jest tests again (#67413) (#67515) 2020-05-27 14:42:13 -04:00
Thomas Neirynck
deab3ca318
[Maps] display ranged-data with bands (#60570) (#67497) 2020-05-27 13:24:52 -04:00
Brian Seeders
78ee77fb75
[CI] Bump chromedriver and use DETECT_CHROMEDRIVER_VERSION (#67182) (#67488) 2020-05-27 12:56:09 -04:00
Tim Sullivan
a1048139e4
[Reporting] Migrate server-side usage collector (#67233) (#67438)
* [Reporting] Migrate server/usage

* fix import

* polish

* prefer inferring return type

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 09:50:34 -07:00
Ryland Herrick
441ffb589a
Allow rules to be created with timeline-populated queries (#67404) (#67430)
When importing a query from a timeline, the saved_id field was being
populated with an empty string. This value was previously ignored by the
encompassing form, but a refactor removed that filtering logic.

Rather than setting and filtering a misleading field, we now leave it
undefined in this situation.
2020-05-27 10:54:43 -05:00
Anton Dosov
f8a234a44a
Fix "Could not locate that index-pattern" recreate link is not working (#67280) (#67472)
added a functional test, because we've recently fixed this link and it regressed again
2020-05-27 17:01:04 +02:00
Jonathan Buttner
d161cdfd16
[Endpoint] Refactor resolver be (#65860) (#67471)
* Splitting up stuff

* more comments

* Returning multiple types

* More refactoring

* Refactoring pagination

* Refactoring the fetch class

* Adding comments and more tests

* Adding more tests

* Flattened the tree structure and added more tests

* Adding more tests and extended generator

* More commenting and clean up

* Adding additional tests

* Working tests but need to write child and tree ones

* Tests are passing

* Creating resolver generator service

* Fixing test imports

* Fixing type error

* More comments and clean up

* Fixing front end middleware and generator

* Adding data streams comments

* Cleaning up the generator tre building with a reduce

* Changing id to entityID and adding typing to tests

* Adding comments about ts server issue

* Fixing spelling

* Adding comment about endpointID

* Adding docs for multi search

* Fixing test imports

* Fixing missed import

* Addressing review feedback

* Removing lodash usage

* Addressing review feedback

* Fixing linting issues

* Adding new option to readme

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 10:55:15 -04:00
Stratoula Kalafateli
2df9ce372c
[Datatable] missing percentage column and wrong headers on export formatted csv (#66883) (#67448)
* Fixes the bug with percentage column missing in formatted csv

* fix tests

* Fix: Wrong formatted CSV when splitting tables

* On split table the split row should be added as a column only on the exported csv

* eslint

* fix test

* Improve the loop on the columns and rows

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 17:45:00 +03:00
Nicolas Chaulet
996927e0e1
[Ingest Manager] Update fleet internal doc with latest flags (#67193) (#67292) 2020-05-27 10:31:06 -04:00
Robert Oskamp
245b926f27
Add welcome screen disabling to common page (#66713) (#67456)
This PR adds logic to disable the welcome screen to the common_page which is already used in the x-pack security_page.
2020-05-27 15:30:35 +02:00
Anton Dosov
c7442b9f1a
Show drilldown context menu over chart tooltip (#67311) (#67447) 2020-05-27 13:35:24 +02:00
Robert Oskamp
5c794ec3ce
[ML] Functional tests - directory names cleanup (#67312) (#67443)
This PR renames some ML and Transform functional test directories in order to make them consistent with other parts of the code.
2020-05-27 13:09:27 +02:00
Alison Goryachev
c5fabffd98
[7.x] [SR] Fix bug when editing retention of slm policy (#67137) (#67436) 2020-05-27 07:02:32 -04:00
Shahzad
c08403dc32
[7.x] [Uptime] Cert page responsiveness (#67269) (#67422)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 13:00:48 +02:00
Sonja Krause-Harder
19b2ce38a1
[Ingest Manager] Improve server-side error handling (#67278) (#67439)
* Use IngestManagerError instead of Boom errors.

* Extend Error and simplify.

* Add registry url to error messages.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 11:50:14 +02:00
Jean-Louis Leysens
ad25b23f66
Fix getting security license status lazily (#67320) (#67347)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 09:30:28 +02:00
Mikhail Shustov
bad0d19567 [7.x] Licensing uses es from start contract. (#67291) (#67346)
* Licensing uses es from start contract. (#67291)

* use es client provided from start

* expose licengin API from start contract and deprecate setup counterparts

* update tests

* provide licensing API from start contract on the client-side

* update tests

* update mocks

* remove unused file

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 09:07:21 +02:00
patrykkopycinski
7662c2a958
[Detection Engine] Update alert apiKey when the rule is updated (#67364) (#67424)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 08:31:42 +02:00
Catherine Liu
67c46d9627
[Canvas] Fix flaky custom element functional tests (#65908) (#67411)
* Enable clearWithKeyboard option when filling out custom elements form

* Added canvas functional tests path to CODEOWNERS

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 22:00:25 -07:00
Catherine Liu
79278c7beb
Fixes add page animation bug (#66496) (#67410)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 18:05:29 -07:00
CJ Cenizal
80c7b47a4b
[7.x] Add steps for quickly testing to the READMEs of ILM, Rollup, and CCR. (#67213) (#67428) 2020-05-26 16:00:40 -07:00
gchaps
3a15a042d8
[DOCS] Adds docs for Ingest Node Pipelines (#66822) (#67390)
* [DOCS] Adds docs for Ingest Node Pipelines

* [DOCS] Incorporates review comments

* [DOCS] Fixes formatting of log file
2020-05-26 15:29:12 -07:00
Yara Tercero
9678dedd65
[SIEM][Exceptions] - Added exception list hooks for UI #67300 (#67340)
Added some basic functionality to help exception list UI work move forward. Wired up to exception list api and created hooks. This PR includes:

- UI api functions for basic exception list and exception list item CRUD
- useExceptionList hook to fetch the list and its items
- usePersistExceptionList hook to create or update an exception list
- usePersistExceptionListItem hook to create or update an exception item
- list_plugin_deps.tsx in the siem folder to import the lists plugin hooks
2020-05-26 17:35:43 -04:00
Alison Goryachev
ca2ca5fed0
[7.x] [Ingest pipelines] Fix schema validation for simulate and update routes (#67199) (#67328)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 15:21:03 -04:00
Ahmad Bamieh
194faf11ee
[i18n] sync 7.8 translations (#67341) 2020-05-26 21:35:33 +03:00
liza-mae
c4018a8435
Add option to skip docker ubi package (#67251) (#67342)
* Add option to skip building docker ubi

* Add option to skip building docker ubi

* Fix args for jest test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 12:31:44 -06:00
Justin Kambic
90b6ec97c1
Update hook to fetch index pattern. (#67146) (#67222)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 14:23:19 -04:00
Corey Robertson
d575db5b15
[Canvas] Force embeddables to refresh when renderable reevaluated (#67133) (#67351)
* Force embeddables to refresh when renderable reevaluated

* prettier

* Rename generated property

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 14:17:38 -04:00
Corey Robertson
99ca0e972f
[Canvas] Better handling navigating to/from canvas (#66407) (#67349)
* Better handling navigating to/from canvas

* fix types

* prettier

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 14:15:33 -04:00
spalger
a575cbf20b skip flaky suite (#62497)
(cherry picked from commit a2451c9842)
2020-05-26 11:05:16 -07:00
Yuliia Naumenko
61b98931a5
Changed actions API endpoints urls to follow Kibana STYLEGUIDE (#65936) (#67360)
* Changed actions API endpoints urls to follow Kibana STYLEGUIDE

* Fixed tests

* fixed test

* fixed test

* resolved conflicts

* Fixed siem tests

* Fixed failing test

* fixed readme and test

* Changed actions api urls to follow the template 'api/{plugin}/{type}/{id}

* Fixed type checks

* Fixed tests and API

* fixed tests

* Fixed type checks

* fixed type check
2020-05-26 11:04:13 -07:00
Jonathan Buttner
0f0dc3f403
[Endpoint] Deleting data streams and indices in generator (#67168) (#67355)
* Deleting data streams and indices

* Posting metadata template

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 13:37:07 -04:00
Nathan Reese
df777b89e9
[Maps] convert redux actions to TS (#67218) (#67345)
* [Maps] convert redux actions to TS

* move ts-ignore comment to right location

* eslint
2020-05-26 11:34:59 -06:00
Tiago Costa
1193af829a
Revert [7.x] [kbn/optimizer] poll parent process to avoid zombie processes (#67059) (#67262)
* chore(NA): revert changes introduced on pr 67059

* chore(NA): fix eslint problems
2020-05-26 18:12:49 +01:00
spalger
fc4d1b840f skip flaky suite (#66856) 2020-05-26 10:10:19 -07:00
James Gowdy
18aef46381
[ML] Adding additional job service endpoint tests (#66892) (#67309)
* [ML] Adding additional job service endpoint tests

* updating close jobs

* enable tests

* updating text

* changing variable name

* changes based on review

* moving common headers
2020-05-26 17:33:19 +01:00
Nathan Reese
8d8fdfefaf
[Maps] Fix legend icon color for custom categorial palettes (#67141) (#67338)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 10:24:57 -06:00
Justin Kambic
ab1b6ab0a7
Fix filename typo. (#67144) (#67223) 2020-05-26 11:54:22 -04:00
Justin Kambic
d7da2c820c
[Uptime] Use React.lazy for alert type registration (#66829) (#67054)
* Use React.lazy for alert type registration.

* Add typing to TLS alert component.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 11:48:41 -04:00
Shahzad
f1a98c64d2
[7.x] [Uptime] Improve responsiveness details page (#67034) (#67313)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 17:13:45 +02:00
Jean-Louis Leysens
c0fcd816d9
Fix privileges check when security is not enabled (#67308) (#67315) 2020-05-26 17:06:29 +02:00
Mike Côté
e3d54d8732
Auto expand replicas for event log (#67286) (#67324) 2020-05-26 11:05:57 -04:00
Mikhail Shustov
4d8f816bd7
do not use es from setup (#67277) (#67326) 2020-05-26 17:03:31 +02:00
Mikhail Shustov
622c014433
Observability & APM do not use elasticsearch client provided via setup contract (#67263) (#67322)
* dump prettier version to v2

* use elasticserch client provided via context

* use es client provided from start contract
2020-05-26 17:02:22 +02:00
Diana Derevyankina
ce0e4f6ded
[7.x] Move apm tutorial from apm plugin into apm_oss plugin (#66432) (#67179)
* Move apm tutorial from apm plugin into apm_oss plugin (#66432)

* Move apm tutorial from apm plugin into apm_oss plugin

Closes #65629

* Fix types issues and some paths

* Add unregisterTutorial to tutorials_registry.mock

* Add apm path to .i18nrc.json to fix internationalization error

* Rename apm path in .i18nrc.json into apmOss and revert some imports paths
# Conflicts:
#	x-pack/plugins/apm/server/tutorial/instructions/apm_agent_instructions.ts

* Fixed some eslint issues

* Fix apmOSSPluginSetupMock
2020-05-26 16:32:14 +03:00
Angela Chuang
49f7bc097e
[7.x] [SIEM] fix timelineType for selectable timeline (#66549) (#67216)
* [SIEM] fix timelineType for selectable timeline (#66549)

* fix timelineType for selectable timeline

* fix cypress test

* fix cypress test

* disable template timeline's tab

* rename flag

* update filter to return only default template

* update wording

* update placeholder according to timelinetype

* fix i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* fix lint

* lint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
2020-05-26 07:39:32 +02:00
Shahzad
b8ba5138d5
[7.x] [Uptime] Unmount uptime app properly (#66950) (#67287) 2020-05-25 19:48:54 +02:00
Pierre Gayvallet
95e02f9ff9
Add application.navigateToUrl core API (#67110) (#67272)
* implement `navigateToUrl` core API

* fix lint

* review comments
2020-05-25 18:07:25 +02:00
Stratoula Kalafateli
b095691aff
[Discover] Deangularize the loading spinner (#67165) (#67275)
* [Discover] Deangularize the loading spinner

* Eslint changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 18:53:54 +03:00