]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
classes/sbom-cve-check: add summary export type
authorRoss Burton <ross.burton@arm.com>
Wed, 1 Apr 2026 16:54:47 +0000 (17:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Apr 2026 12:10:36 +0000 (13:10 +0100)
Add an export type for the human-readable summary report.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/sbom-cve-check.bbclass

index f9f646110048301a79381168adaf888f842d318f..6c62a5119dea5522dc99f4eda06814572016fbaa 100644 (file)
@@ -36,6 +36,13 @@ SBOM_CVE_CHECK_EXPORT_CVECHECK[doc] = "Export configuration to generate a JSON m
 SBOM_CVE_CHECK_EXPORT_CVECHECK[type] ?= "yocto-cve-check-manifest"
 SBOM_CVE_CHECK_EXPORT_CVECHECK[ext] ?= ".sbom-cve-check.yocto.json"
 
+SBOM_CVE_CHECK_EXPORT_SUMMARY[doc] = "Export configuration to generate a human-readable \
+    summary report, with the following name: \
+    ${IMAGE_NAME}.cve.txt \
+"
+SBOM_CVE_CHECK_EXPORT_SUMMARY[type] ?= "summary"
+SBOM_CVE_CHECK_EXPORT_SUMMARY[ext] ?= ".cve.txt"
+
 python do_sbom_cve_check() {
     """
     Task: Run sbom-cve-check analysis on SBOM.