fossa_get_revision_sbom
Retrieve FOSSA's analysis of an uploaded SBOM or the original file link. Inspect parse results and dependency scan for SBOM projects.
Instructions
Return FOSSA's analysis of an uploaded SBOM, or a link to the original file.
part="analysis" reports what FOSSA made of the document: whether it parsed
as an SBOM, which required fields were present, and how the dependency scan
went. part="original" asks for the file as uploaded; FOSSA answers that
with a redirect, so what comes back is the download URL, not the document.
Both only apply to SBOM projects. Any other project type answers 400.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | analysis | |
| project_locator | Yes | ||
| revision_locator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||