Closed ahmedelnaggartmr closed 1 year ago
We're experiencing the same issue, started out of blue today with no configuraton changes. Extra info: we're using the official Trivy task for Azure DevOps ( https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-official ) - although in the documentation it's mentioned that it defaults to "latest" version if no version is specified the pipeline run uses v0.38.2 - hope this helps
Same issue here .. also out of the blue since today morning. I was using trivy v0.38.3
and an upgrade to v0.40.0
didn't help.
Seems to be this rule https://github.com/aquasecurity/defsec/blame/master/rules/cloud/policies/aws/autoscaling/asg_multiaz.rego which was released 7 hours ago https://github.com/aquasecurity/defsec/releases/tag/v0.87.0
We're sorry for the inconvenience. We've rolled back misconfiguration policies. Could you guys try scanning again? https://github.com/aquasecurity/defsec/issues/1296
Seems to work now. Thank you!
works like a charm again. Thanks for the prompt help 😄
I am still getting the very same errors.
@zadigus Would you try trivy config --clear-cache
?
Now for a scan that used to take 30 seconds, it takes forever and breaks with a timeout. After timeout, if I run the same cli command again, it works. So now I need to the tool twice. Even on our CI/CD.
Now for a scan that used to take 30 seconds, it takes forever and breaks with a timeout. After timeout, if I run the same cli command again, it works. So now I need to the tool twice. Even on our CI/CD.
Might be a GitHub issue (see the timeout trivy pulling from ghcr.io): https://www.githubstatus.com/
Update - Packages is now experiencing degraded availability. We are continuing to investigate.
@zadigus Would you try
trivy config --clear-cache
?
Did not work for me, but removing the cache-dir from filesystem helped
I have it working now. Thanks for everything.
@zadigus Would you try
trivy config --clear-cache
?Did not work for me, but removing the cache-dir from filesystem helped
I've added the support for this here: https://github.com/aquasecurity/trivy/pull/4167
Marking as complete as this particular issue has been resolved.
Description
When running
I get the following errors:
What did you expect to happen?
The scan to complete
What happened instead?
An error occurred.
Output of run with
--debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
This started happening recently around a few hours ago. Not sure if this is related.