A customer could start a scan but never see whether it ran, where it was,
why it failed or which stages it left out: fetch_scan_runs was unused.
- Agent: GET /api/v1/scan-runs takes ?target_id=; GET /api/v1/targets
adds each target's newest run as `last_scan` (one aggregation).
- Targets list: a "last scan" column (status, and the step a running
scan is at); the findings count links to the findings list filtered to
that target (/findings?target=<id>); starting a scan refreshes the list.
- Target details: the scan history, newest first, with start and finish
times, new findings, the error of a failed run, and each stage that was
not run with its reason. It refreshes every 5 s while a scan runs.
- The targets page is in German and English; target types and artifact
kinds are shared label tables. Phase names are an exhaustive match, so
a new phase does not compile without both translations.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p