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

Merge pull request #650 from hughsie/hughsie/sbom

Add a SBOM template in CycloneDX format
This commit is contained in:
Arseny Kapoulkine 2024-11-29 08:04:18 -08:00 committed by GitHub
commit 4bc14418d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"
}
]
}
]
}