Skip to content

Commit

Permalink
Merge pull request #650 from hughsie/hughsie/sbom
Browse files Browse the repository at this point in the history
Add a SBOM template in CycloneDX format
  • Loading branch information
zeux authored Nov 29, 2024
2 parents 8c3038f + 752afbf commit 4bc1441
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions scripts/sbom.cdx.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}

0 comments on commit 4bc1441

Please sign in to comment.