-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
trivy scan results are unstable even when air-gapped #1233
Comments
the issue seems to be that scan isn't air-gapped and doesn't fail on network errors
|
this seems to be the line that says - something failed in analyzer - great, let's report scan target is clean |
another thing to consider is moving sha1->artifactid resolution inside trivy db (how much data is that?)
|
workaround for java would be to use some other tool (github security scan for example) |
sadly |
also related #1191 |
Allows disabling analyzers from outside. Mainly to disable jar analyzer which can go to network which may be undesired and introduce scan flakiness. But sounds generic enough to have other uses too. related to aquasecurity#1191 and aquasecurity#1233
This issue is stale because it has been labeled with inactivity. |
this is still an issue with trivy 0.34.0 |
Description
this script can run for tens of iterations reporting a finding in the image until on one of the runs it says image is cve-free.
There are no concurrent trivy invocations running, db updates are disabled and image tar is fixed, each scan takes around 6 seconds, so not a timeout issue either.
What did you expect to happen?
scan results should be reproducible
What happened instead?
scan results are flaky
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
The text was updated successfully, but these errors were encountered: