* Adds get all API to data views
* Move size to query params
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Use ids/titles instead of entire object
* Add docs
* Add integration test
* Fix docs
* Update docs
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Create the injected-metadata packages
* already rename the thing
* move ALL the things
* fix mocks
* start fixing mock imports
* lint
* a few more
* update generated doc
* lint
* Add kubernetes link on nav sidebar
* Create new plugin for k8s vis page
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paulo Henrique <paulo.scape@gmail.com>
* Added the possibility to hide the help menu without hiding the KeyboardShortcutsDoc panel.
* Added the ability to hide the menu on click on its content.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adds inline warning (name focus/onBlur) and toast warning (saveRole) when attempting to create a role with a name that already exists.
Disallows creating a role with a name that already exists.
Event handling efficiency needs review.
* Updated API documentation.
Implemented unit and functional tests.
* Added name compare to throttle GET request from onBlur for efficiency.
* Reorganized functional and unit tests. Improved UI logic and presentation.
* Update x-pack/plugins/security/server/routes/authorization/roles/put.test.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* No explicit interface for `SavedObjectsClientContract`
* fix doc, do not export the client class
* fix doc more
* fix import from plugins
* fix import from plugins bis
* update generated doc
* Use explicit interface for ILoggingSystem
* Use explicit interface for SO importer/exporter
* update generated doc
* use import type for Readable
* Accept API Changes again fixes the missing links \o/
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
* update github help link
* update github links from help.github.com to docs.github.com
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This removes indication that the `server.publicBaseUrl` setting is supported on Elasticsearch Service. While the setting is technically available in ESS it's not configurable and it's best not documented.
Adds a new experimental Kibana setting called `csp.disableUnsafeEval` which will default to `false`. When set to `true`, it will remove `unsafe-eval` from our CSP.
Also introduces a new module called `@kbn/handlebars` which is a replacement for the official `handlebars` module used in the frontend. This new module is necessary in order to avoid calling `eval`/`new Function` from within `handlebars` which is not allowed once `unsafe-eval` is removed from our CSP.
The `@kbn/handlebars` module is simply an extension of the main `handlebars` module which adds a new compile function called `compileAST` (as an alternative to the regular `compile` function). This new function will not use code-generation from strings to compile the template but will instead generate an AST and return a render function with the same API as the function returned by the regular `compile` function.
This is a little bit slower method, but since this is only meant to be used client-side, the slowdown should not be an issue.
The following limitations exists when using `@kbn/handlebars`:
The Inline partials handlebars template feature is not supported.
Only the following compile options will be supported:
- `knownHelpers`
- `knownHelpersOnly`
- `strict`
- `assumeObjects`
- `noEscape`
- `data`
Only the following runtime options will be supported:
- `helpers`
- `blockParams`
- `data`
Closes#36311
* [DOCS] Remove obsolete license expiration info
As of https://github.com/elastic/elasticsearch/pull/79671, Elasticsearch does a more stringent license check
rather than operating in a semi-degraded mode.
Closes#127845Closes#125702
* Update docs/management/managing-licenses.asciidoc
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* expose `retry_on_conflict` for `SOR.update`
* update generated doc
* stop using preflight check for version check for other methods too.
* remove unused ignore
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Corrected minor mistakes in docs
* Changed trimet.vehicleID from int to keyword
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Descriptive logs with docLinks for cluster shard limit exceeded
* Integration test for isClusterShardLimitExceeded
* Fix jest test snapshots
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* PR feedback
* PR feedback
* Unit tests for isClusterShardLimitExceeded
* Use constast for repeated strings
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* [DOCS] Fixes typo in Console doc
This PR fixes a typo in the Console doc.
* Update docs/dev-tools/console/console.asciidoc
* Update docs/dev-tools/console/console.asciidoc
Sets up the boilerplate code for the aiops plugin and adds a demo page within the ML app to demonstrate single API request data streaming from Kibana server to UI client.
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Corrected minor mistakes in docs
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* [maps] Vector tile inspector adapter
* empty prompt
* add layer select
* tile request view
* show gridTile es path and body
* show error message
* hits request
* tab with editor
* clean up
* open in console
* do not track same tile multiple times
* remove layer from vector tile inspector when layer is removed
* refactor tile request generation
* show path in inspector
* requests view callout
* remove duplicated server side code
* remove unused files
* fix map_actions test
* open requests view when getting requests from inspector
* only show view when adapter is present
* fix open in console link not matching tile request
* tslint
* fix search sessions functional test
* update trouble shooting docs
* use bold in docs
* fix tiles at zoom level 0
* revert changes to mb_map
* include path when copying to clipboard
* clear inspector when layer type changes
* tslint fix
* clean-up
* update callout copy
* empty prompt copy
* copy updates
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add reproducing test case
* Fix and add integration test
* Transient settings should take preference
* Rename unsupported_cluster_routing_allocation error to incompatible_cluster_routing_allocation
* Retry INIT when action fails with [incompatible_cluster_routing_allocation]
* Apply suggestions from code review
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
* Fix archive with trial licence and re-enable skipped test
* Integration test for incompatible cluster routing allocation
* Fix types after renaming UnsupportedClusterRoutingAllocation
* Attempt to fix open handle tests
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>