From 9a47f41883dcc1550f9a94b51159d272b7cd1b6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yulia=20=C4=8Cech?=
<6585477+yuliacech@users.noreply.github.com>
Date: Wed, 9 Nov 2022 12:41:32 +0100
Subject: [PATCH] [Guided onboarding] Config updates for the Security guide
(#144844)
## Summary
Fixes https://github.com/elastic/kibana/issues/138644
This PR adds a manual completion to the Alerts and fixes the link to
redirect the user to Dashboards as the end of the guide.
Screenshot
Screencast
https://user-images.githubusercontent.com/6585477/200661156-241d2ab3-47a0-465a-a59d-17d72ca53ccb.mov
Co-authored-by: Kelly Murphy
---
.../public/constants/guides_config/security.ts | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/plugins/guided_onboarding/public/constants/guides_config/security.ts b/src/plugins/guided_onboarding/public/constants/guides_config/security.ts
index 3930ab66220f0..a192f98537fa9 100644
--- a/src/plugins/guided_onboarding/public/constants/guides_config/security.ts
+++ b/src/plugins/guided_onboarding/public/constants/guides_config/security.ts
@@ -15,8 +15,8 @@ export const securityConfig: GuideConfig = {
}),
guideName: 'Security',
completedGuideRedirectLocation: {
- appID: 'security',
- path: '/app/security/dashboards',
+ appID: 'securitySolutionUI',
+ path: '/dashboards',
},
description: i18n.translate('guidedOnboarding.securityGuide.description', {
defaultMessage: `We'll help you get set up quickly, using Elastic's out-of-the-box integrations.`,
@@ -87,6 +87,17 @@ export const securityConfig: GuideConfig = {
appID: 'securitySolutionUI',
path: '/alerts',
},
+ manualCompletion: {
+ title: i18n.translate('guidedOnboarding.securityGuide.alertsStep.manualCompletion.title', {
+ defaultMessage: 'Continue with the tour',
+ }),
+ description: i18n.translate(
+ 'guidedOnboarding.securityGuide.alertsStep.manualCompletion.description',
+ {
+ defaultMessage: `After you've explored the case you created, click here to continue.`,
+ }
+ ),
+ },
},
],
};