GET
Search the estate's software inventory

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.

Query Parameters

limit
integer
default:50

1 to 200. Values above the maximum are clamped, and page.limit reports the effective value.

Required range: 1 <= x <= 200
cursor
string

Opaque, from page.next_cursor. Bound to a tenant, order and filter set; expires after 24 hours.

asset_id
string<uuid>
purl
string

A Package URL, with or without a version.

With one (pkg:npm/lodash@4.17.21) this matches that exact release: the advisory's question, "who is on the vulnerable version?".

Without one (pkg:npm/lodash) it matches every installation of the package whatever its version: the question asked before an upgrade is planned. Requiring a version would make the second unanswerable, and ignoring one would make the first return every version in the estate.

ecosystem
string

A PURL ecosystem (npm, maven, pypi, deb). Normalised, so an engine's analyser label resolves to the ecosystem it belongs to.

direct
boolean

Response

Matching components.

The response is of type object.