v1
latestOpenAPI 3.0.32026-07-26233989.2 KBAnalysis
Get SBOM Results
Retrieves the Software Bill of Materials (SBOM) results for a specific repository and commit
post/api/analysis/results/sbom
Request body
Example request
{
"repo": "owner/repository",
"commit_id": "abc123def456",
"branch": "main",
"access_token": "ghp_xxxxxxxxxxxx",
"service": "github",
"gitlab_base_url": "https://gitlab.com"
}Response
SBOM results retrieved successfully
Example response
{
"results": {
"rootFolder": "/mnt/lambda/owner/repository/abc123def456",
"sboms": [
{
"language": "Python",
"sourceFile": "/tmp/superRequirements.txt",
"packages": [
{
"name": "@alloc/quick-lru",
"version": "5.2.0",
"licenseDeclared": "MIT",
"licenseConcluded": "MIT",
"licenseReason": "NOASSERTION",
"licenseStandard": true,
"copyleftStrength": "permissive",
"policyLevel": "allow",
"policyNote": "Permissive license: keep license and notices",
"spdxId": "MIT",
"badTerms": [
{
"tag": "modifications_must_be_public",
"start": 246,
"end": 268,
"evidence": "out limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell co"
}
]
}
],
"packagesCount": 1
}
]
},
"status": "done",
"commit_id": "abc123def456"
}