From c7d46b2aa1a4f5b41d49fca60d8970f63381f243 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 22 Nov 2024 11:38:34 +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 --- docs/sbom.cdx.json | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/sbom.cdx.json diff --git a/docs/sbom.cdx.json b/docs/sbom.cdx.json new file mode 100644 index 000000000000..d53e41e82f48 --- /dev/null +++ b/docs/sbom.cdx.json @@ -0,0 +1,52 @@ +{ + "bomFormat": "CycloneDX", + "specVersion": "1.6", + "version": 1, + "metadata": { + "authors": [ + { + "name": "@VCS_SBOM_AUTHORS@" + } + ] + }, + "components": [ + { + "type": "library", + "bom-ref": "pkg:github/pyca/cryptography@@VCS_TAG@", + "cpe": "cpe:2.3:a:cryptography.io:cryptography:@VCS_TAG@:*:*:*:*:python:*:*", + "name": "Python Cryptography", + "version": "@VCS_VERSION@", + "description": "Cryptographic standard library for Python", + "authors": [ + { + "name": "@VCS_AUTHORS@" + } + ], + "supplier": { + "name": "cryptography.io" + }, + "licenses": [ + { + "license": { + "id": "Apache-2.0" + } + }, + { + "license": { + "id": "BSD-3-Clause" + } + } + ], + "externalReferences": [ + { + "type": "website", + "url": "https://cryptography.io/en/latest/" + }, + { + "type": "vcs", + "url": "https://github.com/pyca/cryptography" + } + ] + } + ] +}