Commit graph

41147 commits

Author SHA1 Message Date
Ece Özalp 6467afa615
[Security Solution] Updates redirect route upon rule creation (#92715)
* [Security Solution] Updates redirect route upon rule creation

Closes #82562.
2021-03-03 11:55:11 -05:00
Zacqary Adam Xeper dc6d0b7910
[Metrics UI] Fix removing warning threshold from alert expressions (#93338) 2021-03-03 10:39:38 -06:00
Mikhail Shustov f5e8b108da
Attempt to reduce Core bundle size with type exports. (#92221)
* compile core files as isolated modules

* fix export problems for isolated modules

* apply changes to kbn-test as core imports from it

* fix some exports

* fix lint errors

* update new exports

* fix eslint error

* expand export * where it is possible

* update docs

* update docs

* fix eslint error
2021-03-03 17:21:49 +01:00
Melissa Alvarez ccc70b4960
[ML] Data Frame Analytic: adds api integration tests for _start and _stop endpoints (#92532)
* add start and stop endpoint tests

* add start and stop within spaces endpoint tests

* move start and start_spaces tests to separate files

* wip: move stop and stop_spaces to separate files

* use slow running job config so job is still running when stop request happens

* check started job state is actually started

* check job is stopped after stopping

* add debug logs

* ensure jobs are created/started before stopping attempt

* remove unnecessary debug logs
2021-03-03 11:17:05 -05:00
Spencer bf8417ed1a
[ci] separate checks done in bootstrap as individual tasks (#93329)
(cherry picked from commit b790f4ca1761bc1fab7818318213833a9c7d092f)

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-03 08:45:55 -07:00
Marta Bondyra c42b994193
[Lens] Fix unintentional switching to pie (#93219) 2021-03-03 15:39:51 +01:00
Spencer 529624d872
[kbn/optimizer/node] use shorter cache keys to avoid overflowing limit (#93316)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-03 08:32:25 -06:00
Tanish 8c6caf841b
[APM] Reduce log level to debug when no agent config is found (#93035) 2021-03-03 09:23:35 -05:00
Peter Pisljar ab6a688505
adding schema for all current query_string settings (#93175) 2021-03-03 15:08:38 +01:00
Liza Katz e2fb4760a1
master docs are broken (#93405) 2021-03-03 16:02:13 +02:00
Christos Nasikas 1c019025bc
[Security Solution][Case] Fix individual case deletion on case view (#93218) 2021-03-03 15:36:00 +02:00
Vadim Dalecky b8c8c66e1a
fix: 🐛 do not send non-serializable fields over HTTP (#93207)
* fix: 🐛 do not send non-serializable fields over HTTP

* fix: 🐛 dont set sessionId when .getSearchOptions() returns null

* chore: 🤖 update api docs
2021-03-03 14:33:29 +01:00
Thomas Watson e42b0f9835
Bump handlebars from 4.7.6 to 4.7.7 (#93396) 2021-03-03 07:50:45 -05:00
Pete Harverson be0b444873
[ML] Transforms: Adds a11y tests for Transform plugin (#93197) 2021-03-03 11:41:44 +00:00
Joe Reuter 8525bd5e6e
remove portal for screenreader component (#93274) 2021-03-03 12:07:21 +01:00
Thomas Watson dfba42558b
Add outcome of node scripts/build_api_docs (#93399)
Fixes regression introduced by:
4f750bd9dc
2021-03-03 11:51:30 +01:00
Marta Bondyra 4f750bd9dc
[Lens] fix long field name on field stats panel doesn't wrap (#93279) 2021-03-03 10:17:20 +01:00
Liza Katz 6ee568c997
[Bug] Fix filter creation for numeric scripted fields in Discover (#93224)
* fixes #74301

* comment

* tests

* test title
2021-03-03 11:04:13 +02:00
Shahzad 80a34a3e1d
[uptime] Fix anomaly alert edit (#93025) 2021-03-03 09:22:36 +01:00
Thomas Watson 3745fc83c0
Consolidate @babel/* packages and use latest compatible version (#93264) 2021-03-03 09:04:13 +01:00
Maja Grubic eece6d4cbd
[Search Embeddable] Add highlighting when searching (#93178)
* [Search Embeddable] Add highlighting when searching

* Adding a functional test
2021-03-03 07:45:59 +00:00
Casper Hübertz d41170f90e
[APM] Add missing bottom border to header (#93179)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-03 08:45:01 +01:00
Tyler Smalley b8ab42dcd9
[CI] No longer collect APM span stack traces (#93263)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-03 07:57:03 +01:00
Diana Derevyankina 7bd1f6fd4c
[XY Chart] Fix "No data to display" error when using IP range aggregation to split series (#93024)
* Visualize: Can't use ip range to split series in xy chart

* Refactor accessors.tsx

* Revert "Refactor accessors.tsx"

This reverts commit f2b088e251.

* Add accessors.test to cover getComplexAccessor function
2021-03-03 09:22:15 +03:00
spalger 8cbcbaed0c update generated public api docs 2021-03-02 20:22:54 -07:00
Stacey Gammon 87a5b22626
API DOCS Step 3/3 (#92929)
* update api_docs from gitignore

* api doc files

* Update api_welcome.mdx

* Pretty print json

* Add new lines and extra frontmatter to warn github viewers

* update api_docs with new lines and frontmatter

* Remove all apis tagged @internal and add tests

* Update docs with all internal APIs removed

* fix typescript error in test fixtures

* Update core.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 22:02:17 -05:00
Tiago Costa a36b64e7a8
chore(NA): look for bazel packages on npm_module folder during distributable build (#93262) 2021-03-03 02:09:36 +00:00
Nathan Reese bd9b349dfd
rename advanced setting ml:fileDataVisualizerMaxFileSize to fileUpload:maxFileSize and increase max geojson upload size to 1GB (#92620)
* rename ml:fileDataVisualizerMaxFileSize to fileUppload:maxFileSize

* add saved object migration

* file preview

* importing status

* remove console statement

* import complete view

* fix geojson_importer test

* tslint

* i18n fixes

* cleanup

* update documenation for advanced setting rename

* advanced settings usage_collection

* remove ml:fileDataVisualizerMaxFileSize from schemas and types

* add copy buttons for import response and fix geojson upload functional tests

* tslint

* remove clipboard-read check

* return early if env does not support reading from clipboard

* fix reporting tests

* review feedback

* update GeoJsonFileSource to support showing results trimmed icon and tooltip

* add fileUpload to useMlKibana context and replace dependencyCache with useMlKibana

* tslint

* review feedback

* lower case file name

* default to selecting geo_shape when file contains both points and shapes

* fix wizard onError callback to not advance to next step

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 19:07:03 -07:00
Spencer 57a860ddb0
[kbn/optimizer] allow customizing the limits path from the script (#93153)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 18:29:54 -07:00
ymao1 fda67adb9f
[Alerting][Docs] Adding template for documenting alert and action types (#92830)
* Alert type template

* Action type template

* Cleanup

* Cleanup

* Removing callout list

* Cleanup

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Adding title to actions page

* PR fixes

* PR fixes

* PR fixes

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-03-02 18:08:58 -05:00
Spencer 3b6643144d
[jenkins] convert baseline capture job to use tasks (#93288)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-02 18:03:00 -05:00
Bhavya RM 4218813464
removing the linked issue in comments from PR (#93303) 2021-03-02 17:21:28 -05:00
Tiago Costa 9d1df3f6f4
chore(NA): do not include fs within a storybook build (#93294) 2021-03-02 16:56:02 -05:00
Aaron Caldwell 21338080db
[Maps] Update Map extent queries to use bounding box logic for both point and shape queries (#93156) 2021-03-02 16:48:02 -05:00
Ece Özalp 819cb485dc
Add searchDuration to EQL and Threshold rules (#93149)
Closes #82861.
2021-03-02 16:47:09 -05:00
Thomas Neirynck 33010bebf9
[Maps] Abort ES-search when tile request is cancelled (#92069) 2021-03-02 16:46:09 -05:00
Yuliia Naumenko a102fa9a70
[Alerting][Docs] Moved alerting links from hard-coded to documentation link service. (#92953)
* [Alerting][Docs] Moved alerting links from hard-coded to documentation link service

* fixed due to comments

* Update x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* fixed jest tests

* fixed due to comments

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-03-02 13:43:10 -08:00
Melissa Alvarez 36523bb3a1
ensure regex works for filter with optional multiple spaces (#93071) 2021-03-02 15:40:10 -05:00
ymao1 319ad55cd7
Different screenshot (#92970) 2021-03-02 15:24:06 -05:00
Zacqary Adam Xeper 6be9adac0d
[Alerts] Add spaces as optional dep to triggers_actions_ui (#93267) 2021-03-02 14:08:55 -06:00
Zacqary Adam Xeper 1b8d20c1c1
[Fleet] Fix default integration name when adding 10+ names (#93278) 2021-03-02 15:08:03 -05:00
Lukas Olson aa6591afe9
Update KQL field autocompletion to suggest fields that match search (#92559)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 13:07:19 -07:00
renovate[bot] 9e354bdf28
Update dependency @elastic/charts to v25.1.0 (master) (#93151)
* Update dependency @elastic/charts to v25.1.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-02 13:54:45 -06:00
Gabriel Landau 3c4595de5e
[7.12][Security] Shellcode telemetry update for schema adjustment (#93143)
* Shellcode telemetry update for schema adjustment

* Lint

* Lint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 14:44:42 -05:00
Constance fd3b3eb8cd
[App Search] Refactor AppLogic to initialize data via props rather than action (#92841)
* [Misc cleanup] Move Access type to common

- it was being duplicated in server/check_access and InitialAppData

+ add mock access data to DEFAULT_INITIAL_APP_DATA
+ update server/ tests to account for access in DEFAULT_INITIAL_APP_DATA

* Update AppSearchConfigured to pass props to AppLogic vs calling initializeAppData

+ update tests to rerender a wrapper rather than doing {...DEFAULT_INITIAL_APP_DATA} repeatedly

* Update AppLogic to set values from props rather than a listener

- main goal of this PR is to prevent the flash of state between mount and initializeX being called

- note: I recommend turning off whitespace changes in the test file

* Update AppLogic typing so that app data is always expected

- which it should be in any case in a production environment

- note: I could have changed InitialAppData to remove the ? optional notation, but decided on this route instead since InitialAppData affects more than just App Search (e.g. server, WS), and I didn't want this to have potential far-reaching side effects

* Update type scenarios where AppLogic values were previously thought potentially undefined

- which is mostly just configuredLimits it looks like

* [PR feedback] Type name
2021-03-02 11:25:01 -08:00
Oliver Gupte 3f5473ef7d
[APM] Fixes duplicate ML job creation for existing environments (#85023) (#93098)
* [APM] Fixes duplicate ML job creation for existing environments (#85023)

* Removes commented out test code.

* Adds API integration tests

* clean up code for readability
2021-03-02 11:20:30 -08:00
Stacey Gammon 8bcec14727
update plugin list (#93259) 2021-03-02 14:00:32 -05:00
Dmitry d30be3f100
[code coverage] run more functional tests (#93249) 2021-03-02 21:56:42 +03:00
Christiane (Tina) Heiligers d230720e2d
[Usage Collection] Supports field descriptions as meta data (#92701)
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 13:34:13 -05:00
Luke Elmers 81348b8693
[core.logging] Fix calculating payload bytes for arrays and zlib streams. (#92100) 2021-03-02 13:21:39 -05:00