In the case that you would like to restart or reset your SBOM upload via CDX file using the Build API, there is a method that can make this possible. Please note that there is another FAQ available that will allow you to make updates to your SBOM and it can be found here.
Following the instructions of this FAQ (How can I upload a CycloneDX Artifact through Build API?), simply use the same buildName parameter from the original SBOM upload and upload an empty CDX file using the Build API.
{
"project": "<PROJECTID>",
"version": "<PROJECTVERSION>",
"buildName": "<BUILDNAME>",
"artifacts": [
{
"id": "<ARTIFACTID>",
"type": "cyclonedx-json"
}
]
}
The buildName can be found in the navigation menu on the left-hand side of Ketryx by selecting History -> Builds (as seen in the screenshot below). Information on Ketryx's Build API can be found here.
Additionally, by clicking into the hyperlink provided under the Build column, the dependency information present in the Build can be found in the Dependencies table (as seen in the screenshot below). The specific file that was uploaded to the Build can be found by clicking on the hyperlink in the ID column of the Artifacts table. This information is particularly useful for users to find information about their original SBOM using the Build API.
Note: it’s not possible to remove a build that has already been uploaded, but it's possible to upload a new empty build with the exact same name to effectively override it.
Related to
Comments
0 comments
Article is closed for comments.