POST
Upload a bill of materials and scan it for vulnerabilities

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

name
string

What the asset is known by. Defaults to the document's own subject.

Maximum string length: 200
format
enum<string>

Declares the format. A declaration that disagrees with the content is refused.

Available options:
cyclonedx,
spdx

Body

application/json

The body is of type object.

Response

The same document is already being scanned; that scan is returned.

The response is of type object.