-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
scan image with --list-all-pkgs
flag has missing os installed files with in the report
#5857
Comments
I'm still debugging this issue, but it looks like the installed files need to be handled similarly to licenses since dpkg has separate files for installed files, unlike apk and rpm. trivy/pkg/fanal/applier/docker.go Lines 187 to 206 in 1f0d629
|
I'm sorry I forgot to look into it. |
@DmitriyLewen Do you think we can polish the existing PR from Chen? Or should we create a new PR? |
Chen and my PR are different. |
when running a simple scan:
OS packages installed files are detected from each layer and apply it to map
Each layer has different installed files on packages.
Since the map key is the same
var/lib/dpkg/status/type:ospkg
for os packages then it get overwritten by the different layersThe text was updated successfully, but these errors were encountered: