This was initially proposed by Richard Purdie on https://bugzilla.yoctoproject.org/show_bug.cgi?id=14419 The question was: "How to check for vulnerabilities in my image without regenerating it, and without runing "bitbake -c cve_check" on individual package names?" His answer was: "Ultimately we will generate an SBOM/manifest with the image and it would be good if we could run a new check of that manifest against the CVEs. That isn't currently implemented but should be and should perhaps be a new bug?" Such a check would definitely be useful for production project maintainers, and will for sure be recommended in our manuals.
"bitbake core-image-minimal --runall cve_check" will do that.