Skip to content

Frontend warning banner for degraded health status #18

@Trishanthsai

Description

@Trishanthsai

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
  }
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions