Files
prowler/ui/lib/tours/attack-paths-empty.tour.ts
Alan Buscaglia 49309b43d3 feat(ui): UI onboarding system (#11430)
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
2026-06-15 13:53:48 +02:00

32 lines
947 B
TypeScript

import {
defineTour,
TOUR_STEP_ALIGNMENTS,
TOUR_STEP_SIDES,
} from "./tour-types";
// Companion to `attack-paths.tour.ts` with a distinct id so completing one
// does not suppress the other.
export const attackPathsEmptyTour = defineTour({
id: "attack-paths-empty",
version: 1,
coversFiles: [
"ui/app/(prowler)/attack-paths/**",
"ui/components/attack-paths/**",
],
steps: [
{
title: "Welcome to Attack Paths",
description:
"Attack Paths visualizes how a compromise in one resource could spread through your cloud. It's currently available for AWS accounts only — you'll need a completed AWS scan first.",
},
{
target: "scans-cta",
side: TOUR_STEP_SIDES.BOTTOM,
align: TOUR_STEP_ALIGNMENTS.START,
title: "Run your first scan",
description:
"Open Scan Jobs to launch one. The Attack Paths tour will pick up here once a scan is ready.",
},
],
});