Add a SBOM file 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 <richard@hughsie.com>
This commit is contained in:
Richard Hughes 2024-11-15 11:59:15 +00:00
parent 5d2b15472f
commit 55441f12d2
No known key found for this signature in database
GPG key ID: 17ACBA8DFA970E17

40
contrib/sbom.cdx.json Normal file
View file

@ -0,0 +1,40 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"version": 1,
"metadata": {
"authors": [
{
"name": "@VCS_SBOM_AUTHORS@"
}
]
},
"components": [
{
"type": "library",
"bom-ref": "pkg:github/libtom/libtomcrypt@@VCS_TAG@",
"cpe": "cpe:2.3:a:libtom:libtomcrypt:@VCS_TAG@:*:*:*:*:*:*:*",
"name": "libtomcrypt",
"version": "@VCS_VERSION@",
"description": "Modular and portable cryptographic toolkit",
"authors": [
{
"name": "libtomcrypt developers"
}
],
"licenses": [
{
"license": {
"id": "Unlicense"
}
}
],
"externalReferences": [
{
"type": "vcs",
"url": "https://github.com/libtom/libtomcrypt"
}
]
}
]
}