Description
The API server dashboard at / serves a single static HTML page (api_server/src/dashboard.html). It does not auto-refresh, does not show live run progress, and cannot be used to trigger or monitor investigations.
Proposal
Enhance the dashboard with:
- Auto-refresh: Poll
/api/v1/health and /api/v1/runtime/status periodically
- Run list: Show recent/active runs from
/api/v1/runs with status badges
- Case view: List open cases with finding counts
- Findings chart: Simple severity distribution chart (JS-based, no framework needed)
- WebSocket support (stretch): Live streaming of run progress
This would make the API server useful as a lightweight monitoring console for security operations.
Affected Files
api_server/src/dashboard.html (UI enhancements)
api_server/src/routes.rs (potentially new SSE/WebSocket endpoint)
Description
The API server dashboard at
/serves a single static HTML page (api_server/src/dashboard.html). It does not auto-refresh, does not show live run progress, and cannot be used to trigger or monitor investigations.Proposal
Enhance the dashboard with:
/api/v1/healthand/api/v1/runtime/statusperiodically/api/v1/runswith status badgesThis would make the API server useful as a lightweight monitoring console for security operations.
Affected Files
api_server/src/dashboard.html(UI enhancements)api_server/src/routes.rs(potentially new SSE/WebSocket endpoint)