Commit graph

46999 commits

Author SHA1 Message Date
Tyler Smalley 3790cc13c8 Revert "skip flaky suite (#113991)"
This reverts commit d146b03fd3.
2021-10-05 18:11:16 -07:00
Tyler Smalley 2f1f6213e4 skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 18:10:46 -07:00
Catherine Liu 27215ec52d
[Canvas] Hide dashed border on embeddable panel (#113985) 2021-10-05 17:50:07 -07:00
Brandon Morelli 2f7e0afed9
docs: remove link to APM Server (#114038) 2021-10-05 20:18:48 -04:00
Lisa Cawley 0d176e4d3d
Add client URLs to documentation link service (#114010) 2021-10-05 16:48:18 -07:00
Jen Huang e474e0fc7b
[Fleet] Fix Step 1 in policy editor not loading when agent policy already contains a limited integration (#113883)
* Make 1st and 2nd step of policy editor behave nicer:
* Fix UX when selected agent policy already has a limited package (like Endpoint)
* Avoid re-rendering step 1 when a new agent policy is selected in Step 2
* Remove legacy code intended to support in-line selection of a package within policy editor (i.e. "from" policy)

* Remove add integration from policy routing

* Placing back "from policy" logic and a few other fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 16:15:27 -07:00
Tyler Smalley d146b03fd3 skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 15:01:51 -07:00
Scotty Bollinger 43588b546d
[Workplace Search] Migrate Objects and assets from Source settings to Synchronization section (#113982)
* Rename method

We have to set the source from the sync logic file and this naming makes more sense

* Wire up Enable Synchronization toggle

* Remove sync controls from source settings

* Refactor to pass in contentSource as prop

Because we have a child logic file, SynchronizationLogic, we have to pass the content source into it for reading its values from SourceLogic. There are 3 ways to do this:

1. Access the source directly at SourceLogic.values.contentSource
  - This how we normally do it. The problem here is that SourceLogic is not mounted when the default values are set in the reducers. This caused the UI to break and I could not find a way to safely mount SourceLogic before this logic file needed it.

2. Use the connect property and connect to Sourcelogic to access contentSource
  - This actually worked great but our test helper does not work well with it and after an hour or so trying to make it work, I punted and decided to go with #3 below.

3. Pass the contentSource as a prop
  - This works great and is easy to test. The only drawback is that all other components that use the SynchronizationLogic file have to also pass in the content source. This commit does just that.

* Add logic for Objects and assets view

* Add content to Objects and assets view

* Add fallback for `nextStart` that is in the past

This is slightly beyond the scope of this PR but trying to make the final PR more manageable.

There is an edge case where a running job lists the nextStart in the past if it is is running. After a lengthy Slack convo, it was decided to catch these in the UI and show a fallback string instead of something like “Next run 3 hours ago”

* reduce -> map

From previous PR feedback

* Fix casing on i18n ID
2021-10-05 17:14:24 -04:00
Poff Poffenberger 5a8782bd4e
Remove preserve-3d from Canvas positionable (#113677)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 15:26:56 -05:00
James Rodewig 40f2784f37
Rename 'Ingest Node Pipelines' to 'Ingest Pipelines' (#113783)
While Elasticsearch ingest pipelines require a node with the `ingest`
role, we don't need to include `ingest node` in the feature name.

There are no official plans, but the Elasticsearch team has discussed removing
the `ingest` role in the future. This also better aligns the Kibana UI with the
Elasticsearch docs.

The PR also makes some related changes to the Kibana docs.

Relates to https://github.com/elastic/elasticsearch/pull/70253.
2021-10-05 16:03:11 -04:00
Nathan Reese a9a923d5ee
[Maps] Switch to SavedObjectClient.resolve (#112606)
* [Maps] Switch to SavedObjectClient.resolve

* spaces tslint

* aliasMatch

* maps eslint

* update lens to use spaces.ui.components.getSavedObjectConflictMessage

* lens eslint

* spaces eslint

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 13:45:51 -06:00
Nathan Reese 31515e90fd
[Maps] convert map inspector to TS (#113041)
* [Maps] convert map inspector to TS

* eslint

* simplify folder structure

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 13:44:49 -06:00
Domenico Andreoli aea3c06316
[Security] Drop type EventCorrelationRule, it's really not needed (#113936) 2021-10-05 21:41:01 +02:00
Tyler Smalley 0fe5d26c00 skip flaky suite (#96372) 2021-10-05 12:40:22 -07:00
Christiane (Tina) Heiligers 67be0a8e68
Removes unused and renamed deprecated core settings and deprecated settings from core plugins (#113653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:49 -07:00
Chris Roberson 3f4240bdf1
[Alerting] Prevent our plugins from being disabled (#113461)
* No more disable

* Fix types

* Add event log and docker

* Fix test

* Remove unnecessary method

* Fix types, again

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:30:28 -05:00
Clint Andrew Hall 4f85f5e841
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 15:29:05 -04:00
John Dorlus 2dd01c0484
Update Index Management Tests to Check 4 Tabs on the Home Page (#113692)
* Modified home page test to check for 4 tabs.

* Fixed lint issue.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 15:24:56 -04:00
Tyler Smalley 68afc9b53e skip flaky suite (#113991) 2021-10-05 11:58:15 -07:00
Tim Sullivan e55593f2ed
[Reporting] Breaking: Remove setting for Reporting index (#113803) 2021-10-05 11:21:47 -07:00
CJ Cenizal 35200bea1f
Add test to useRequest hook to verify ability to cancel poll. (#113947) 2021-10-05 10:43:44 -07:00
Tyler Smalley 244ebca919 skip flaky suite (#113496) 2021-10-05 10:28:27 -07:00
Thomas Neirynck f46393d616
[Fleet] Add language clients (#113666) 2021-10-05 13:27:34 -04:00
Stacey Gammon e9fc5196ab
fix docs build (#113948) 2021-10-05 13:02:08 -04:00
Kyle Pollich 226b8e86a0
[Fleet] Add "Keep Policies up to Date" functionality for integrations (#112702)
* Add initial implementation for keep policies up to date functionality

* Upgrade package policies during preconfiguration check

* Only show keep policies up to date switch for default/auto-update packages

* Fix type error

* Fixup setup policy upgrade logic

* Add migration for keep policies up to date flag

* Move setup package policy logic to new module + add tests

* Update snapshots to include keepPoliciesUpToDate field

* Fix type errors

* Fix some CI failures

* Fix more type errors

* Fix type error in isolation test

* Fix package fixtures types

* Fix another type error

* Move policy upgrade error swallowing up a level in setup

* Address PR feedback

- Move keep policies up to date switch to separate component
- Use PACKAGE_POLICY_SAVED_OBJECT_TYPE instead of magic string

* Fix overwriting user values when upgrading

Fixes #113731

* Add test package

* Fix tests for overridePackageVars

* Address PR feedback

- Don't index keep_policies_up_to_date field
- Use SO_SEARCH_LIMIT constant instead of magic number

* Make toast translation usage more consistent

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:39:59 -04:00
Devon Thomson ac39f94b75
[Controls] Control Group Embeddable and Management Experience (#111065)
* built control group embeddable featuring inline control creation and editing, and DndKit based drag and drop.

Co-authored-by: andreadelrio <delrio.andre@gmail.com>
2021-10-05 12:34:13 -04:00
Corey Robertson b26968dbe8
[Canvas] Use SavedObjectResolve (#110848)
* Make Canvas Workpads Share Capable

* Address some PR feedback

* Fix types

* Fix reporting view

* Fix unused import

* Fix lint issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:40 -04:00
Alejandro Fernández Gómez 685f58579d
[RAC] Store rule params in the alert document (#113429)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 18:21:30 +02:00
DeDe Morton dd2065fd52
Rename Fleet User Guide (#113867)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:15:02 -07:00
Yuliia Naumenko b204b911e7
[Alerting] Allow rule types to specify custom timeout values (#113487)
* [Alerting] Allow rule types to specify custom timeout values

* fixed tests and docs

* -

* fixed due to comments

* Update x-pack/plugins/alerting/README.md

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

* fixed tests and docs

* Update plugin.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-05 08:55:13 -07:00
Xavier Mouligneau 77675d9f5e
[SECURITY] Add Privilege deprecations services in security plugin (#113151)
* non-working POC for privilege deprecations

* wip to be bale to deprecated sub feature case in security solutions

* finalyze deprecations of cases sub feature in security solutions

* only adding the deprecation servces in security

* add test + translation

* Update x-pack/plugins/security/server/deprecations/privilege_deprecations.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* joe reviews

* renaming + double check

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 11:48:32 -04:00
Chris Cowan 141a88bf62
[Stack Monitoring] Convert cluster listing view to React (#113585)
* [Stack Monitoring] Covnert cluster listing view to React

* Fixing localStorage
2021-10-05 09:24:20 -06:00
Shahzad b8cdc6fd1b
[Exploratory View] Embedddable component (#113108)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 17:23:44 +02:00
Jonathan Buttner 93d1a7fbcc
[Cases][Timeline] Toast an error when unable to retrieve timeline (#113795)
* Displaying a toaster error message when a timeline fails to load

* Adding tests
2021-10-05 10:31:32 -04:00
Dominique Clarke 940149c1b6
[Observability] [Exploratory View] Fix calendar cut off, change title, and close accordions on apply changes (#113824)
* fix header

* fix calendar is cut off

* close accordions on apply changes

* adjust types
2021-10-05 10:18:17 -04:00
Stacey Gammon cc00f3f279
Update kibana plugin, platform and package overview doc (#112894)
* 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>
2021-10-05 10:02:46 -04:00
Esteban Beltran 9902cbdc07
[Security Solution] host isolation exceptions delete item UI (#113541)
Co-authored-by: David Sánchez <davidsansol92@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:50:44 -04:00
juliaElastic a4f209e6f0
fix policies version overlap (#113913) 2021-10-05 15:44:36 +02:00
Stratoula Kalafateli 65df961b5c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test
2021-10-05 16:31:39 +03:00
Nathan L Smith 433a0e3927
Remove APM Alerts subfeature privilege (#113469)
This was not being used (`alerts_all` and `alerts_read`) and will not be used in the future and can be safely removed.

Fixes #112274.
2021-10-05 08:19:46 -05:00
Byron Hulcher 81046f171e
[App Search] Detail Page for Automated Curations (#113885) 2021-10-05 09:08:03 -04:00
James Gowdy 02ca808dc2
[ML] Auto-scalable ML node integrations improvements (#112264)
* [ML] Lazy ML node integrations improvements

* adding checks to metric and uptime

* updating callout

* adding callout to security

* cleaning up logs changes

* further clean up

* cleaning up callout code

* reverting churn

* linting

* improvements to bundle size

* adding link to cloud

* text changes

* fixing test

* translation id

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:02:18 +01:00
Kevin Lacabane cf6bb10bb1
[Stack Monitoring ] Migrate kibana instances page to react (#113874)
* kibana instances page component

* kibana instances route

* extract SetupModeProps to remove duplication
2021-10-05 14:44:32 +02:00
Milton Hultgren 308068407d
[Observability] Add tooltips to alert table row action buttons (#113782) 2021-10-05 14:26:21 +02:00
Søren Louv-Jansen 853c588626
[APM] Add documentation for APM data and queries (#113542) 2021-10-05 14:00:19 +02:00
Tiago Costa 9920e63a25
skip flaky suite (#60559) 2021-10-05 12:50:31 +01:00
Dario Gieselaar 79f841e5d3
[APM] Display all properties by default in flyout (#113221)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 13:38:51 +02:00
Gloria Hornero 699de6b603
[Security Solution] Minimizes the number of environment variables used in Cypress (#113854)
* cleans parameters

* updates readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 07:34:44 -04:00
Pierre Gayvallet a4b74bd398
[8.0] Remove legacy logging (#112305)
* remove kbn-legacy-logging package

* remove legacy service

* remove legacy appender

* remove LegacyObjectToConfigAdapter

* gix types

* remove @hapi/good / @hapi/good-squeeze / @hapi/podium

* remove `default` appender validation for `root` logger

* remove old config key from kibana-docker

* fix FTR config

* fix dev server

* remove reference from readme

* fix unit test

* clean CLI args and remove quiet option

* fix type

* fix status test config

* remove from test config

* fix snapshot

* use another regexp

* update generated doc

* fix createRootWithSettings

* fix some integration tests

* another IT fix

* yet another IT fix

* (will be reverted) add assertion for CI failure

* Revert "(will be reverted) add assertion for CI failure"

This reverts commit 78d5560f9e.

* switch back to json layout for test

* remove legacy logging config deprecations

* address some review comments

* update documentation

* update kibana.yml config examples

* add config example for `metrics.ops`

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 13:30:56 +02:00
Dmitry Tomashevich 158b396ae1
[Discover] Fix navigation to a new from saved search and saved query, fix discover:searchOnPageLoad (#112262)
* [Discover] fix saved search become active

* [Discover] add another fix to be consistent with data fetching code

* [Discover] simplify solution

* [Discover] add functionals

* [Discover] fix saved query bug, add functionals

* [Discover] fix functionals

* [Discover] fix functional test

* [Discover] split saved query tests

* [Discover] preselect logstash index pattern

* [Discover] remove saved query after test complete

* [Discover] change query fill order

* [Discover] try to fix unrelated functional test

* [Discover] one more fix

* [Discover] try to fix one more problem

* [Discover] fix commonly used time range test

* [Discover] revert uisettings init in before statement, do small adjustments

* [Discover] fix unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:08:54 +03:00