From 13d041626c066b518d07a13b0822f25f992316cc Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 9 Dec 2024 13:23:08 +0000 Subject: [PATCH] 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 --- doc/sbom.cdx.json | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/sbom.cdx.json diff --git a/doc/sbom.cdx.json b/doc/sbom.cdx.json new file mode 100644 index 00000000..14be33db --- /dev/null +++ b/doc/sbom.cdx.json @@ -0,0 +1,48 @@ +{ + "bomFormat": "CycloneDX", + "specVersion": "1.6", + "version": 1, + "metadata": { + "authors": [ + { + "name": "@VCS_SBOM_AUTHORS@" + } + ] + }, + "components": [ + { + "type": "library", + "bom-ref": "pkg:github/google/wuffs@@VCS_TAG@", + "cpe": "cpe:2.3:a:google:wuffs:@VCS_TAG@:*:*:*:*:*:*:*", + "name": "Wuffs", + "version": "@VCS_VERSION@", + "description": "A memory-safe programming language for Wrangling Untrusted File Formats Safely", + "authors": [ + { + "name": "@VCS_AUTHORS@" + } + ], + "supplier": { + "name": "Google" + }, + "licenses": [ + { + "license": { + "id": "MIT" + } + }, + { + "license": { + "id": "Apache-2.0" + } + } + ], + "externalReferences": [ + { + "type": "vcs", + "url": "https://github.com/google/wuffs" + } + ] + } + ] +}