Commit graph

3005 commits

Author SHA1 Message Date
Kaarina Tungseth
25585947ea
[DOCS] Updates the screenshots for Reporting and sharing (#106435)
* [DOCS] Updates the Reporting and sharing images for 7.14

* [DOCS] Updates the screenshots for Reporting and sharing

* Adds links to anon access and reporting settings
2021-07-26 10:55:26 -05:00
Kaarina Tungseth
1f138fa18f
[DOCS] Updates Canvas images for 7.14 (#106424)
* [DOCS] Updates Canvas images for 7.14

* Fixes refresh image size
2021-07-26 10:17:44 -05:00
Peter Pisljar
6042e6929c
adding migrateToLatest to embeddable and expressions plugins (#106207) 2021-07-26 13:49:38 +02:00
Yaroslav Kuznietsov
3027999435
[Canvas] Expression image (#104318)
* Added `expression_image` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 11:48:45 +03:00
Mat Schaffer
a1134e1bca
Note full cli arg for es full featured snapshot (#103045) 2021-07-26 13:52:51 +09:00
Yaroslav Kuznietsov
3e4b64b779
[Canvas] Expression repeat image (#104255)
* Repeat Image plugin added.
2021-07-23 11:29:06 +03:00
debadair
ec71c7c971
[DOCS] Removed obsolete UA info. (#106620) 2021-07-22 16:20:13 -07:00
Frank Hassanabad
cd667d06bc
[Security Solutions][Detection Engine] Creates an autocomplete package and moves duplicate code between lists and security_solution there (#105382)
## Summary

Creates an autocomplete package from `lists` and removes duplicate code between `lists` and `security_solutions`
* Consolidates different PR's where we were changing different parts of autocomplete in different ways.
* Existing Cypress tests should cover any mistakes hopefully

Manual Testing:
* Ensure this bug does not crop up again https://github.com/elastic/kibana/pull/87004
* Make sure that the exception list autocomplete looks alright

### 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
2021-07-22 12:44:54 -06:00
Mike Côté
dd142c460f
Fix doc on ok rule status (#106545) 2021-07-22 13:39:24 -04:00
James Rodewig
4ad517f996
[DOCS] Update Watcher reference (#106565)
Kibana Alerting is now the preferred method for alerting in Elastic. To avoid confusion, we should use "Watcher" and avoid terms like "Elasticsearch alerting."

This updates a reference on the Alerting page. Relates to https://github.com/elastic/elasticsearch/pull/75220
2021-07-22 13:19:09 -04:00
Wylie Conlon
c54b4e54be
[Docs] Remove unused page drilldowns.asciidoc (#106487) 2021-07-22 09:18:42 -05:00
Peter Pisljar
63ffc9fc47
adding es version field support (#104870) 2021-07-22 14:45:43 +02:00
gchaps
d3defc0960
Updates painless doc to use runtime fields (#106462) 2021-07-21 13:24:59 -07:00
Wylie Conlon
62e81723af
[Docs] Clarify that explore underlying data is not enabled (#105693)
* [Docs] Clarify that explore underlying data is not enabled

* Update formatting

* Update from feedback
2021-07-21 15:05:33 -04:00
gchaps
5c18edd89e
[DOCS] Graph: updates text and screenshots (#106190)
* [DOCS] Graph: updates text and screenshots

* [DOCS] Created customize section

* [DOCS] Combines graph troubleshooting and limitations

* [DOCS] Fixes error in redirects

* [DOCS] Reduces size of read-only image
2021-07-21 10:41:59 -07:00
gchaps
529b155d1c
[DOCS] Adds missions to landing page (#104572)
* [DOCS] Adds missions to landing page

* [DOCS] Adds links to release docs and improves missions

* [DOCS] Uses bold for top links

* [DOCS] Minor changes in ordering of items

* [DOCS] Updates links in landing page

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 10:20:02 -07:00
gchaps
098bf69560
[DOCS] Intro doc--updates screenshots (#106185)
* [DOCS] Intro doc--updates screenshots

* [DOCS] Adds link to Discover in sharing section
2021-07-21 10:03:44 -07:00
Liza Katz
a6af9d5050
[Es query] Move to package (#103530)
May the forces of bootstrapping helps us 🙏🏻 😉
2021-07-21 17:10:55 +02:00
Yaroslav Kuznietsov
473b6aad0f
[Canvas] Expression shape (#103219)
* expression_reveal_image skeleton.

* expression_functions added.

* expression_renderers added.

* Backup of daily work.

* Fixed errors.

* Added legacy support. Added button for legacy.

* Added storybook.

* Removed revealImage from canvas.

* Types fixed.

* Fixed test suite error.

* Fixed eslint error.

* Moved UI and elements, related to expressionRevealImage from canvas.

* Fixed unused translations errors.

* Moved type of element to types.

* Fixed types and added service for representing elements, ui and supported renderers to canvas.

* Added expression registration to canvas.

* Fixed

* Fixed mutiple call of the function.

* Removed support of a legacy lib for revealImage chart.

* Removed legacy presentation_utils plugin import.

* Removed useless translations and tried to fix error.

* One more fix.

* Small imports fix.

* Fixed translations.

* Made fixes based on nits.

* Removed useless params.

* fix.

* Fixed errors, related to jest and __mocks__.

* Removed useless type definition.

* Replaced RendererHandlers with IInterpreterRendererHandlers.

* fixed supported_shareable.

* Moved elements back to canvas.

* Moved views to canvas, removed expression service and imported renderer to canvas.

* Fixed translations.

* Moved libs to presentation utils.

* Fixed types and removed function_wrapper.ts

* Fixed types of test helpers.

* Fixed imports.

* One more fix.

* Fixed public API.

* Moved css to component.

* Fixed spaces at element.

* Removed unused plugin.

* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Moved related components from canvas.

* Changed imports of components.

* Removed useless translations and fixed .i18nrc.json

* More fixes of i18nrc.

* Fixed async functions.

Written current code, based on https://github.com/storybookjs/storybook/issues/7745

* Fixed one test with Expression input.

After changing the way of rendering in stories, all elements are mounting and componentDidMount is involved. The previous snapshot was without
mounted `monaco` editor.

* generated plugin and copied code from expression_reveal_image

* fixed double import after merge.

* Changed all names from reveal_image to shape.

* moved shape to plugin and added all necessary configs

* Fixed translations, fixed all imports and debug of svg.

* `function` moved to `server`.

* One shape is rewritten to `React` and rendering is written with passing necessary props.

* changed default width and heigth.

* Added `ShapeHOC`.

* Shapes changed.

* small refactor.

* Removed useless import.

* one more refactor.

* Refactor + fix errors + updated limits.

* Changed ShapePreview from pure js to react and removed `dangerouslySetInnerHTML`

* Fixed types of viewbox.

* Changed types source for Shape components.

* small refactor.

* Fixed imports.

* Removed `shape` from `canvas`

* Updated docs.

* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Changed imports of components.

* Fixed errors, related to shape and autosuggestions.

* Fixed i18n for shape.

* Moved function from public to common and registered at server.

* Fixed types error.

* Fixed snapshots and shape mocks.

* Moved some libs from `presentations_util` to `expression_shape`

* Shape refactored.

* Shape picker fixed.

* Moved `Popover` back to `canvas`

* Removed `Popover` export from presentation_utils components.

* Moved error_component and debug_component from presentation_util to expression_error.

* Removed `.i18nrc.json`.

* Removed `.i18nrc.json`.

* Removed useless scss.

* Fixed color of `error`.

* added fixes of rebase.

* More fixes of rebase error .

* Removed useless .i18nrc.json file.

* More fixes.

* More fixes of rebase.

* One more fix.

* More fixes.

* Fixed limits and translations.

* Added.

* Fixed i18nrc.

* Fixed error..

* Moved shapes to async chunks.

* One more fix.

* Some fixes.

* Trying to fix the typecheck error.

* Added temp of drawer.

* Moved shapes to the async chunk in a less complex way.

* Made `ShapeDrawer` reusable among different `expressions`.

* Changed type of `shapes` from `any` and `Shape` to `string`.

* Made changes, based on nits.

* Removed not necessary changes.

* Moved all reusable libs to `expression_shapes`.

* Reduced the size of the bundle.

* Hope, fixed type check errors.

* Removed getDefaultShapeData.

* Removed `getViewBox` from bundle.
2021-07-21 17:46:19 +03:00
gchaps
646df22ede
[DOCS] Updates screenshots in Dev Tools docs (#105859)
* [DOCS] Updates screenshots in Dev Tools docs

* [DOCS] Combines all Search Profiler content in one doc
2021-07-20 14:33:06 -07:00
gchaps
9c25f8e8aa
[DOCS] Updates text and screenshots in tags doc (#105853)
* [DOCS] Updates text and screenshots in tags doc

* [DOCS] Minor tweaks to tags text
2021-07-20 14:32:26 -07:00
Luca Belluccini
5bd4762561
[DOC] APM settings fix (#106296) 2021-07-20 13:32:49 -07:00
Chris Roberson
1f798aac3f
[Alerting] Change execution of alerts from async to sync (#97311)
* added ability to run ephemeral tasks

* fixed typing

* added typing on plugin

* WIP

* Fix type issues

* Hook up the ephemeral task into the task runner for actions

* Tasks can now run independently of one another

* Use deferred language

* Refactor taskParams slightly

* Use Promise.all

* Remove deferred logic

* Add config options to limit the amount of tasks executing at once

* Add ephemeral task monitoring

* WIP

* Add single test so far

* Ensure we log after actions have executed

* Remove confusing * 1

* Add logic to ensure we fallback to default enqueueing if the total actions is above the config

* Add additional test

* Fix tests a bit, ensure we log the alerting:actions-execute right away and the tests should listen for alerts:execute

* Better tests

* If the queue is at capacity, attempt to execute the ephemeral task as a regular action

* Ensure we run ephemeral tasks before to avoid them getting stuck in the queue

* Do not handle the promise anymore

* Remove unnecessary code

* Properly handle errors from ephemeral task lifecycle

* moved acitons domain out of alerting and into actions plugin

* Remove some tests

* Fix TS and test issues

* Fix type issues

* Fix more type issues

* Fix more type issues

* Fix jest tests

* Fix more jest tests

* Off by default

* Fix jest tests

* Update config for this suite too

* Start of telemetry code

* Fix types and add missing files

* Fix telemetry schema

* Fix types

* Fix more types

* moved load event emission to pollingcycle and added health stats on Ephemeral tasks

* Add more telemetry data based on new health metrics for the ephemeral queue

* Fix tests and types

* Add separate request capacity for ephemeral queue

* Fix telemetry schema and add tests for usage collection

* track polled tasks by persistence and use in capacity estimation instead of executions

* fixed typing

* Bump default capacity

* added delay metric to ephemeral stats

* Fix bad merge

* Fix tests

* Fix tests

* Fix types

* Skip failing tests

* Exclude ephemeral stats from capacity estimation tests

* PR feedback

* More PR feedback

* PR feedback

* Fix merge conflict

* Try fixing CI

* Fix broken lock file from merge

* Match master

* Add this back

* PR feedback

* Change to queue and add test

* Disable ephemeral queue in tests

* Updated desc

* Comment out ephemeral-specific tests tha require the entire test suite to support ephemeral tasks

* Add clarifying comment

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 13:24:24 -04:00
Aleh Zasypkin
ca17b2dbb6
Provide sensible defaults for xpack.security.session.{lifespan|idleTimeout}. (#106061) 2021-07-20 18:30:36 +02:00
Stratoula Kalafateli
8b2ceaed44
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 13:33:10 +03:00
Thom Heymann
1f5be1e1e1
Space management page UX improvements (#100448)
* Updated spaces management page

* Fixed test failures

* updated snapshot

* Added suggestions form code review

* Fixed unit test

* Review suggestion #2

* WIP

* Fix build errors

* fix type

* remove test for popup that doesnt exist anymore

* fix test

* fix a11y issues

* fix a11y issue

* Removed unused css

* Fix functional test

* Added suggestions from code review

* Fix typescript errors

* Added suggestions from code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 09:33:39 +01:00
Aleh Zasypkin
237256a4ba
Introduce preboot lifecycle stage (#103636) 2021-07-20 06:52:23 +02:00
Brandon Morelli
fc49ae12e6
docs: APM RUM Source map API (#105332) 2021-07-19 13:29:18 -07:00
DeDe Morton
e4a8363087
Remove beta admonitions for Fleet docs (#106010) 2021-07-19 11:51:36 -07:00
gchaps
404337514e
[DOCS] Updates screenshots to show new theme (#104998)
* [DOCS] Updates screenshots to show new theme

* [DOCS] Updates more screenshots in Discover docs

* [DOCS] Updates screenshot for license management

* [DOCS] Attempt to make the screenshots more readable
2021-07-19 08:41:19 -07:00
Mikhail Shustov
f9089e11df
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 17:35:33 +02:00
Michael Dokolin
15a613f488
[Partial Results] Update esaggs expressions function to return partial results (#105620)
* Update `esaggs` expressions function to support partial results
* Add partial results throttling in the expressions loader
2021-07-19 12:44:17 +02:00
Thom Heymann
e389c9260d
Security/document audit deprecation (#104685) 2021-07-19 07:47:34 +01:00
Pete Hampton
ca0b362754
Revert "Remove security example from telemetry management panel. (#105722)" (#105974)
This reverts commit 6ae078f3c6.
2021-07-16 13:23:25 -04:00
Peter Pisljar
4ce446766d
filterManager PersistableStateService implementation (#104897) 2021-07-16 16:20:51 +02:00
Matthew Kime
2dd3693dbe
[rollup index patterns] don't show fields not present in field caps response (#105533)
* remove fields not present in field caps response
2021-07-16 09:07:31 -05:00
Pete Hampton
6ae078f3c6
Remove security example from telemetry management panel. (#105722)
* Remove security example from telemetry management panel.

* Fix types.

* Update component snapshot.

* Fix translations.

* Remove code to test for sec solution enabled.

* Fix type.

* Remove management section setting from security solution.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-16 14:56:06 +01:00
James Rodewig
2adb59f5d9
[DOCS] Update watcher screenshots for new EUI (#105843) 2021-07-16 08:01:41 -04:00
Marco Liberati
2e5e4ca57f
[Lens][Visualize][Inspector][Reporting] Unified check for CSV cells for known formula characters (and value escaping more in general) (#105221)
*  Unify escaping logic for csv export

* 📝 Update api doc

*  Fix test with new escape logic

* 👌 First batch of feedback

* 💬 Fix typo

* 👌 Memoize function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-16 10:55:49 +02:00
Marco Liberati
8e5d83d995
[Lens] Add more Lens QA doc (#105057)
* 📝 Add more Lens qa doc

* 🐛 Fix wrong ref

* 🔥 Remove section anchor for now

* Apply suggestions from code review

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* 👌 Integrated feedback

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-16 10:55:16 +02:00
Joe Portner
15b4981b1d
[Docs] Update security and spaces docs/screenshots (#105652) 2021-07-15 16:04:33 -04:00
Yaroslav Kuznietsov
e999b33e54
[Canvas] Expression error (#103048)
* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Moved related components from canvas.

* Changed imports of components.

* Fixed renderer and storybook.

* Fixed types errors.

* Added limits.

* Removed useless translations and fixed .i18nrc.json

* added `done` handler call.

* Added more fixes fo i18nc.

* Added docs.

* More fixes of i18nrc.

* Fixed async functions.

Written current code, based on https://github.com/storybookjs/storybook/issues/7745

* Fixed one test with Expression input.

After changing the way of rendering in stories, all elements are mounting and componentDidMount is involved. The previous snapshot was without
mounted `monaco` editor.

* Fixed storybook error.

* More fixes.

* removed unused translations.

* Removed handlers and changed the way of handling `resize` and calling `done`.

* Fixed i18n error.

* Fixed storybook.

* Replaced Popover with EuiPopover.

* Moved `Popover` back to `canvas`

* Removed `Popover` export from presentation_utils components.

* Moved error_component and debug_component from presentation_util to expression_error.

* Fixed translations and imports.

* Moved `debug renderer` to `expression_error` plugin.

* Fixed error.

* Fixed lazy exports.

* Fixed imports

* Fixed storybook snapshot.

* Removed `.i18nrc.json`.

* Fixed color of `error`.

* Exported concrete elements from popover.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-15 12:19:55 +03:00
Cauê Marcondes
94e379fa23
[APM] Kuery bar gives invalid suggestions (#105132)
* adding method to support terms_agg

* adding more filters to kuery bar

* addressing PR comments

* fixing docs

* addressing PR comments

* moving file to common

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 14:55:07 -04:00
Chris Roberson
5a08cae8f0
[Alerting] Update docs to include new o11y features (#104884)
* Update docs to include new o11y features

* PR feedback

* PR feedback

* Bold the headers

* PR feedback
2021-07-14 13:17:12 -04:00
James Rodewig
44441e7ae0
[DOCS] Update rollup jobs screenshots (#105624) 2021-07-14 12:51:51 -04:00
Kaarina Tungseth
aa0e2dc060
[DOCS] Updates the quick start for 7.14 (#105489)
* [DOCS] Updates the quick start for 7.14

* Updates a Discover image, adds image descriptions, and reformats dashboard section
2021-07-14 11:29:15 -05:00
James Rodewig
bcda0684ea
[DOCS] Update snapshot/restore screenshots for new EUI theme (#105444) 2021-07-14 12:08:01 -04:00
Nathan Reese
70758da0e8
[maps][docs] refresh screenshots for 7.14 (#105601) 2021-07-14 09:42:46 -06:00
Marco Liberati
509026d240
[Lens][Inspector] Enable inspector to display multiple requests for multiple layers (#105224)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 15:47:41 +02:00
Matthew Kime
320eaeac8b
Rollup index pattern list fixes (#105458)
* fix index pattern field list and improve typescript
2021-07-14 07:09:07 -05:00
Matthew Kime
d65743cc3c
Revert "Rollup index pattern list fixes (#105328)" (#105456)
This reverts commit 6933d63007.
2021-07-13 12:57:14 -05:00
Matthew Kime
6933d63007
Rollup index pattern list fixes (#105328)
* fix index pattern field list and improve typescript
2021-07-13 09:34:32 -05:00
Lisa Cawley
d5c5fb732d
[ML] Updates URLs in documentation link service (#105011) 2021-07-13 07:32:45 -07:00
Aaron Caldwell
c02cdd85fe
Format numbers in TOC pop-up and add layer menu to locale (#105165)
* Format numbers in TOC pop-up and add layer menu to locale

* Review feedback + format a couple other counts

* Update jest test
2021-07-13 10:17:53 -04:00
Yulia Čech
538dfba513
[Console] Autocomplete definitions (manual backport) (#105086)
* [Console] Removed x-pack console extensions folder and moved json files to src/plugins/console

* [Console] Generated console definitions with ES repo on master branch

* Added some overrides and doc links fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-13 10:31:50 +02:00
Brandon Morelli
9ab26cf089
docs: APM updates for 7.14 (#104232)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-07-12 15:12:56 -07:00
Larry Gregory
76f49565c1
Support authenticating to Elasticsearch via service account tokens (#102121)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 14:18:35 -04:00
Constance
afc07c376f
[Enterprise Search] Update README/description (#105151)
* Update plugin README with beta copy & fancier product info

* Update API dev docs plugin description punctuation

* Update README dev section

- Remote reference to native auth - no longer applicable in 7.14
- Add reference to Getting Started guide (Elastic only)

* Run node scripts/build_plugin_list_docs to update https://www.elastic.co/guide/en/kibana/master/plugin-list.html

* Add link to main Kibana README
- which should link out to their contributing docs
2021-07-12 13:51:38 -04:00
Kaarina Tungseth
d6a3692600
[DOCS] Adds how to create dashboard drilldowns for Top N and Table TSVB panels (#104548) 2021-07-12 09:58:39 -05:00
gchaps
357264db09
[DOCS] Fixes formatting in search sessions doc (#105077) 2021-07-09 09:34:27 -07:00
Joe Reuter
030f77b089
remove previous time range mode (#104830) 2021-07-08 17:34:20 +02:00
Wylie Conlon
0ef3cbe6ed
[Expressions] Introduce createTable expression function, and use in Lens (#103788)
* [Expressions] Introduce createTable expression function, and use in Lens

* Fix test

* Fix code style

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-08 10:01:50 -04:00
Stratoula Kalafateli
bf5ddcfc78
Fix documentation (#104833) 2021-07-08 13:38:23 +03:00
Frank Hassanabad
6e2128500e
[Security Solutions] Fixes bug with the filter query compatibility for transforms (#104559)
## Summary

* Fixes bug with the filter query compatibility to allow multiple object types and match all
* Adds unit tests for the file
* Fixes up the README.md a bit
* Adds more unit tests to the utils folder we didn't have before
* Adds more JSDocs

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated
2021-07-07 21:04:07 -06:00
Peter Pisljar
5aa8a0a818
persistable state migrations (#103680) 2021-07-07 22:42:16 +02:00
gchaps
e92892a174
[DOCS] Creates separate doc for security in production (#103973)
* [DOCS] Creates separate doc for security in production

* Use Kibana attribute

* Update CSP section

* Move SSL section to the top

This is the highest priority item for securing a production installation
of Kibana.

* Add section on using secure HTTP headers

* Write intro

* [DOCS] Fixes broken link and other minor edits

* [DOCS] Changes man to manipulator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-07-07 13:19:28 -07:00
gchaps
d1b58d8d63
Update index.asciidoc (#104677) 2021-07-07 09:28:45 -07:00
Mikhail Shustov
e01e682917
Add execution context service (#102039)
* add execution context service on the server-side

* integrate execution context service into http service

* add integration tests for execution context + http server

* update core code

* update integration tests

* update settings docs

* add execution context test plugin

* add a client-side test

* remove requestId from execution context

* add execution context service for the client side

* expose execution context service to plugins

* add execution context service for the server-side

* update http service

* update elasticsearch service

* move integration tests from http to execution_context service

* integrate in es client

* expose to plugins

* refactor functional tests

* remove x-opaque-id from create_cluster tests

* update test plugin package.json

* fix type errors in the test mocks

* fix elasticsearch service tests

* add escaping to support non-ascii symbols in description field

* improve test coverage

* update docs

* remove unnecessary import

* update docs

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* address comments

* remove execution context cleanup

* add option to disable execution_context service on the server side

* put x-opaque-id test back

* put tests back

* add header size limitation to the server side as well

* fix integration tests

* address comments

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-07 17:46:35 +02:00
Janeen Mikell-Straughn
9aa3280c86
[DOCS] Elastic Sec Overview (Fixing Image) (#104529)
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 09:58:09 -04:00
Jonathan Budzenski
02b05c97cb
[docs] Update default memory limit (#104535)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-07 13:13:43 +02:00
Lisa Cawley
3d2c2ed1ca
[DOCS] Fixes links to anomaly detection overview (#104350) 2021-07-06 08:27:38 -07:00
Joe Portner
57fdadbbec
[Docs] Add auth_provider_hint to authentication docs (#104132) 2021-07-06 10:02:47 -04:00
Aleh Zasypkin
2d48f7fb11
Add userSetup plugin skeleton. (#101610) 2021-07-06 14:41:24 +02:00
Lisa Cawley
f9c52277fb
[DOCS] Adds ML link to Kibana quickstart (#104018) 2021-07-05 10:10:47 -07:00
Anton Dosov
7d51ee00c5
[Search Session] Fix dangling search sessions (#102927) 2021-07-05 11:30:40 +02:00
Kaarina Tungseth
0e6d596991
[DOCS] Adds Making dashboards interactive (#102815)
* [DOCS] M Adds interactive dashboard content

* [DOCS] Adds Making dashboards interactive

* Fixes drilldowns broken links

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Adds metadata

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Review comments

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-01 16:23:24 -05:00
Nathan Reese
fb20e02192
[maps][docs] 7.14 doc updates (#103531)
* [maps][docs] 7.14 doc updates

* more details

* timeslider screenshot

* Update docs/maps/search.asciidoc

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

* Update docs/maps/search.asciidoc

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

* review feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:10:09 -06:00
Michael Dokolin
975e361d50
[Expressions] Update expressions public API to expose partial results support (#102403)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 22:48:47 +02:00
Joe Portner
c78c350a1d
[Docs] Add documentation on multiple tenants (#103125) 2021-07-01 13:07:08 -04:00
ymao1
7cc112d245
[Task Manager] Fixing typo in field name (#103948)
* Fixing typo

* Fixing typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 10:39:21 -04:00
Yaroslav Kuznietsov
b352976b3b
[Canvas] Expression reveal image. (#101987)
* expression_reveal_image skeleton.

* expression_functions added.

* expression_renderers added.

* Backup of daily work.

* Fixed errors.

* Added legacy support. Added button for legacy.

* Added storybook.

* Removed revealImage from canvas.

* setState while rendering error fixed.

* tsconfig.json added.

* jest.config.js added.

* Demo doc added.

* Types fixed.

* added limits.

* Removed not used imports.

* i18n namespaces fixed.

* Fixed test suite error.

* Some errors fixed.

* Fixed eslint error.

* Removed more unused translations.

* Moved UI and elements, related to expressionRevealImage from canvas.

* Fixed unused translations errors.

* Moved type of element to types.

* Fixed types and added service for representing elements, ui and supported renderers to canvas.

* Added expression registration to canvas.

* Fixed

* Fixed mutiple call of the function.

* Removed support of a legacy lib for revealImage chart.

* Removed legacy presentation_utils plugin import.

* Doc error fixed.

* Removed useless translations and tried to fix error.

* One more fix.

* Small imports fix.

* Fixed translations.

* Made fixes based on nits.

* Removed useless params.

* fix.

* Fixed errors, related to jest and __mocks__.

* Removed useless type definition.

* Replaced RendererHandlers with IInterpreterRendererHandlers.

* fixed supported_shareable.

* Moved elements back to canvas.

* Moved views to canvas, removed expression service and imported renderer to canvas.

* Fixed translations.

* Types fix.

* Moved libs to presentation utils.

* Fixed one mistake.

* removed dataurl lib.

* Fixed jest files.

* elasticLogo removed.

* Removed elastic_outline.

* removed httpurl.

* Removed missing_asset.

* removed url.

* replaced mostly all tests.

* Fixed types.

* Fixed types and removed function_wrapper.ts

* Fixed types of test helpers.

* Changed limits of presentationUtil plugin.

* Fixed imports.

* One more fix.

* Fixed huge size of bundle.

* Reduced allow limit for presentationUtil

* Updated limits for presentationUtil.

* Fixed public API.

* fixed type errors.

* Moved css to component.

* Fixed spaces at element.

* Changed order of requiredPlugins.

* Updated limits.

* Removed unused plugin.

* Added rule for allowing import from __stories__ directory.

* removed useless comment.

* Changed readme.md

* Fixed docs error.

* A possible of smoke test.

* onResize changed to useResizeObserver.

* Remove useless events and `useEffect` block.

* Changed from passing handlers to separate functions.

* `function` moved to `server`.

* Fixed eslint error.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 13:30:00 +03:00
Stratoula Kalafateli
c52e0e12aa
[TSVB] Documents the new index pattern mode (#102880)
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-01 12:34:28 +03:00
Brandon Kobel
54dae304cc
Update docs to explicitly state supported upgrade version (#103774)
* Update docs to explicitly state supported upgrade version

* Update docs/setup/upgrade.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-30 14:11:59 -07:00
Yuliia Naumenko
bd0f0584e0
[Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses. (#103725)
* [Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses.

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Apply suggestions from code review

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

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-30 10:34:59 -07:00
Kaarina Tungseth
524fe6dfe2
[DOCS] Updates to the Reporting docs (#101326)
* [DOCS] Updates to thee Reporting docs

* Adds the main sharing page

* Final changes

* Changed configuring-reporting link to secure-reporting

* Updates from meeting with Tim and Larry

* Moves reporting and sharing content above ML

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Review comments from Tim and Larry

* Fixes broken links

* Fixes redirect

* Fixes broken link from ES docs

* Adds metadata to changed pages

* Review comments

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-06-30 12:10:04 -05:00
Nathan Reese
5cf0fead02
[Maps] deprecate map.proxyElasticMapsServiceInMaps (#103740)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 10:59:27 -06:00
debadair
0f4319c43e
[DOCS] Fixed another units xref (#103826) 2021-06-30 08:43:15 -07:00
Liza Katz
2bc801c8ef
[Query] Es query/field base (#103177)
* remove es query dependency on format.convert

* FieldBase

* fix types

* types

* Fix type imports

* test types

* fix jest

* rename

* docs

* comment
2021-06-30 13:07:27 +01:00
Lisa Cawley
b92d955b56
[SECURITY] Adds security links to doc link service (#102676) 2021-06-30 00:27:58 -07:00
Lisa Cawley
0fb21c49b9
Adds ECS guide to doc links service (#102246) 2021-06-29 21:47:38 -07:00
Tiago Costa
5f35d23416
chore(NA): moving @kbn/es-archiver into bazel (#103770) 2021-06-29 23:33:02 -04:00
Jonathan Budzenski
bed5b6d8f2
[packages] Migrate @kbn/test to Bazel (#103122)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 21:16:00 -04:00
debadair
71a57454c7
[DOCS] Update xrefs to units sections in the ES guide (#103809) 2021-06-29 18:03:36 -07:00
debadair
a22f08750b
[DOCS] Updated xref to ES guide (#103803) 2021-06-29 17:36:09 -07:00
Jonathan Budzenski
7359fabf7c
[build] Remove OSS builds (#103685) 2021-06-29 18:17:51 -05:00
Ester Martí Vilaseca
46402538d2
[Monitoring] Enable out of the box alerts modal (#101565)
* Remove api call to create alerts

* Add enable alerts modal

* Update modal title

* Add simple alerts dropdown

* change alerts modal design

* refactor alerts modal provider

* Add alerts dropdown

* Show toast after alert creation and add error handling

* Do not show alerts modal if alerts already exist

* Fix stack monitoring test

* Fix more stack monitoring tests and types

* Fix tests after merge

* Attempt to fix stack monitoring tests

* remove console.log

* Change text

* Remove commented comment

* Update docs for stack monitoring alerts

* Fix docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 17:35:37 +02:00
gchaps
a416e81b49
[DOCS] Fixes formatting in settings doc (#103519) 2021-06-29 07:38:50 -07:00
Tiago Costa
75fa47cdcf
chore(NA): moving @kbn/test-subj-selector into bazel (#103562)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 14:59:38 +01:00
ymao1
c05588f077
[Alerting] Enable rule import/export and allow rule types to exclude themselves from export (#102999)
* Removing feature flag changes

* Adding isExportable flag to rule type definition

* Adding isExportable flag to rule type definition

* Adding isExportable flag to rule type definition

* Filtering rule on export by rule type isExportable flag

* Fixing types

* Adding docs

* Fix condition when exportCount is 0

* Unit test for fix condition when exportCount is 0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 20:35:27 -04:00
Nathan Reese
bf6be219e8
[Maps] deprecate 'map.regionmap' kibana config and 'Configured GeoJSON' source (#103373)
* [Maps] deprecate 'map.regionmap' kibana config and 'Configured GeoJSON' source

* clean up message

* revert change to KibanaRegionmapSource.getGeoJsonWithMeta

* tslint

* doc updates

* clean up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 16:27:41 -06:00
Joe Portner
196531502f
Sharing saved objects phase 3.5 (#100424) 2021-06-28 18:06:54 -04:00
Vadim Dalecky
82e32faf1a
Locator docs (#103129)
* feat: 🎸 add locator_examples plugin

* feat: 🎸 add example app in locator_examples

* feat: 🎸 add locator_explorer plugin

* chore: 🤖 remove url_generaotrs_* example plugins

* docs: ✏️ update share plugin readme

* docs: ✏️ add locators readme

* docs: ✏️ update docs link in example plugin

* docs: ✏️ update navigation docs

* fix: 🐛 make P extend SerializableState

* test: 💍 update test mocks

* fix: 🐛 use correct type in ingest pipeline locator

* test: 💍 add missing methods in mock

* test: 💍 update test mocks

* chore: 🤖 update plugin list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 21:44:11 +02:00
Yuliia Naumenko
73e8871be0
[Alerting][Docs] Support enablement documentation. (#101457)
* [Alerting][Docs] Support enablement documentation.

* additional docs

* fixed links

* Apply suggestions from code review

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

* fixed common issues

* Apply suggestions from code review

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

* fixed due to comments

* fixed TM health api page

* fixed TM health api page 2

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

* fixed due to the comments

* fixed experimental flag

* fixed due to the comments

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update docs/user/alerting/alerting-troubleshooting.asciidoc

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-06-28 11:57:17 -07:00
Wylie Conlon
cfd836014d
[Vega] Allow faceted Vega-Lite charts to take correct size (#103352)
* [Vega] Allow faceted Vega-Lite charts to take correct size

* Add unit test

* Update autosize docs

* Add warning when autosize=none

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 14:41:06 -04:00
Alexey Antonov
15b0dbff7b
[TSVB] Fix references to the index pattern are not embedded when exporting a saved object (#103255)
* [TSVB] Importing a dashboard with only TSVB viz on another space, breaks the dashboard

Closes: #103059

* move index-pattern to constant

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 19:18:30 +03:00
Stratoula Kalafateli
8fa4421cac
Update TSVB docs with guidelines on how to group by multiple fields (#103224)
* Update TSVB FAQ section with guidelines on how to group by multiple fields

* Apply text suggestion
2021-06-28 18:13:31 +03:00
Tiago Costa
22d5c90855
chore(NA): moving @kbn/spec-to-console into bazel (#103470)
* chore(NA): moving @kbn/spec-to-console into bazel

* chore(NA): fix licenses
2021-06-28 15:58:41 +01:00
Yuliia Naumenko
648841429c
Update health.asciidoc 2021-06-28 07:35:03 -07:00
Josh Dover
6ba26db8d3
Add warning toast when server.publicBaseUrl not configured correctly (#85344) 2021-06-28 10:24:13 -04:00
Pierre Gayvallet
672653776d
Allow additive csp configuration (#102059)
* add additive csp configuration

* add unit tests for new class

* fix types

* adapt test utils

* fix tests

* more unit tests on config

* generated doc

* review comments

* update ascii doc

* update ascii doc links

* automatically add single quotes for keywords

* add missing csp directives

* add more tests

* add additional settings to asciidoc

* add null-check

* revert test config props

* fix usage collection usage

* some review comments

* last review comments

* add kibana-docker variables

* try to fix doc reference

* try to fix doc reference again

* fix tests
2021-06-25 20:41:37 +02:00
Wylie Conlon
d16a464a4c
[Lens] Document common formulas in product and add formula tutorial (#103154)
* [Lens] Document common formulas in product and add formula tutorial

* Make common formulas appear in sidebar and format consistently

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 13:13:57 -04:00
Marco Liberati
dfc70bdfd1
[Lens] Enable actions on Lens Embeddable (#102038)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 14:59:36 +02:00
Luke Elmers
bd2215f587
[docs][migrations v2] Update SO migration docs to include removal of index write block when handling corrupt SOs. (#103014) 2021-06-24 15:46:19 -07:00
Janeen Mikell-Straughn
bfb98053d6
[DOCS] Security Overview (#103151)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks

* Update index.asciidoc

Updating index file; removing siem-UI and machine learning topics from the TOC.

* [DOCS] Change part to chapter

* Update index.asciidoc

* Adding <titleabbrev> attribute

Co-authored-by: lcawl <lcawley@elastic.co>
2021-06-24 12:53:56 -04:00
Chris Roberson
dd072c3927
[Task Manager] Add config switch around logging at different levels based on the state (#102804)
* Gate behind a config with warning message that helps users enable

* Update more files

* Fix docs formatting

* Preserve existing functionality

* Add in task type to the message

* Show multiple alert types that are over the threshold

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 11:09:47 -04:00
Stratoula Kalafateli
1d2cebafd2
[VisTypePie] Use a different advanced setting for pie charts (#103049)
* Different switch for pie

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 12:33:35 +03:00
Tiago Costa
17adfacb1b
chore(NA): moving @kbn/cli-dev-mode into bazel (#103067)
* chore(NA): moving @kbn/cli-dev-mode into bazel

* chore(NA): merge and solve conflicts with master
2021-06-23 23:50:49 -04:00
Tiago Costa
59423927cb
chore(NA): moving @kbn/plugin-helpers into bazel (#103181)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 23:49:04 -04:00
Liza Katz
77fe1c1087
[Query] Use a minimal index pattern interface for es query (#102364)
* Move JSON utils to utils package

* Imports from tests

* delete

* split package

* docs

* test

* test

* imports

* minimal index pattern

* move some functions out and use miniaml ip in all es-kuery

* docs

* docs

* rename

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 22:40:56 +03:00
Steph Milovic
2dc1715a8a
[Security Solution] [Cases] Swimlane Connector for Cases (#100086)
Co-authored-by: Josh <josh.rickard@swimlane.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 22:14:43 +03:00
ymao1
874dfc62f4
[Actions] Rename tls.* configs to ssl.* (#102902)
* Changing tls to ssl

* Changing tls to ssl

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 14:37:31 -04:00
Josh Dover
524401973f
Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00
Wylie Conlon
f49ecb3d1a
Update chart reference docs (#102430)
* Update chart reference docs

* Update from feedback

* Update from review feedback

* Update more from comments

* Apply left alignment
2021-06-23 09:53:16 -04:00
Liza Katz
f8a03829ea
Allow restored session to run missing searches and show a warning (#101650)
* Allow restored session to run missing searches and show a warning

* tests and docs

* improve warning

* tests for new functionality
NoSearchIdInSessionError type

* managmeent tests

* Update texts

* fix search service pus

* link to docs

* imports

* format import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 15:20:21 +03:00
Tiago Costa
e1ec8b05b6
chore(NA): moving @kbn/optimizer into bazel (#102965)
* chore(NA): moving @kbn/optimizer into bazel

* chore(NA): fix source import from kbn optimizer

* chore(NA): update snapshots
2021-06-23 11:11:13 +01:00
Joe Portner
00a6bdd401
Allow initialNamespaces to be used for isolated types (#102585) 2021-06-22 20:36:04 +02:00
Alison Goryachev
c33138e5cb
[Rollups] Migrate to new page layout (#102268) 2021-06-22 14:13:48 -04:00
Tiago Costa
3da2ac8927
chore(NA): moving @kbn/ui-framework into bazel (#102908) 2021-06-22 13:11:24 -04:00
Mike Côté
5ffe26cbf3
Add "Unable to decrypt attribute apiKey" to the alerting troubleshooting docs (#101315)
* Initial commit

* PR feedback

* PR feedback pt 2

* PR feedback pt 3
2021-06-22 12:30:40 -04:00
Jonathan Budzenski
11e68fda87
[packages] Move @kbn/interpreter to Bazel (#101089)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 09:59:20 -05:00
Stratoula Kalafateli
fbf4f26e39
[Docs] Drilldowns only for timeseries TSVB charts (#102481)
* [Docs] Drilldowns only for timeseries TSVB charts

* Update docs/user/dashboard/drilldowns.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-22 17:26:28 +03:00
Tiago Costa
7c429f725e
chore(NA): moving @kbn/storybook into bazel (#102731)
* chore(NA): moving @kbn/storybook into bazel

* chore(NA): add some typing changes

* chore(NA): rename typings file

* chore(NA): fix typescript configs to build storybooks

* chore(NA): fix eslint and typechecking
2021-06-21 20:17:54 +01:00
Wylie Conlon
fd4d4eec5c
Recommendation for known Vega-Lite issue (#102547) 2021-06-21 15:02:53 -04:00
ymao1
f53fc8d3de
[Alerting][Docs] Removing placeholder sections in docs (#101953)
* Removing placeholder prerequisite section

* Removing placeholder defining-rules and rule-management

* Fixing links

* Setup to set up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 14:27:18 -04:00
ymao1
6c699a562c
[Alerting] Updating audit event terminology (#102263)
* Updating audit terminology

* Fixing unit tests

* Updating audit docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 14:17:44 -04:00
Joe Reuter
7765fc7c14
[Lens] Fix time shift bug (#102528) 2021-06-21 16:53:27 +02:00
Nicolas Chaulet
307a5b2e93
[Fleet] Use docLinks service to link to the doc (#102660) 2021-06-21 09:46:56 -04:00
Jorge Sanz
d7f2325e09
[Maps] [Docs] Added emsUrl to the main kibana config doc (#102718) 2021-06-21 13:35:50 +02:00
Pierre Gayvallet
59d7f33115
add isExportable SO export API (#101860)
* add `isExportable` SO export API

* add warning when export contains excluded objects

* add FTR test

* fix API integration assertions

* lint

* fix assertions again

* doc

* update generated doc

* fix esarchiver paths

* use maps instead of objects

* SavedObjectsExportablePredicate is no longer async

* more docs

* generated doc

* use info instead of warning when export contains excluded objects

* try/catch on isExportable call and add exclusion reason

* add FTR test for errored objects

* log error if isExportable throws
2021-06-21 10:06:54 +02:00
Nik Richers
db312e540d
Add email connector info for Elastic Cloud (#91363)
* Move content into new location to fix merge conflict

* Add whitelisting callout
2021-06-18 13:45:36 -07:00
Tiago Costa
cee33b004c
chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)
* chore(NA): moving @kbn/io-ts-utils into bazel

* chore(NA): moving @kbn/ui-shared-deps into bazel

* chore(NA): compelte working build for @kbn/ui-shared-deps

* chore(NA): solve eslint problems

* chore(NA): solve typechecking

* chore(NA): debugger changes

* chore(NA): update optimizer basic integration tests

* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets

* chore(NA): use correct ui-shared-deps metrics file location

* chore(NA): remove webpack bazel config

* chore(NA): implement improvements on webpack config

* chore(NA): remove extra comment

* chore(NA): try esbuild-loader minimizer

* Revert "chore(NA): try esbuild-loader minimizer"

This reverts commit bffc49aaae.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-18 16:09:31 +01:00
François-Clément Brossard
8270959760
[DOC] Add experimental disclaimer to rollup jobs (#95624)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:51:01 -04:00
Lisa Cawley
e3454ead84
[DOCS] Updated Kibana alerting/rules language (#101977) 2021-06-17 11:14:12 -07:00
Ryland Herrick
ac07ebba87
[Security Solution] kbn package for generic hook utils (#101976)
* Adds boilerplate for new hook-utils package

* Move existing, identified utils into our hook-utils package

Updates references, and fixes a few missing config that were preventing
packages from building.

* Extracts a common type and adds a little more JSdoc for clarity

* Adds new useObservable hook

Similar to useAsync (a nearly identical interface), this is meant to
wrap a thunk returning an observable, allowing conditional invocation
and progressive updates as the observable continues to emit.

* Remove orphaned test

This function (and its tests) were moved to the hook-utils package; this
was simply missed.

* Remove optional chaining from kbn package

The build system does not currently support these typescript features.
While a valid fix would also have been to build separate browser and
node targets a la #99390, the use here was very minimal and so changing
to a supported syntax was the most pragmatic fix.

* Update old reference in test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 12:09:17 -05:00
Stratoula Kalafateli
36f8cb394e
[Visualizations] Update the kibana.json with the owner and the description (#102459)
* [Visualizations] Update the kibana.json with the owner and the description

* Update plugin list
2021-06-17 14:36:45 +03:00
Marco Liberati
7f625530fb
[Lens] Add some more documentation for dynamic coloring (#101369)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 10:27:25 +02:00
Joe Reuter
c75f369536
[Lens] Docs for time shift (#102048) 2021-06-17 09:32:28 +02:00
Joe Portner
d4cc6861a1
Update security best practices document (#100814) 2021-06-16 18:24:01 -04:00
Tim Sullivan
a816dae162
[Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs (#102278)
* [Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs

* Update docs/user/reporting/reporting-troubleshooting.asciidoc

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

* use script formatting around error message block

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-16 13:55:53 -07:00
Janeen Mikell-Straughn
dcb5a6708d
[DOCS] Updating Elastic Security Overview topic (#101922)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks
2021-06-16 15:45:12 -04:00