Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Endpoints

Everything is on one port, 8080 by default.

PathPurpose
/The dashboard. Routes after #/ are handled in the browser.
/healthzLiveness. Answers ok once the server is up, before the first read finishes.
/api/statusWhether a snapshot is ready, whether a read is running, when the last one finished, and the last error.
/api/overviewEverything the overview shows.
/api/images, /api/images/{id}Images, and one image with its findings, workloads and secrets.
/api/cves, /api/cves/{id}CVEs, and one CVE with every affected image.
/api/workloadsWorkloads with their images and counts.
/api/misconfigsFailed configuration and RBAC checks, by resource.
/api/secretsExposed secrets, without the matched text.
/api/complianceCompliance reports and their controls.
POST /api/refreshRead the reports again now.

Until the first read finishes, the data endpoints answer 503 with {"error": "loading reports…"}. Responses are gzip-compressed when the client accepts it.