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 <rhughes@redhat.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26020)
This commit is contained in:
Richard Hughes 2024-11-21 11:10:11 +00:00 committed by Richard Levitte
parent 196b36f0d0
commit 6545de9bbe
1 changed files with 48 additions and 0 deletions

48
doc/sbom.cdx.json Normal file
View File

@ -0,0 +1,48 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"version": 1,
"metadata": {
"authors": [
{
"name": "@VCS_SBOM_AUTHORS@"
}
]
},
"components": [
{
"type": "library",
"bom-ref": "pkg:github/openssl/openssl@@VCS_TAG@",
"cpe": "cpe:2.3:a:openssl:openssl:@VCS_TAG@:*:*:*:*:*:*:*",
"name": "OpenSSL",
"version": "@VCS_VERSION@",
"description": "TLS/SSL and crypto library",
"authors": [
{
"name": "@VCS_AUTHORS@",
"url": "https://raw.githubusercontent.com/openssl/openssl/refs/heads/master/AUTHORS.md"
}
],
"supplier": {
"name": "The OpenSSL Project"
},
"licenses": [
{
"license": {
"id": "Apache-2.0"
}
}
],
"externalReferences": [
{
"type": "website",
"url": "https://www.openssl.org/"
},
{
"type": "vcs",
"url": "https://github.com/openssl/openssl"
}
]
}
]
}