0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-25 11:50:50 +08:00

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 <richard@hughsie.com>
This commit is contained in:
Richard Hughes 2024-11-25 14:18:32 +00:00
parent 8c3038f9c8
commit 752afbf4df
No known key found for this signature in database
GPG Key ID: 17ACBA8DFA970E17

47
scripts/sbom.cdx.json Normal file
View File

@ -0,0 +1,47 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"version": 1,
"metadata": {
"authors": [
{
"name": "@VCS_SBOM_AUTHORS@"
}
]
},
"components": [
{
"type": "library",
"bom-ref": "pkg:github/zeux/pugixml@@VCS_TAG@",
"cpe": "cpe:2.3:a:pugixml_project:pugixml:@VCS_TAG@:*:*:*:*:*:*:*",
"name": "pugixml",
"version": "@VCS_VERSION@",
"description": "C++ XML processing library",
"supplier": {
"name": "pugixml developers"
},
"authors": [
{
"name": "@VCS_AUTHORS@"
}
],
"licenses": [
{
"license": {
"id": "MIT"
}
}
],
"externalReferences": [
{
"type": "website",
"url": "https://pugixml.org/"
},
{
"type": "vcs",
"url": "https://github.com/zeux/pugixml"
}
]
}
]
}