Revenera SBOM Insights offers APIs to manage your Software Bill of Materials (SBOM) via buckets and parts. It supports manual software parts creation as well as ingestion of SBOMs in various formats. It also supports various queries into the constructed SBOM data.
Revenera SBOM Insights API (1.0)
Buckets are used to store a set of SBOM parts. They can represent an organization's entities such as business units and product families, as well as top-level applications and their elements such as modules and containers. Buckets can be nested under other buckets to form a hierarchy.
Request
Retrieve all the Jobs for the given orgId.
Jobs can be filtered using any 'one' of the following parameters.
| parameter | description |
|---|---|
| status | list all the jobs for the given status |
| bucketId | list all the jobs for a bucketId |
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/jobs
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/jobs
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/jobs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/38808/jobs?status=queued+%2F+processing+%2F+completed&bucketId=205&offset=1&limit=10&sort=id&order=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "limit": 100, "offset": 1, "total": 1000 } }
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/jobs/{jobId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/jobs/{jobId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/jobs/{jobId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/38808/jobs/812 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK response.
{ "bucketId": 205, "createdBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "createdOn": "2022-07-20 04:55:49", "id": 812, "input": { "fileHash": "cb26478a28a51ce1ce08ccd2bc3f6942", "fileName": "project-hello.spdx", "filePath": "/project-import/843514967_40062_2_project-hello.spdx", "logFile": "/project-import/843514967_40062_2_project-hello.log" }, "modifiedBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "modifiedOn": "2022-07-20 04:55:49", "orgId": 38808, "output": { "parsed": { … }, "processed": { … }, "totalTime": "1.246455001s" }, "status": "queued / processing / completed", "type": "import / others" }
SBOM Parts represent open source, third-party, and commercial ingredients in a software application. An SBOM part can represent an operating system such as Linux with 60k+ files, individual files, a single binary, a source bundle for an open source component, and even fragments of code. Parts within an SBOM, and even across multiple SBOMs, are related to each other via links of various types including dependencies, found inside, related to, and several others.