Commit graph

45030 commits

Author SHA1 Message Date
Giorgos Bamparopoulos ccee057633
Update title and description on APM tutorial in cloud hosted environments (#113438) (#114066) 2021-10-06 07:39:06 -04:00
Kibana Machine 2cfe7864e9
[Discover] Redirect to main page when route not found (#113678) (#114059)
* [Discover] redirect to main page on route not found discover error

* [Discover] remove services from dependencies

* [Discover] apply suggestions

* [Discover] return invalid link, but make it not clickable

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-06 06:30:43 -04:00
Kibana Machine 6003dd76c0
[Fleet] fix for inactive color (#113736) (#114057)
* fix for inactive color

* fix for inactive color

* using theme colors

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

Co-authored-by: juliaElastic <90178898+juliaElastic@users.noreply.github.com>
2021-10-06 05:30:05 -04:00
Jean-Louis Leysens 9d924d0823
[DOCS] Add 7.15.0 known issue (#113442) (#114063)
* added 7.15.0 known issue

* updated issue linked to and updated copy per feedback

* added bold and code formatting

* Update docs/CHANGELOG.asciidoc

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

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-10-06 05:06:50 -04:00
Kibana Machine 35993d86ab
[TSVB] Removes unused css (#113751) (#114055)
* [TSVB] Removes unused css

* Use size l for the tabs

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

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-06 04:42:12 -04:00
Kibana Machine 0d1d548c79
[App Search] Add status badges to Suggestions and Active curations tables (#113886) (#114054)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-06 04:31:37 -04:00
Kibana Machine c50800ff19
Add description for APM plugin (#113952) (#114052)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-10-06 02:57:29 -04:00
Ignacio Rivas 794366f415
[Upgrade Assistant] Remove ML/Watcher logic (#113224) 2021-10-06 08:28:10 +02:00
Kibana Machine b0b406ce59
[App Search] Suggestions Callouts for Engine, Analytics, and Manual Curation Detail (#113864) (#114051)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-06 02:26:18 -04:00
Tyler Smalley 714f84da22 skip flaky suite (#113067) 2021-10-05 22:45:38 -07:00
Kibana Machine ab78a6df37
Apm pages (#113716) (#113894)
* Apm overview page

* APM instances page

* Add APM instance page

* Add ignores on js components

* One more ts-ignore

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-10-06 05:04:01 +00:00
Tyler Smalley 363879936b skip flaky suite (#104578) 2021-10-05 21:40:59 -07:00
Kibana Machine 6dcaa9d8e2
[Canvas] Hide dashed border on embeddable panel (#113985) (#114043)
Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
2021-10-05 23:14:20 -04:00
Kibana Machine d2239e1856
[Fleet] Fix Step 1 in policy editor not loading when agent policy already contains a limited integration (#113883) (#114031)
* 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>

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-10-06 02:41:59 +00:00
Vadim Yakhin e04b2e9f81
Add a handler for a possible promise rejection (#112840) (#114037)
* Add a handler for a possible promise rejection

* Improve test coverage
2021-10-05 22:29:25 -04:00
Tyler Smalley d4f681686e eslint fixup
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 18:39:38 -07:00
Tyler Smalley 87ec13f96d Revert "skip flaky suite (#113991)"
This reverts commit 7d70659a87.
2021-10-05 18:11:45 -07:00
Tyler Smalley 5b2eaf894a skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 18:11:38 -07:00
Kibana Machine 3fc62e342f
docs: remove link to APM Server (#114038) (#114040)
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2021-10-05 20:30:44 -04:00
Kibana Machine 3e05797525
[Workplace Search] Migrate Objects and assets from Source settings to Synchronization section (#113982) (#114015)
* 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

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-10-05 19:42:13 -04:00
Søren Louv-Jansen babfa59d1e
[APM] Add documentation for APM data and queries (#113542) (#114026) 2021-10-05 19:03:32 -04:00
Byron Hulcher 389fd95b53
[7.x] [App Search] Wired up Suggestion detail data (#113796) (#113969)
* [App Search] Wired up Suggestion detail data (#113796)

* Fix mock value after type update in #113861

* Fix test after type update in #113861

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-10-05 18:59:18 -04:00
Kibana Machine 67ddd49885
Remove preserve-3d from Canvas positionable (#113677) (#114007)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-10-05 18:53:43 -04:00
James Rodewig efa29ba565
Rename 'Ingest Node Pipelines' to 'Ingest Pipelines' (#113783) (#114003)
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 18:33:56 -04:00
Nathan Reese 64d5b16074
[Maps] Switch to SavedObjectClient.resolve (#112606) (#114004)
* [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>
# Conflicts:
#	x-pack/plugins/maps/public/embeddable/_index.scss
#	x-pack/plugins/maps/public/embeddable/map_embeddable.tsx
#	x-pack/plugins/maps/public/plugin.ts
2021-10-05 18:31:03 -04:00
Kibana Machine 27a15b81a9
[Security] Drop type EventCorrelationRule, it's really not needed (#113936) (#114000)
Co-authored-by: Domenico Andreoli <domenico.andreoli@elastic.co>
2021-10-05 18:21:03 -04:00
Kibana Machine e6d5c3be8c
[Maps] convert map inspector to TS (#113041) (#114001)
* [Maps] convert map inspector to TS

* eslint

* simplify folder structure

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-10-05 18:15:00 -04:00
Tyler Smalley 7d70659a87 skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 15:02:30 -07:00
Kibana Machine 2a97c5695d
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816) (#113997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-05 18:00:20 -04:00
Kibana Machine 6f7e614661
Update Index Management Tests to Check 4 Tabs on the Home Page (#113692) (#113995)
* Modified home page test to check for 4 tabs.

* Fixed lint issue.

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

Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
2021-10-05 17:51:31 -04:00
Kibana Machine de129d74ef
Add test to useRequest hook to verify ability to cancel poll. (#113947) (#113980)
Co-authored-by: CJ Cenizal <cj@cenizal.com>
2021-10-05 16:16:16 -04:00
Kibana Machine 953229124e
[Fleet] Add APM card to integration browser (#113625) (#113673)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-10-05 19:56:38 +00:00
Tiago Costa 9807691873 skip flaky suite (#106492) 2021-10-05 12:50:46 -07:00
Tyler Smalley f83067d11f skip flaky suite (#96372) 2021-10-05 12:40:25 -07:00
Kibana Machine 92b1d8bd73
[Fleet] Add "Keep Policies up to Date" functionality for integrations (#112702) (#113972)
* 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>

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-05 15:08:23 -04:00
Jonathan Buttner 1810750011
[Cases][Timeline] Toast an error when unable to retrieve timeline (#113795) (#113971)
* Displaying a toaster error message when a timeline fails to load

* Adding tests
# Conflicts:
#	x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
2021-10-05 15:04:49 -04:00
Tyler Smalley a30f2eabd2 skip flaky suite (#113991) 2021-10-05 11:58:20 -07:00
Kibana Machine 00d749404b
[Canvas] Use SavedObjectResolve (#110848) (#113970)
* 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>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-10-05 14:57:00 -04:00
Kibana Machine 29f32413a8
[RAC] Store rule params in the alert document (#113429) (#113965)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
2021-10-05 18:45:00 +00:00
Kibana Machine b2024f5c6d
Rename Fleet User Guide (#113867) (#113963)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2021-10-05 14:43:17 -04:00
Yuliia Naumenko 8e8c8f852e
[Alerting] Allow rule types to specify custom timeout values (#113487) (#113957)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-05 14:24:07 -04:00
Kibana Machine 748677ead0
[SECURITY] Add Privilege deprecations services in security plugin (#113151) (#113955)
* 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>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-10-05 18:18:40 +00:00
Tre ffeefb5f94
[Archive Migration] xpack..so_mgmt_feat_ctrls_security (#112314) (#112433)
# Conflicts:
#	x-pack/test/functional/es_archives/saved_objects_management/feature_controls/security/mappings.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:18:17 -04:00
Kibana Machine 2997a69939
[Stack Monitoring] Convert cluster listing view to React (#113585) (#113953)
* [Stack Monitoring] Covnert cluster listing view to React

* Fixing localStorage

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-10-05 14:16:07 -04:00
Kibana Machine 6d685411d8
fix policies version overlap (#113913) (#113941)
Co-authored-by: juliaElastic <90178898+juliaElastic@users.noreply.github.com>
2021-10-05 12:49:09 -04:00
Kibana Machine e870b6fe3d
App Search Automated Curation Suggestion Detail View (#113342) (#113640)
Co-authored-by: Davey Holler <daveyholler@gmail.com>
2021-10-05 16:31:35 +00:00
Kibana Machine 0761e6576c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896) (#113933)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-05 12:11:41 -04:00
Kibana Machine d286ba951c
Remove APM Alerts subfeature privilege (#113469) (#113930)
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.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-10-05 15:44:49 +00:00
Kibana Machine 8586f8ac3c
[7.x] [APM] Fleet: Update "switch to datastreams" wording for apm migration (#113574) (#113843)
* [APM] Fleet: Update "switch to datastreams" wording for apm migration (#113574)

* removing data stream in favor of Elastic agent

* fixing i18n

* addressing pr changes

* capitalization

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

* Update schema_overview.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2021-10-05 15:35:13 +00:00
Kibana Machine a8b0548a8c
[ML] Auto-scalable ML node integrations improvements (#112264) (#113927)
* [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>

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-10-05 11:29:18 -04:00