feat(audit-report): Exec-Summary, Top-N je Modul, Statistik, Gesamtanalyse

User-Feedback umgesetzt: Cookie-Titel-Fix (rendern nicht mehr als nacktes
"Befund" — Titel aus cookie/type/vendor), Executive Summary oben, je Modul
Statistik (Counts + Severity-Balken + MCs) + nur Top-3 Befunde + Verweis auf
"N weitere" mit Frontend-Link (snapshot_id) + Zwischenfazit, Browser-Übersicht,
Gesamtanalyse, klarerer "Grenzen"-Satz, Report-Versionsnummer. 6 Tests grün.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-06-13 15:57:07 +02:00
parent c8a1a40554
commit d1ea54b378
3 changed files with 246 additions and 125 deletions
@@ -231,6 +231,7 @@ async def _gather_report(snapshot_id: str):
if not snap:
raise HTTPException(status_code=404, detail="snapshot not found")
meta = {
"snapshot_id": snapshot_id,
"site_label": snap.get("site_label"),
"site_domain": snap.get("site_domain"),
"created_at": snap.get("created_at"),