]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add a SBOM template in CycloneDX format
authorRichard Hughes <rhughes@redhat.com>
Thu, 21 Nov 2024 11:10:11 +0000 (11:10 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 3 Apr 2025 07:11:29 +0000 (09:11 +0200)
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)

doc/sbom.cdx.json [new file with mode: 0644]

diff --git a/doc/sbom.cdx.json b/doc/sbom.cdx.json
new file mode 100644 (file)
index 0000000..f340942
--- /dev/null
@@ -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"
+        }
+      ]
+    }
+  ]
+}