GET
An asset's A-F posture grade, its reasons and 30 days of history

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Path Parameters

id
string<uuid>
required

Response

The grade and its history.

grade
object
required

grade-v1. Every open (open, triaged, reopened) finding is checked against these rules and the asset takes the worst grade any triggers. F: a critical past its remediation SLA, a critical on a build running on an internet-exposed workload, or a risk score of 80 or more. D: an open critical, a high past its SLA, a high on a running exposed build, or a risk score of 60 or more. C: an open high, any other finding past its SLA, or a risk score of 40 or more. B: an open medium or unrated finding. A: none of these. Not graded: nothing has scanned or collected the asset and it has no open finding.

history
object[]
required