When scanning an image I would like to match to know existing images, and layers, and in particular base images. For this we need to:
The purpose of this is that when we want to figure out vulnerabilities, we can first work on the base images, patch the vulnerabilities, and then reuse that patched base image throughout.
On the scanning side, we can then identify quickly if the image we have is patched or not, without having to review the vulnerabilities of possibly thousand packages with million vulnerabilities across thousand repos.
The base images should be collected for indexing from the public docker hub registry or other public registries or a private registry, possibly filtered only on the base images.
These are related issues and code:
And @Hritik14 's :
When scanning an image I would like to match to know existing images, and layers, and in particular base images. For this we need to:
The purpose of this is that when we want to figure out vulnerabilities, we can first work on the base images, patch the vulnerabilities, and then reuse that patched base image throughout.
On the scanning side, we can then identify quickly if the image we have is patched or not, without having to review the vulnerabilities of possibly thousand packages with million vulnerabilities across thousand repos.
The base images should be collected for indexing from the public docker hub registry or other public registries or a private registry, possibly filtered only on the base images.
These are related issues and code:
And @Hritik14 's :