From 01a24f45567f971fe746125a766cd0aa9a082d96 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Thu, 5 Nov 2026 01:06:34 +0000 Subject: [PATCH] test(nightly): a Yocto target with only its SPDX 3.0 image document (#150) (#860) --- .../baselines/fw-yocto-spdx3-only.json | 67 +++++++++++++++++++ fixtures/nightly/targets.json | 12 ++++ 2 files changed, 79 insertions(+) create mode 100644 fixtures/nightly/baselines/fw-yocto-spdx3-only.json diff --git a/fixtures/nightly/baselines/fw-yocto-spdx3-only.json b/fixtures/nightly/baselines/fw-yocto-spdx3-only.json new file mode 100644 index 0000000..755f72e --- /dev/null +++ b/fixtures/nightly/baselines/fw-yocto-spdx3-only.json @@ -0,0 +1,67 @@ +{ + "scan_status": "completed", + "skipped_stages": [ + "malware", + "source_code" + ], + "notes": [ + "build_spdx" + ], + "sbom": [ + "yocto-recipe:base-files@3.0.14 [in image: core-image-minimal]", + "yocto-recipe:busybox@1.36.1 [in image: core-image-minimal]", + "yocto-recipe:glibc@2.39+git [in image: core-image-minimal]", + "yocto-recipe:libxml2@2.12.10 [in image: core-image-minimal]", + "yocto-recipe:openssl@3.5.9 [in image: core-image-minimal]", + "yocto-recipe:packagegroup-core-boot@1.0 [in image: core-image-minimal]" + ], + "findings": [], + "cves": [ + "CVE-2010-4756", + "CVE-2019-1010022", + "CVE-2019-1010023", + "CVE-2019-1010024", + "CVE-2019-1010025", + "CVE-2022-48174", + "CVE-2023-42363", + "CVE-2023-42364", + "CVE-2023-42365", + "CVE-2023-42366", + "CVE-2024-2961", + "CVE-2024-33599", + "CVE-2024-33600", + "CVE-2024-33601", + "CVE-2024-33602", + "CVE-2025-15281", + "CVE-2025-32414", + "CVE-2025-32415", + "CVE-2025-46394", + "CVE-2025-5702", + "CVE-2025-6021", + "CVE-2025-60876", + "CVE-2025-6170", + "CVE-2025-8732", + "CVE-2026-0861", + "CVE-2026-0915", + "CVE-2026-0989", + "CVE-2026-0990", + "CVE-2026-0992", + "CVE-2026-11979", + "CVE-2026-4046", + "CVE-2026-4437", + "CVE-2026-4438", + "CVE-2026-5435", + "CVE-2026-5450", + "CVE-2026-5928", + "CVE-2026-6238", + "CVE-2026-86137", + "CVE-2026-86138", + "CVE-2026-86139", + "CVE-2026-86140", + "CVE-2026-86141", + "CVE-2026-86142", + "CVE-2026-86143", + "CVE-2026-86144", + "license-review-pending" + ] +} diff --git a/fixtures/nightly/targets.json b/fixtures/nightly/targets.json index ae94532..801bc28 100644 --- a/fixtures/nightly/targets.json +++ b/fixtures/nightly/targets.json @@ -306,6 +306,18 @@ } } }, + { + "key": "fw-yocto-spdx3-only", + "name": "Firmware · Yocto image SPDX 3.0 only", + "target_type": "embedded_linux_yocto", + "description": "A Yocto target with nothing but what its build wrote: a trimmed Scarthgap 5.0.21 core-image-minimal image document from create-spdx-3.0, no layers. The scan runs over no source code (noted as source_code); the image's six recipes become components installed by the build, with their CPEs matched in NVD, the build's own VEX (fixed, not affected with the justification) applied, and one installed package without its element noted.", + "artifacts": [ + { + "kind": "build_output", + "upload": "fixtures/yocto/core-image-minimal-qemuarm64.rootfs.spdx3.json" + } + ] + }, { "key": "fw-zephyr-example-pinned", "name": "Firmware · Zephyr example-application (pinned source)",