Add a SBOM template in CycloneDX format

Improve supply chain security by including a SBOM file with substituted values.

This will be used to construct a composite platform SBOM.

Signed-off-by: Richard Hughes <rhughes@redhat.com>
This commit is contained in:
Richard Hughes 2024-11-21 10:48:45 +00:00 committed by Richard Hughes
parent 39904bdfe8
commit 047c93571d
No known key found for this signature in database
GPG Key ID: 17ACBA8DFA970E17

43
sbom.cdx.json Normal file
View File

@ -0,0 +1,43 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"version": 1,
"metadata": {
"authors": [
{
"name": "@VCS_SBOM_AUTHORS@"
}
]
},
"components": [
{
"type": "library",
"bom-ref": "pkg:github/google/brotli@@VCS_TAG@",
"cpe": "cpe:2.3:a:google:brotli:@VCS_TAG@:*:*:*:*:*:*:*",
"name": "Brotli",
"version": "@VCS_VERSION@",
"description": "A generic-purpose lossless compression algorithm",
"authors": [
{
"name": "@VCS_AUTHORS@"
}
],
"supplier": {
"name": "Brotli developers"
},
"licenses": [
{
"license": {
"id": "MIT"
}
}
],
"externalReferences": [
{
"type": "vcs",
"url": "https://github.com/google/brotli"
}
]
}
]
}