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
Retrieves all the buckets for the given orgId.
Buckets can be filtered using any 'one' of the following parameters.
| parameter | description |
|---|---|
| ids | comma separated list of bucket ids |
| name | bucket name |
| trailId | provide job id to list all the records that was created/updated during the job run |
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/buckets
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/buckets
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/buckets
- 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/buckets?ids=12%2C34%2C56&name=my+bucket&trailId=3454&offset=1&limit=10&sort=id&order=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "limit": 100, "offset": 1, "total": 1000 } }
org specific custom field values for that particular bucket
origin of the bucket. A bucket id from which this bucket was cloned or copied from.
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/buckets
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/buckets
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/buckets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/38808/buckets \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customFieldValues": "{'\''filedname1:value2, fieldname2:value2}",
"description": "short description of the bucket",
"name": "bucket name",
"originId": 202,
"originTypeId": 1,
"parentId": 1,
"typeId": 101
}'{ "id": 205 }
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/38808/buckets/205 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "id": 205 }
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- 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/buckets/205 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK response.
{ "bucketType": { "category": "bucket_types", "id": 1, "key": "application", "label": "Application", "orgId": -1, "source": "spdx" }, "createdBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "createdOn": "2022-07-20 04:55:49", "customFieldValues": { "value": "{ field1 : value1 , field2 : value2 }" }, "description": "bucket describption", "id": 205, "modifiedBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "modifiedOn": "2022-07-20 04:55:49", "name": "my bucket", "orgId": 38808, "originId": 202, "originType": "null", "originTypeId": 0, "parentId": 1, "trailId": 22, "typeId": 1 }
org specific custom field values for that particular bucket
origin of the bucket. A bucket id from which this bucket was cloned or copied from.
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/buckets/{bucketId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/38808/buckets/1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customFieldValues": "{'\''filedname1:value2, fieldname2:value2}",
"description": "short description of the bucket",
"name": "bucket name",
"originId": 1,
"originTypeId": 1,
"parentId": 1,
"typeId": 101
}'OK response.
{ "bucketType": { "category": "bucket_types", "id": 1, "key": "application", "label": "Application", "orgId": -1, "source": "spdx" }, "createdBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "createdOn": "2022-07-20 04:55:49", "customFieldValues": { "value": "{ field1 : value1 , field2 : value2 }" }, "description": "bucket describption", "id": 205, "modifiedBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "modifiedOn": "2022-07-20 04:55:49", "name": "my bucket", "orgId": 38808, "originId": 202, "originType": "null", "originTypeId": 0, "parentId": 1, "trailId": 22, "typeId": 1 }
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.