Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we do docker layer wise scan for vulnerability detection #465

Closed
suhalvemu opened this issue Aug 7, 2023 · 4 comments
Closed

Can we do docker layer wise scan for vulnerability detection #465

suhalvemu opened this issue Aug 7, 2023 · 4 comments
Labels
enhancement Add a new feature

Comments

@suhalvemu
Copy link

What would you like to be added:
At each layer if there any vulnerabilities present at the time of scanning we can show/display the CVE ID's for better vulnerability detection

Why is this needed:
It gives the health of image and helps us with better information in vulnerability scanning.
Additional context:

@suhalvemu suhalvemu added the enhancement Add a new feature label Aug 7, 2023
@ecki
Copy link

ecki commented Aug 10, 2023

hm, dont think dive has a CVE scanner?
Anyway, what you ask for is implemented in trivy and docker scout.

@suhalvemu
Copy link
Author

Actually Trivy does not support layer wise scanning. I am not sure about docker scout. But since we are able to show what is present in layers of docker, can we integrate trivy and provide a feature for showing CVE at each layer.

@ecki
Copy link

ecki commented Aug 14, 2023

Scout has layer scanning. The problem is not the layers, the problem is the scanning. You would need the logic to detect packages and even worse you needs useful CVE database. I think that is not on the scope of dive, but I could be wrong :)

@suhalvemu
Copy link
Author

makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants