package webui // renderScenario renders the "6. Scenario" page: every scenarios/*.json // runnable via platform.System.ReadScenario — the ones shipped with the // image (platform.LocalScenariosDir) plus anything found on mounted // removable media (e.g. the blackbox USB stick) — each runnable with one // click. A run is enqueued as a normal Task (target "scenario") — // progress/logs live in Tasks like every other SAT pack, no separate // live-output UI needed here. // // See audit/internal/platform/scenario.go for the scenario file format and // scenarios/README.md for how to add one (shipped in the image, or dropped // on the USB stick for a one-off/air-gapped run). func renderScenario(opts HandlerOptions) string { return `

Scripted, ad-hoc test scenarios — commands plus background samplers (IPMI sensors, nvidia-smi, ...), described in a small JSON file instead of a hardcoded test. The list below includes scenarios shipped with this image as well as any <name>.json dropped under scenarios/ on a mounted removable drive (e.g. the same USB stick already plugged in for blackbox) — no rebuild needed for the latter. Runs are enqueued like any other task; watch progress in Tasks.

Available scenarios

Loading...

` }