Commit graph

45026 commits

Author SHA1 Message Date
Kibana Machine 3631bd3c43
[Fleet] Display upgrade integration button instead of save for upgrades (#114314) (#114430)
* Display upgrade integration button instead of save for upgrades

* Skip endpoint tests

* Revert "Skip endpoint tests"

This reverts commit 3cfd100171.

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-11 02:10:21 -04:00
Kibana Machine e81607997d
Update sharing saved objects dev docs (#114395) (#114415)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-10-10 09:47:03 -04:00
Joe Portner 7053f5b16b
Legacy url conflict UI improvements (#114172) (#114382)
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-09 18:50:51 -04:00
Joe Portner 7f70d40e91
Add docs for legacy URL aliases (#110279) (#114411)
# Conflicts:
#	docs/developer/advanced/index.asciidoc
2021-10-09 13:32:56 -04:00
Sébastien Loix 8e3445c16a
[Watcher] Use fixed_interval instead of interval (#113527) (#114410) 2021-10-09 12:17:49 -04:00
Kibana Machine 7a2d0487d7
Functional tests - fix retry.waitFor not timing out correctly (#113905) (#114239)
This PR fixes bugs in test services, where retry.waitForWithTimeout and find.descendantExistsByCssSelector do not time out correctly.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-10-09 15:57:00 +00:00
Kibana Machine c854dfdbf8
[Fleet] Add installed integration callouts (#113893) (#114409)
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2021-10-09 05:15:04 -04:00
Kibana Machine 78879551b7
[ci-stats-reporter] ensure HTTP adapter is used (#114367) (#114402)
* [ci-stats-reporter] ensure HTTP adapter is used

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 21:18:29 -04:00
Kibana Machine b0907db6f2
[kbn/optimizer] log about high-level optimizer progress (#103354) (#114398)
* [kbn/optimizer] log about high-level optimizer progress

* restore logOptimizerProgress helper to fix tests

* fix lint error

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 18:51:33 -04:00
Jonathan Budzenski 863ac83097 skip flaky test. #112922 2021-10-08 11:20:55 -05:00
Jonathan Budzenski 61ec6f3a9f skip failing es promotion suites. #111240 2021-10-08 11:00:10 -05:00
Jonathan Budzenski 23f26ee3f3 skip flaky test. #114261 2021-10-08 10:51:41 -05:00
Kibana Machine 67e3caf587
[Stack Monitoring] sync timepicker with url (#114290) (#114388)
* sync timepicker hook with url

* name function

* fix linter errors

Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
2021-10-08 09:50:35 -04:00
Kibana Machine a87c2f1480
Fix dev doc pages (#114297) (#114386)
* fix doc page

* fix doc page bis

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-10-08 07:22:16 -04:00
Shahzad c2ec5ead34
[Exploratory View] Embedddable component (#113108) (#114311)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 06:37:26 -04:00
Yaroslav Kuznietsov 0058764851
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
#	src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js
2021-10-08 04:28:29 -04:00
Kibana Machine 0fd4aeae93
[Fleet] Revert max fields value for Fleet component templates to 10k (#114299) (#114373)
* Revert max fields value for Fleet component templates to 10k

* Skip endpoint tests

* fix failing spec

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-07 20:53:38 -04:00
Kibana Machine d1671cbaa5
[ts] support building refs for one project (#114345) (#114369)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-07 20:04:11 -04:00
Kibana Machine 23adc7f432
[App Search] Wired up action buttons for suggestion detail view (#114183) (#114368)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-10-07 20:03:55 -04:00
Diana Derevyankina c0b8aa34c4
Respect external URL allow list in vega (#113720) (#114248)
* Respect external URL allow list in vega

* Add getExternalUrlsAreNotEnabledError

* Revert moving some code in vega_base_view

* Add externalUrl to vega_base_view.d.ts

* Add throwing errors to prevent from following the link

* Fix condition

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 18:39:54 -04:00
Kibana Machine d7dc8b4d50
[ML] Fix deletion of models that are not used by pipelines (#114107) (#114355)
* [ML] Fix deletion of models that are not used by pipelines

* [ML] Edits from review

* [ML] Fix jest test for index switch in delete job modal

* [ML] Fix API test calls to createTestTrainedModels

* [ML] Remove unnecessary async from jest test

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2021-10-07 18:32:36 -04:00
Kibana Machine 9b46dc6ff8
[CI] Add failure count and github issue link to new failed test page (#114138) (#114337)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-07 21:50:07 +00:00
Matthew Kime 8b50d70a36
[7.x] [data views] clarify field subtype typescript types (#112499) (#114222)
* [data views] clarify field subtype typescript types (#112499)

* separate out multi and nested subTypes

* separate out multi and nested subTypes

* add undefined checks

* remove expect error statements

* use helper functions in es-query

* simplify changes with helper functions

* checking existence instead of getting value x2

* simplify types and revert discover changes

* update discover sidebar with helper methods

* try helpers with group_fields file

* try different helper with group_fields file

* revert group field changes, try nested field helpers

* revert nested field changes, try field_name.tsx helpers

* fix maps jest test

* use helpers in discover instead of setting types

* fix field_name.tsx

* Update index_pattern_util.test.ts

* lint  fix

* fix common exports

* reduce data_views plugin bundle size

* reduce data_views plugin bundle size

* remove discover reliance on es-query package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-es-query/src/es_query/handle_nested_filter.ts

* fix test
2021-10-07 17:49:42 -04:00
Kibana Machine b6c75ee752
[7.x] [Fleet] Add language clients (#113666) (#113977)
* [Fleet] Add language clients (#113666)

* Apply suggestions from code review

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update src/plugins/custom_integrations/server/plugin.test.ts

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update src/plugins/custom_integrations/server/plugin.test.ts

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-10-07 21:44:07 +00:00
Kibana Machine 3b4bb6f89d
[7.x] [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035) (#114339)
* [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [ci] Fix setup_bazel permissions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-07 16:57:07 -04:00
Joe Portner b63428a70a
[7.x] Remove securityOss plugin (#113946) (#114322)
* Remove securityOss plugin (#113946)

# Conflicts:
#	.eslintrc.js
#	.github/CODEOWNERS
#	api_docs/security_oss.mdx
#	packages/kbn-optimizer/limits.yml
#	scripts/functional_tests.js
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json

* Add unintentionally removed translations

* Fix jest test
2021-10-07 16:45:09 -04:00
Patrick Mueller 2b8244b21c
[actions] update doc on customHostSettings config (#101768) (#114351)
Improved the doc on the Kibana config for actions customHostSettings

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

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-07 16:00:38 -04:00
Kibana Machine a94d4cc5de
[Fullstory] Report mem usage (#114108) (#114325)
* memory

* jest test

* typo

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-10-07 15:32:20 -04:00
Kibana Machine b05ee6ddca
Reverting to legacy ES client behavior where maxSockets = Infinity (#113644) (#114211)
* Reverting to legacy ES client behavior where maxSockets = Infinity

* Removing unnused type

* Specifying keepAlive: true by default

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Brandon Kobel <brandon.kobel@elastic.co>
2021-10-07 19:09:21 +00:00
Kibana Machine a3e390f924
[App Search] General UX Improvements for Curations and Suggestions (#114213) (#114312)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-07 14:03:20 -04:00
Kibana Machine 654b7310d9
Update kibana plugin, platform and package overview doc (#112894) (#114301)
* udpate

* Update kibana_platform_plugin_intro.mdx

* Update kibana_platform_plugin_intro.mdx

* Update kibana_platform_plugin_intro.mdx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stacey Gammon <gammon@elastic.co>
2021-10-07 13:39:54 -04:00
Patryk Kopyciński 9ef198ad0d
Bump eslint@7 (#94347) (#114256)
# Conflicts:
#	packages/elastic-eslint-config-kibana/javascript.js
#	packages/kbn-eslint-plugin-eslint/rules/disallow_license_headers.test.js
#	packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.test.js
#	packages/kbn-eslint-plugin-eslint/rules/require_license_header.test.js
#	src/dev/eslint/lint_files.ts
#	x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
#	yarn.lock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 13:35:23 -04:00
Kibana Machine 8e9c74b5d4
[Fleet] Report installing status while package install is in progress (#111875) (#114296)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-10-07 13:20:58 -04:00
Alexey Antonov f01ad6c371
[KIbana Utils] createGetterSetter should work with optional plugins (#114128) (#114254)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 13:15:38 -04:00
Tyler Smalley 7aba4ccde2
[7.x] Update babel (master) (#113352) (#113680)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-07 10:08:46 -07:00
Jonathan Budzenski a19a28da9c add details to skipped test 2021-10-07 11:36:05 -05:00
Jonathan Budzenski ddd12161d3 skip flaky suite 2021-10-07 11:22:54 -05:00
Jonathan Budzenski 4c8448919b skip flaky suite, #114249, #114250 2021-10-07 10:54:37 -05:00
Tyler Smalley ba2addfce2 skip flaky suite (#113496) 2021-10-07 10:50:39 -05:00
Nathan Reese 7109faf257
[7.x] [Maps] fix typings for optionalPlugins (#114103) (#114221)
* [Maps] fix typings for optionalPlugins (#114103)

# Conflicts:
#	x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 11:48:06 -04:00
Kibana Machine 38f49bbd07
Fix undhandle promise rejection (#114233) (#114281)
Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
2021-10-07 11:44:05 -04:00
Pierre Gayvallet 4b3d051539
Migrate routing and navigation docs to new developer guide (#113919) (#114253)
* Migrate routing and navigation doc to new doc system

* address feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 11:38:49 -04:00
Kibana Machine c0ebaf62bb
[Charts] Unskips the jest active cursor test suite (#114246) (#114272)
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-07 11:20:20 -04:00
Maja Grubic db549baac1
[Field Formatters] Get rid of span ng-non-bindable (#113926) (#114266)
* [Field Formatters] Get rid of span ng-non-bindable

* Remove span explicitly

* Remove span entirely

* Update src/plugins/field_formats/common/content_types/html_content_type.ts

Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-10-07 10:36:01 -04:00
Kibana Machine 7555dfc633
[Lens] Chart is not updating with Refresh button (#114135) (#114255)
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-10-07 09:26:33 -04:00
Kibana Machine 779424c3ee
[Discover] persist columns selection after resetting state, taking into account _source column (#114178) (#114241)
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-07 07:51:52 -04:00
Kibana Machine bbaec75321
Add Host Risk metadata data to alerts flyout (#113274) (#114238)
* Filter out empty values from alert flyout overview

* Add Host Risk metadata data to alerts flyout

* Add feature flag to host risk data query

* Swap investigation guide and enrichment data places in the UI

* Migrate alert_summary_view.test to react testing library

* Refactor threat summary by extracting components and renaming

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
2021-10-07 07:36:43 -04:00
Kibana Machine c07e45232e
[Osquery] 7.15 osquery bug squash (#113325) (#114236)
* integration policies fixes

* don't update scheduled query group name while importing pack if there's already a name set

* handle reseting form state on submission error

* nixed the console logging

* fix linting issues

* useFormData instead of getFields

* linter plz

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Bryan Clement <bclement01@gmail.com>
2021-10-07 06:49:55 -04:00
Kibana Machine 2e104ea56e
[Search] Reuse uiSettings within bsearch request (#114088) (#114232)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-10-07 10:18:02 +00:00
Kibana Machine 54d903ad41
[Uptime] Annotate waterfall chart with additional metrics (#103642) (#113898)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-07 10:17:09 +00:00