Skip to content

Commit 752afbf

Browse files
committed
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 <[email protected]>
1 parent 8c3038f commit 752afbf

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

scripts/sbom.cdx.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"bomFormat": "CycloneDX",
3+
"specVersion": "1.6",
4+
"version": 1,
5+
"metadata": {
6+
"authors": [
7+
{
8+
"name": "@VCS_SBOM_AUTHORS@"
9+
}
10+
]
11+
},
12+
"components": [
13+
{
14+
"type": "library",
15+
"bom-ref": "pkg:github/zeux/pugixml@@VCS_TAG@",
16+
"cpe": "cpe:2.3:a:pugixml_project:pugixml:@VCS_TAG@:*:*:*:*:*:*:*",
17+
"name": "pugixml",
18+
"version": "@VCS_VERSION@",
19+
"description": "C++ XML processing library",
20+
"supplier": {
21+
"name": "pugixml developers"
22+
},
23+
"authors": [
24+
{
25+
"name": "@VCS_AUTHORS@"
26+
}
27+
],
28+
"licenses": [
29+
{
30+
"license": {
31+
"id": "MIT"
32+
}
33+
}
34+
],
35+
"externalReferences": [
36+
{
37+
"type": "website",
38+
"url": "https://pugixml.org/"
39+
},
40+
{
41+
"type": "vcs",
42+
"url": "https://github.com/zeux/pugixml"
43+
}
44+
]
45+
}
46+
]
47+
}

0 commit comments

Comments
 (0)