Skip error files in file walk for registry scan(image) #4856
varanasikalyan
started this conversation in
Bugs
Replies: 1 comment 2 replies
-
Is it reproducible? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
While doing a file walk with image scan(registry scan). I see we stop the scan with err when we couldn't open any file.
Desired Behavior
I expected the scan should continue even when there is an err while opening the file.
Actual Behavior
scan failed with an err stating couldn't open file
Reproduction Steps
This issue happens when we perform image scan for an windows based image especially large windows images.
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
windows
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions