Summary
Extend the hardbox serve dashboard to render an aggregate fleet overview when JSON reports from hardbox fleet audit are present in the reports directory. No backend required — reads from local files.
Fleet view features
- Host table — one row per host: hostname, last audit timestamp, compliance score, score delta vs previous run, regression indicator
- Per-host drill-down — click a host to see its individual findings (reuse existing single-report view)
- Score timeline — sparkline of compliance score over time per host, rendered from historical JSON files
- Regression badge — visual indicator on hosts whose score dropped since last run
Detection logic
The dashboard auto-detects fleet reports by inspecting the JSON structure:
- Single-host report:
{ "host": "...", "findings": [...] }
- Fleet report:
{ "hosts": [ {"host": "...", "findings": [...]}, ... ] }
When fleet reports are present, the landing page shows the fleet overview instead of the single-report list.
Acceptance criteria
Summary
Extend the
hardbox servedashboard to render an aggregate fleet overview when JSON reports fromhardbox fleet auditare present in the reports directory. No backend required — reads from local files.Fleet view features
Detection logic
The dashboard auto-detects fleet reports by inspecting the JSON structure:
{ "host": "...", "findings": [...] }{ "hosts": [ {"host": "...", "findings": [...]}, ... ] }When fleet reports are present, the landing page shows the fleet overview instead of the single-report list.
Acceptance criteria
--reports-dirdocs/SERVE.mdupdated with fleet overview section