Commit graph

40992 commits

Author SHA1 Message Date
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
ymao1 3dd3297371
[Actions][Docs] Moving subaction and subaction params back to README (#92878)
* Moving subaction and subaction params back to README

* Apply suggestions from code review

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

* 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 13:09:53 -05:00
Clint Andrew Hall 84dc217aff
Convert Canvas docs to MDX for use in Elastic Docs (#91969)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 12:44:18 -05:00
Tyler Smalley 5521fe400f
[Bazel] More resilient Workspace Status (#93244)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-02 12:30:03 -05:00
Matthias Wilhelm b2b16d6aaf
[Discover] Change icon of saved search in open search panel and embeddable selection (#93001) 2021-03-02 18:23:12 +01:00
Scotty Bollinger 5788a6bd78
[Workplace Search] Role Mappings to Kibana (#93123)
* Add routes for role mapings

* Initial copy/paste

* Update RoleMappingsRouter

- Update all paths
- Change router to use children instead of render props
- Remove legacy app chrome

* Update RoleMappings

- Update all paths
- Use global flash messages

* Update RoleMapping

- Update all paths
- Use global flash messages
- Add types to fix errors
- Use React Router Hooks instead of legacy withRouter HOC

* Fix path in index and add route helper

* Update paths in RoleMappingsLogic

* Remove history in favor of KibanaLogic.navigateToUrl

* Add Role type

* Remove ID prop

This is not needed because the ID is actually passed in the URL itself and is not a requirement in the body of the request

* Replace contextual flash messages with global

It appeared that the server sometimes sent flash messages with the API response, but I checked the Rails server code and there is no `flashMessages` sent back from the server so I am omitting that from the `RoleMappingsServerDetails` interface as well.

* Replace Rails http with kibana http

* Fix route path

* Add route and update global navigation

* Add breadcrumb/page title

* Update flash messages in RoleMapping

I did this for RoleMappings but forgot this one

* Use explicit AttributeName type instead of string

* Add i18n

* Fix type issue

Because the shared role mapping components work for both App Search and Workplace Search, the more generic string is used here because App Search has different role names.

* Add tests for components and router

* Add optional to interface

In the case of a new role mapping, the server is called at the ‘/new’ route and the server responds without a roleMapping prop, as it has not yet been created.

* Add tests for RoleMappingsLogic

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 11:22:20 -06:00