The organization's CSAF product mappings
const url = 'https://example.com/v1/orgs/example/csaf-mappings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/orgs/example/csaf-mappings \ --header 'Authorization: Bearer <token>'Most vendor advisories in CSAF name a product only by model number, SKU or name, not by a package URL or CPE. A CSAF product mapping says which product of a provider one of the organization’s packages is; the version comes from each SBOM’s package URL. Its matches appear only in this organization’s findings, with matched_via org_csaf. A product the advisory marks known_affected matches when the version is the product’s or in its vers: range, and, with a mapping, also when the range says every version (vers:
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization (tenant) slug, e.g. alpenrobotik
Responses
Section titled “Responses”Mappings
object
Pkg:type/namespace/name, lower case
The CSAF provider’s slug
What of a CSAF product the value names
Trimmed, lower case, single spaces
The provider’s advisories (not withdrawn) naming the value. 0 usually means a typo, or a provider that isn’t loaded.
Example
[ { "kind": "model_number" }]No such object in this organization, no such organization, or the caller does not belong to it
Over the operation’s rate-limit budget (x-affectra-budget): code request.rateLimited with params.budget. Wait Retry-After seconds before trying again.
Every error answer, Content-Type
application/problem+json. The web app and integrations translate code; detail is English,
for people reading curl output or CI logs, and may change wording at
any time. Match on code, never on detail.
object
The HTTP status
Stable error codes. A code is never renamed; new ones may be added, so
a client falls back to detail for a code it doesn’t know. Another
organization’s object answers notFound, the same as a missing one.
What went wrong
Values the code’s message needs, e.g. {“field”: “version”}. Only values the caller sent or may see. Empty when the message needs none.
object
Example
{ "code": "notFound"}Headers
Section titled “Headers”Seconds until a request would be allowed again, at least 1
The server runs without a database or object storage; the catalog is unavailable