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.
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.
Request
Retrieve all the parts.
Parts can be filtered using any 'one' of the following parameters.
| parameter | description |
|---|---|
| ids | comma separated list of part ids |
| bucketIds | comma separated list of bucket ids |
| 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}/parts
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/parts
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/parts
- 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/parts?ids=12%2C34%2C56&bucketIds=12%2C34%2C56&trailId=22&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
ids of files assocaited
type of link to the other part. Ref: Archetypes api for details.
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}/parts
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/parts
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/parts
- 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/parts \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"additionalNotes": "Artistic License 1.0",
"bucketId": 205,
"catalogId": 644,
"copyrightText": "copyright text",
"customFieldValues": "{'\''field1'\'': '\''value1'\'','\''field2'\'': '\''value2'\''}",
"description": "some text",
"fileIds": [
8657670097689851000,
9191975148648903000
],
"linkId": 323,
"linkNotes": "link notes",
"linkTypeId": 345,
"name": "Some Part name",
"noticesText": "some text",
"originId": 1,
"originTypeId": 1,
"purl": "pkg:alpine/alpine-keys@2.4-r0?arch=x86_64",
"status": "Approved",
"typeId": 1,
"url": "Artistic License 1.0"
}'{ "id": 411 }
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/parts/{partId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/parts/{partId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/parts/{partId}
- 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/parts/1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "id": 411 }
- Mock serverhttps://sbominsightsapi.redocly.app/_mock/openapi3/sbom/v1/orgs/{orgId}/parts/{partId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/parts/{partId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/parts/{partId}
- 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/parts/411 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK response.
{ "additionalNotes": "additional notes", "bucket": { "bucketType": 22, "description": "a new buckets with desc", "id": 5, "name": "my bucket in an org", "orgId": 40062, "parentId": "null", "typeId": 1 }, "bucketId": 205, "catalog": { "id": 1, "orgId": -1, "title": "vul-bug-apache-struts" }, "catalogId": 644, "copyrightText": "multi line copyright text", "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": "multi line description about the part", "fileIds": [ 6388167972581648000, 7106059467961315000 ], "id": 411, "internalNotes": { "value": "Atque alias odit." }, "linkId": 404, "linkNotes": "notes about the link estabilished", "linkType": { "category": "link_types", "id": 9, "key": "cloned", "label": "Clone", "orgId": -1 }, "linkTypeId": 54, "modifiedBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "modifiedOn": "2022-07-20 04:55:49", "name": "my bucket name", "noticesText": "multi line notices text", "orgId": 38808, "originId": 545, "originType": "Non voluptas atque recusandae tenetur.", "originTypeId": 54, "partType": { "category": "part_types", "id": 9, "key": "application", "label": "Application", "orgId": -1 }, "purl": "pkg:alpine/alpine-keys@2.4-r0?arch=x86_64", "status": "Reviewed / Not Reviewed / Pending", "trailId": 22, "typeId": 1, "url": "http://github.com/my/component", "vulnerabilitySummary": { "cvss2": { … }, "cvss3": { … }, "total": 10 } }
org specific custom field values for that particular bucket
ids of files assocaited
type of link to the other part. Ref: Archetypes api for details.
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}/parts/{partId}
- SBOM Insights API URL - Productionhttps://sca-api.revenera.com/sbom/v1/orgs/{orgId}/parts/{partId}
- SBOM Insights API URL - Staginghttps://sca-api.reveneratest.com/sbom/v1/orgs/{orgId}/parts/{partId}
- 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/parts/411 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"additionalNotes": "multi line additional notes",
"bucketId": 205,
"catalogId": 1,
"copyrightText": "copyright text",
"customFieldValues": "{'\''field1'\'': '\''value1'\'','\''field2'\'': '\''value2'\''}",
"description": "full description of the part",
"fileIds": [
3448109934389025000,
3612097320600397000,
5796970362103919000,
5426399058772692000
],
"linkId": 323,
"linkNotes": "link notes",
"linkTypeId": 345,
"name": "Some Part name",
"noticesText": "multi line notices text",
"originId": 1,
"originTypeId": 1,
"purl": "pkg:alpine/alpine-keys@2.4-r0?arch=x86_64",
"status": "Approved",
"typeId": 1,
"url": "http://github.com/ven/rep"
}'OK response.
{ "additionalNotes": "additional notes", "bucket": { "bucketType": 22, "description": "a new buckets with desc", "id": 5, "name": "my bucket in an org", "orgId": 40062, "parentId": "null", "typeId": 1 }, "bucketId": 205, "catalog": { "id": 1, "orgId": -1, "title": "vul-bug-apache-struts" }, "catalogId": 644, "copyrightText": "multi line copyright text", "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": "multi line description about the part", "fileIds": [ 72174769622849060, 8969560062921569000, 6282079258586465000 ], "id": 411, "internalNotes": { "value": "Atque alias odit." }, "linkId": 404, "linkNotes": "notes about the link estabilished", "linkType": { "category": "link_types", "id": 9, "key": "cloned", "label": "Clone", "orgId": -1 }, "linkTypeId": 54, "modifiedBy": { "email": "adam@server.com", "firstName": "Adam", "id": 2435456, "lastName": "Stone" }, "modifiedOn": "2022-07-20 04:55:49", "name": "my bucket name", "noticesText": "multi line notices text", "orgId": 38808, "originId": 545, "originType": "Consectetur nam repellendus.", "originTypeId": 54, "partType": { "category": "part_types", "id": 9, "key": "application", "label": "Application", "orgId": -1 }, "purl": "pkg:alpine/alpine-keys@2.4-r0?arch=x86_64", "status": "Reviewed / Not Reviewed / Pending", "trailId": 22, "typeId": 1, "url": "http://github.com/my/component", "vulnerabilitySummary": { "cvss2": { … }, "cvss3": { … }, "total": 10 } }