Replies: 1 comment
-
We have an issue to improve file analysis in Trivy #4182 - we will keep your suggestion in mind when working on it. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If Dockerfiles are written as
dockerfile
(small letter d instead of capital), $ trivy config will ignore them. While it is best practice to name these files with a capital d, if this error is made then automatic detection and misconfiguration scanning is missed.Desired Behavior
Trivy in config mode should automatically detect all Dockerfiles and dockerfiles regardless of case.
Actual Behavior
Dockerfiles with a small letter d are ignored and not scanned.
Reproduction Steps
dockerfile
:$ trivy config dockerfile
or$ trivy config .
Target
None
Scanner
Misconfiguration
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Linux
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions