You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the vulnerability database repository is controlled by the --db-repository flag, with the default value set to ghcr.io/aquasecurity/trivy:2. Due to recent instability issues with GHCR, we have published an identical DB to ECR Public. We need to update Trivy to support multiple repository options to improve reliability and provide alternatives.
Proposed Changes
Modify the --db-repository flag to accept multiple values:
Change from --db-repository string to --db-repository strings
Trivy should try repositories one by one until successful
Set default values to include both GHCR and ECR Public repositories
Apply the same changes to the Java DB configuration
Ensure backward compatibility:
The flag should still accept a single value to avoid impacting existing users
Out of Scope
Changes to the checks bundle are not included in this issue, as it contains embedded checks. The necessity for similar modifications will be discussed separately.
The text was updated successfully, but these errors were encountered:
Background
Currently, the vulnerability database repository is controlled by the
--db-repository
flag, with the default value set to ghcr.io/aquasecurity/trivy:2. Due to recent instability issues with GHCR, we have published an identical DB to ECR Public. We need to update Trivy to support multiple repository options to improve reliability and provide alternatives.Proposed Changes
Modify the
--db-repository
flag to accept multiple values:--db-repository string
to--db-repository strings
Apply the same changes to the Java DB configuration
Ensure backward compatibility:
Out of Scope
The text was updated successfully, but these errors were encountered: