Upload an SBOM
The request
Part
Contents
Upload by product name
curl https://api.interlynk.io/lynkapi \
-H "Authorization: Bearer $INTERLYNK_SECURITY_TOKEN" \
-F operations='{"query":"mutation uploadSbom($doc: Upload!, $projectGroupName: String, $projectName: String) { sbomUpload(input: { doc: $doc, projectGroupName: $projectGroupName, projectName: $projectName }) { errors } }","variables":{"doc":null,"projectGroupName":"payments-service","projectName":"default"}}' \
-F map='{"0":["variables.doc"]}' \
-F 0=@my-sbom.cdx.json{
"data": {
"sbomUpload": {
"errors": []
}
}
}Upload by ID
Choosing where it goes
Input
Type
Identifies
Supported file formats
After the upload
Errors
Message
Cause
Recording build provenance
Provenance headers
Header
Meaning
From GitHub Actions
From Azure DevOps
From Bitbucket Pipelines
From any other CI
Retrying failed uploads
Which failures to retry
Failure
Retry?
Why
Option 1: curl's built-in retry
Flag
Effect
Option 2: a retry script
A note on duplicate versions
Add jitter for fleets of pipelines
Last updated