Hanzo
OpenapiSecurity

Is the org's scan history, newest first, each as the same summary the…

Is the org's scan history, newest first, each as the same summary the submission answered — files read, findings fired, tally by severity.

GET /v1/security/scans

Addresshttps://api.hanzo.ai/v1/security/scans
MethodGET
Operationget_security_scans
AuthAuthorization: Bearer $HANZO_API_KEY

Is the org's scan history, newest first, each as the same summary the submission answered — files read, findings fired, tally by severity.

Strictly org-scoped: a caller only ever sees its own scans, and one with no validated org is refused.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryintegerLimit caps the page.

Response

StatusBodyMeaning
200scanListok

200 body — 10 fields.

FieldInTypeAlwaysDescription
databodyscanView[]Data is the caller org's scans, newest first.
data[].createdAtbodyintegerCreatedAt is when the scan ran, in Unix milliseconds.
data[].criticalbodyintegerCritical is how many findings carry the highest severity.
data[].filesbodyintegerFiles is how many files the scan read.
data[].findingsbodyintegerFindings is how many secrets fired across them.
data[].highbodyintegerHigh is how many findings rank high.
data[].idbodystringID addresses this scan and every finding on it.
data[].lowbodyintegerLow is how many findings rank low.
data[].mediumbodyintegerMedium is how many findings rank medium.
data[].projectbodystringProject is the sub-scope the scan was filed under.

Failure carries the platform error shape — see Errors.

Examples

hanzo security scans list

Security API · All Hanzo APIs · Interactive reference

How is this guide?

On this page