* chore(NA): moving @kbn/utils to babel transpiler
* chore(NA): changed import paths for that module on kbn-apm-config-loader
* fix(NA): import on test file
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
The wrong percentiles variable was used to derive ranges, it needs to use tempPercentiles instead. With certain data this would lead to ranges, expectations and percentiles to have different lengths.
Co-authored-by: Walter Rafelsberger <walter@elastic.co>
* Remove `getScopedSavedObjectsClient()` from server `EndpointAppContextServices` (not used)
* new EndpointMetadataService service (handles GET of a single endpoint for now)
* ensure `getFleetAgent()` sets the current status for the agent
* Replace the Route handler for Get of single endpoint with new call to service
* Fleet: change agent service to also calculate and return the agent status via calls from the agent service
* Fleet agent generator changed to set a random status
* generic `createInternalReadonlySoClient()` with runtime validation for non-readonly methods
(cherry picked from commit b6e9d8d411)
# Conflicts:
# x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts
* Fix Endpoint List `<SearchBar>` to ensure that `page_index` is reset to 0 on enter
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
## Summary
Fixes https://github.com/elastic/kibana/issues/105731, by replacing these `any` types:
```json
type IFieldType = any;
type IIndexPattern = any;
type Filter = any;
```
With the types from `es-query` which are:
* IndexPatternFieldBase
* IndexPatternBase
* Filter
Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever.
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
* Include rule type id in generic executor error message
* Add spaceId to message
* Fix formatting
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
* fix vis search filter context being overridden in dashboard
* Revert "fix vis search filter context being overridden in dashboard"
This reverts commit ead7ef6ed3.
* updated filtering order in kibana context
* use buildFilter
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [DOCS] Remove Kibana TLS docs in favor of Stack docs
* Updating redirects to fix cross-doc link
* Fixing redirect headers
* Updating redirects to link to separate sections
Co-authored-by: Adam Locke <adam.locke@elastic.co>
* update monitor list component to hide downtown history and accordion toggle in medium and large screens
* force page headings with flex content to wrap
* adjust types
* adjust variable naming for uptime monitor list
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
* Adds API check for existing policies when saving/creating trusted apps
* Fixes wrong error message
* Fixes tests and replaces policy id by policy name in error message
* Updates error message text
* Address pr comments and remove old comments in code
* Addressed some pr comments and added type to the error response in order to know which kind of response it is
* removed unused imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: David Sánchez <davidsansol92@gmail.com>
* [ML] Transforms: Add functional tests for UI permissions
* [ML] Fix for edit flyout action
* [ML] Stabilize tests that open the actions menu
Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
* [data.search.autocomplete] Move autocomplete method to UI settings
* Use select rather than boolean
* Add ftue tour
* Make a select rather than text box
* Only show when focused and first time page is loaded
* Add docs link
* Reverse order of sections
* Update docs/concepts/index.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/concepts/index.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Docs updates
* setting
* telemetry
* Add links to docs
* Fix translations
* Fix failing test
* Fix test
* Fix tests
* Revert changes to querybar service
* Fix discover query
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>