Vulnerability insights between deployments #1004
Labels
area/client
Related to the client/CLI
enhancement
New feature or request
triaged
This looks like a valid issue
I'll preface this issue by saying this. I have recently (30ish minutes ago) learned about something, and feel it could be applied here. There's a strong possibility it cannot, and would be more than happy to forget about it and move on.
rpm-ostree provides a nice security overview of vulnerabilities fixed between the current and staged deployment, which would be very handy to have here. I know bootc doesn't have (or is trying to remove?) the tight integration with the package manager, so doing this through rpm-ostree could be problematic, and need rework in the near future.
This gets me to the thing I have recently found out about - the referrers API, and attaching artifacts to OCI images (video).
In this wild idea, bootc could query the OCI registry for SBOMs of the current image and staged image. From these two SBOMs, it might be trivial to work out the diff and be able to say which packages or binaries have resolved vulnerabilities.
All logic to scan the image and detect vulnerabilities would be offboarded to specialised tooling as part of the CI process, such as syft, and bootc would need to make a couple queries to a registry and learn how to ingest and compare data from an SBOM.
application/spdx+json
, ingesting the databootc status
orbootc update
Please let me know if this is not possible, or if there are better ways to approach the problem.
Thanks,
Rob
The text was updated successfully, but these errors were encountered: