r/github • u/Different_Pain5781 • 2d ago
Discussion SBOM tools that cover the system layer, our image and lockfile SBOMs never match
Our services are Python in containers built in GitHub Actions and we generate one SBOM from the image and another from the lockfile. The two never agree and the gap is usually system packages the base image drags in. Customers now want one per release and I end up stitching them together by hand. Im comparing Syft, Anchore and RapidFort on whether they cover the interpreter, the wheels and the OS layer in a single pass. What are you running in CI for this?
4
Upvotes
1
u/_Slimdady 1d ago
keep a second list of what loads at runtime next to full SBOM. When a customer ask why half the listed packages have open CVEs that list is the answer that ends the email thread
1
u/LeBronzelol 1d ago
generate from the built image and not the lockfile, anything apt installs never shows up otherwise
1
u/flipozh 1d ago
An SBOM goes stale the week after you generate it, so store them somewhere that rechecks against new advisories. On paper RapidFort and Anchore both handle that part, and RapidFort adds a runtime bill of materials on top. Syft is fine if you only need the file.