* Prevent exposing Hapi.Request to registerAuth.
Prevent exposing headers.authorization in KibanaRequest.
Introduce a mechanism to associate authorization headers with an
incoming request and retrieve its value to perform a request to
elasticsearch cluster.
* fix tests
* address @joshdover comments
* [APM]: Inferred types for aggregations
Previously, aggregations returned by the ESClient were 'any' by default, and the return type had to be explicitly defined by the consumer to get any type safety. This leads to both type duplication and errors because of wrong assumptions.
This change infers the aggregation return type from the parameters passed to ESClient.search.
* Fix idx error
* Safeguard against querying against non-existing indices in functional tests
* Improve metric typings
* Automatically infer params from function arguments
* Remove unnecessary type hints
* wip: pull out all server dependencies
* create new platform plugin
* shim newPlatform plugin into legacy init
* update server tests for migration refactor
* cleanup interfaces
* Only add ML links for sample data sets if full license from - 38120
* update test and fix typescript errors
* Remove unused types
The markdownVis expression has the markdown string property configured as required.The current implementation of the markdown vis doesn't have a default value (actually it's undefined) and this cause the error to be thrown when creating a new markdown vis.
fix#38127
* Upgarde enzyme to v3.10.0
*update snapshots (React components which are using Memo());
*revert pending test in list_control_editor.test.js;
*replace component.html() and component.text() function calls
which expect null to component.isEmptyRender() for consistency
# Conflicts:
# x-pack/plugins/siem/public/components/toasters/index.test.tsx
* [Maps] use coalesce to ensure number always passed to interpolate for data driven size styling
* update docs with behavior when feature property is not defined
* Update docs/maps/vector-style.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/vector-style.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* move first note into description paragraph
* add coalesce wrapper around icon-size extraction expression
Fixes an issue w/ the transaction sample redirect being too aggressive & redirecting to the default sample before the data has been fully loaded. This makes deeplinking to samples unreliable.
* Revert "Revert "[Canvas] Adds telemetry info for custom elements (#36177)" (#37100)"
This reverts commit 3f4c2c89ec.
* Cast fromExpression unknown type
* PR Feedback
* unify modifyUrl on client and server
* create BasePath as a separate entity on server
* use BasePath class in http server
* use BasePath a separate entity on client
* use BasePath class on Http service on the client
* switch client code to the new api
* improve setver http service mocks
* address comments #1
* address comments #2
* update docs
* add comment why we define own typings
* Separate class\type defenitions from plugin instance setup in shim plugin definition
This helps avoiding circular dependency issues that were obsereved in filter-manager branch (due to code starting to use the data plugin).
* typescript fun
* Always mock metadata/chrome in OSS
* Enable jest env in jest mocks
* Exclude jest mocks in karma bundles
* Use setupFilesAfterEnv in config
* Remove chrome/metadata mock from x-pack
* Remove kuery mock
* Add missing mock to SIEM test
* Fix typo in mock import
* Remove top level capabilities x-pack mock
* Move kfetch mock to ui/public
* Move moment-timezone to mocks file
* Unmock kfetch in kfetch specific tests
* Make kfetch mock manual
* Removed unnecessary jest.mock
* Remove kfetch unmocks
* [DOCS] Adds content to release notes
* [DOCS] Incorporates review comments into release notes
* [DOCS] More changes to Release Notes
* [DOCS] Adds and removes PRs based on review comments