feat: link scanner technology in Methods and add per-unit CycloneDX SBOM deliverable #11
Loading…
Reference in a new issue
No description provided.
Delete branch "fm/dse-security-reports-scanner-link"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Two captain asks (2026-10-26), folded into one PR:
reports/defender-triage.typ, bullet stays exactly one bullet, same sentence style): visible#link()s for the trivy homepage (https://trivy.dev) and the project repository (https://github.com/aquasecurity/trivy), plus the SBOM standard (https://cyclonedx.org) next to them, and a statement that the per-unit CycloneDX SBOM is produced as a standalone deterministic artifact viajust sbom.just sbomrecipe (scripts/sbom_trivy.sh) that generates a CycloneDX 1.7 SBOM per Linux unit from the SSH evidence inventories using trivy (trivy sbom --format cyclonedx --scanners vulnagainst the cached DB, offline,--skip-db-update), writing to gitignored.local/sbom/<machine>.json— same cache rules asjust scan. trivy's cyclonedx output embeds three run-time values (scanmetadata.timestamp, randomserialNumber, random OS-componentbom-ref), soscripts/normalize_cyclonedx.pyreplaces them with deterministic DB-tied stand-ins (DBUpdatedAt, uuid5 over machine+DB date,os:alma-<major>) and stable-sorts components and vulnerability affects. The input-SBOM builder is factored out ofscan_trivy.shinto the sharedscripts/build_cyclonedx_sbom.py.Proof
just sbomrun twice end-to-end: all 7 SBOMs byte-identical across runs; output is a valid CycloneDX 1.7 document (purl bom-refs, vulnerability affects, uuid5 serial, DB-tied timestamp).just ingest+just triage): two consecutive renders byte-identical; links are PDF annotations only, no network access at render time — determinism unchanged. Fixture lane (just all) also green.just test(21 passed),just lint,just fmtgreen. Nothing real committed (.local/is gitignored).Note: re-running
just scanagainst the trivy DB re-fetched today drifts detections vs. the archived scans (advisory updates, e.g. CVE-2026-2673); the archived.local/scans/cache a report run was produced from stays authoritative. Recorded in AGENTS.md.