test(nightly): a Yocto layer with its build's SPDX and cve-check (#150) #856

Merged
sharang merged 2 commits from test/nightly-yocto-build into main 2026-11-04 23:35:37 +00:00
2 changed files with 79 additions and 0 deletions

No files matched your search

@@ -0,0 +1,53 @@
{
"scan_status": "completed",
"skipped_stages": [
"firmware_sbom",
"malware"
],
"notes": [
"build_spdx",
"image_install"
],
"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:libmodbus@3.1.6 [in image: pump-image]",
"yocto-recipe:openssl@3.5.9 [in image: core-image-minimal]",
"yocto-recipe:packagegroup-core-boot@1.0 [in image: core-image-minimal]",
"yocto-recipe:pump-ctl@1.0 [in image: pump-image]",
"yocto-recipe:pump-fw@1.0",
"yocto-recipe:pump-web@2.1 [in image: pump-image]"
],
"findings": [
"oelint-adv:oelint.task.network pump-web_2.1.bb:8",
"oelint-adv:oelint.var.badimagefeature.allow-empty-password pump-image.bb:7",
"oelint-adv:oelint.var.badimagefeature.debug-tweaks pump-image.bb:8",
"oelint-adv:oelint.vars.autorev pump-fw_git.bb:6",
"oelint-adv:oelint.vars.srcurichecksum pump-web_2.1.bb:6",
"yocto-config:yocto-distro-no-security-flags pump-distro.conf:1",
"yocto-config:yocto-extrausers-password pump-image.bb:13",
"yocto-config:yocto-src-uri-http pump-web_2.1.bb:6",
"yocto-config:yocto-sshd-root-login sshd_config:3"
],
"cves": [
"CVE-2022-0367",
"CVE-2022-48174",
"CVE-2023-42363",
"CVE-2023-42364",
"CVE-2023-42365",
"CVE-2023-42366",
"CVE-2024-36843",
"CVE-2024-36844",
"CVE-2024-36845",
"CVE-2025-46394",
"CVE-2025-60876",
"license-review-pending",
"yocto-release-eol"
],
"layer_pins": [
"git_submodule meta-security dunfell@-",
"kas meta-openembedded dunfell@-",
"kas poky dunfell@0b1f2c3d4e5f60718293a4b5c6d7e8f901234567"
],
"yocto_release": "dunfell"
}
+26
View File
@@ -280,6 +280,32 @@
}
}
},
{
"key": "fw-yocto-built",
"name": "Firmware · Yocto layer with build output",
"target_type": "embedded_linux_yocto",
"description": "The Yocto layer of fw-yocto-layer plus what a build wrote about its image: a trimmed scarthgap 5.0.21 core-image-minimal SPDX archive (create-spdx) and its cve-check report. The build's components join the recipe inventory by recipe name (busybox 1.35.0 in the layer, 1.36.1 built), marked as installed by the build; recipes only the build lists (openssl, base-files, the package group) are added; CVEs the build's patches fixed and Yocto's own Patched/Ignored verdicts become VEX statements; CVEs cve-check found unpatched are alerts; one package of the image without its document is noted.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/yocto-layer"
},
{
"kind": "build_output",
"upload": "fixtures/yocto/core-image-minimal-qemuarm64.rootfs.spdx.tar.zst"
},
{
"kind": "build_output",
"upload": "fixtures/yocto/core-image-minimal-qemuarm64.rootfs.cve.json"
}
],
"expect": {
"detected_facts": {
"build_system": "bitbake",
"yocto_layer": "."
}
}
},
{
"key": "fw-zephyr-example-pinned",
"name": "Firmware · Zephyr example-application (pinned source)",