Replies: 1 comment 2 replies
-
I don't think this issue is related to Trivy. Most likely the way you are running your pre-commit hook or the environment it is running in is the cause of the error, which is making Trivy fallback to embedded policies. |
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
We are running the trivy pre-commit hook like this:
And we are intermittently seeing this:
NOTE: It usually passes on retry
Desired Behavior
No error
Actual Behavior
Error (see above)
Reproduction Steps
Target
Git Repository
Scanner
Vulnerability
Output Format
None
Mode
None
Debug Output
Operating System
Debian
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions