-
Notifications
You must be signed in to change notification settings - Fork 141
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
Scanning ubuntu:22.04 failed #220
Comments
@dtfans Thank you for the report. dockle/pkg/assessor/manifest/manifest.go Line 173 in 3fbe4cf
I will fix it. |
Just had the same issue.
|
@tomoyamachi are you going to address it soon? |
@tomoyamachi we can probably have a similar logic to trivy - |
@dtfans @lior-orca @loganmarchione Trivy has the same problem as dockle.
We can see that after the base image( Dockle does not understand whether a container image is official or not, and it only evaluates based on whether the container image is built according to best practices. |
@tomoyamachi what prevents us from "guessing" the base layer, similar to trivy, which will resolve the issue Trivy has similar issues opened, and I'm sure they will handle it over time |
@lior-orca I'm sorry. I was wrong. |
I scanned ubuntu:22.04 and got
This problem does not occur in ubuntu:jammy-20221130, even though it also has a "ADD file ... in /" layer.
But there were some new layers added to the latest ubuntu:22.04 image build (a.k.a ubuntu:jammy-20230126),
then we got CIS-DI-0009 from dockle.
It looks like a false alarm to me, since those "ARG" and "LABEL" layers are unlikely cause security issues, aren't them?
The text was updated successfully, but these errors were encountered: