chainguard-dev / rumble

Data collection for base image CVEs etc.
Apache License 2.0
3 stars 8 forks source link

Increasing trivy timeout to hopefully avoid scan errors #73

Closed tdunlap607 closed 1 year ago

tdunlap607 commented 1 year ago

Increasing the Trivy timeout to 15 mins, the current default is 5 mins. We are currently seeing a "context deadline exceeded"

Based on this issue in Trivy and this comment, I think we could try passing a --timeout arg to Trivy.

Additionally, from the Trivy documentation: "Your scan may time out. Java takes a particularly long time to scan. Try increasing the value of the ---timeout option such as --timeout 15m."