From 19638418d0c0418c71ce69742489c418e3afed22 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 3 Dec 2024 18:46:32 +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 --- scripts/sbom.cdx.json | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 scripts/sbom.cdx.json diff --git a/scripts/sbom.cdx.json b/scripts/sbom.cdx.json new file mode 100644 index 000000000..2ef7c8533 --- /dev/null +++ b/scripts/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/Mbed-TLS/mbedtls@@VCS_TAG@", + "cpe": "cpe:2.3:a:trustedfirmware:mbed_tls_framework:@VCS_TAG@:*:*:*:*:*:*:*", + "name": "mbedtls-framework", + "version": "@VCS_VERSION@", + "description": "Version-independent build and test framework for TF-PSA-Crypto and Mbed TLS", + "authors": [ + { + "name": "@VCS_AUTHORS@" + } + ], + "supplier": { + "name": "Trusted Firmware" + }, + "licenses": [ + { + "license": { + "id": "Apache-2.0" + } + }, + { + "license": { + "id": "GPL-2.0-or-later" + } + } + ], + "externalReferences": [ + { + "type": "vcs", + "url": "https://github.com/Mbed-TLS/mbedtls-framework" + } + ] + } + ] +}