Summary
The backend /health endpoint now reports scanner availability and returns a degraded status when one or more scanners are unavailable.
A frontend warning banner should be added to inform users when the system is running in a degraded state and scan results may be incomplete.
Requirements
- Fetch health status from the
/health endpoint.
- Detect when
status is degraded.
- Display a visible warning banner in the UI.
- Inform users that one or more scanners are unavailable.
- Optionally show which scanners are unavailable.
Example Response
{
"ok": true,
"status": "degraded",
"scanners": {
"semgrep": true,
"osv-scanner": false,
"gitleaks": true
}
}
Summary
The backend
/healthendpoint now reports scanner availability and returns adegradedstatus when one or more scanners are unavailable.A frontend warning banner should be added to inform users when the system is running in a degraded state and scan results may be incomplete.
Requirements
/healthendpoint.statusisdegraded.Example Response
{ "ok": true, "status": "degraded", "scanners": { "semgrep": true, "osv-scanner": false, "gitleaks": true } }