Skip to content
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

Specify Trivy DB repository #9

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

dontseyit
Copy link
Member

@dontseyit dontseyit commented Nov 21, 2024

There are these discussions about the Trivy issue where it fails when downloading DB from the default repository: aquasecurity/trivy#7668 and aquasecurity/trivy-action#389.

There is a PR recently merged: aquasecurity/trivy-action#433 This should solve the issue when released, but also specifying an alternative DB increases the robustness of this step. aquasecurity/trivy#7668 (comment) If you specify multiple DB repositories, Trivy retries the next one if the primary repository fails. There are three repositories for Trivy DB, and they are updated every 6 hours together.

Already applied and tested in monorepo: ghga-de/file-services-backend#72

@ckaipf ckaipf merged commit 0f8fcdb into main Nov 21, 2024
@ckaipf ckaipf deleted the feature/update-trivy-db-repositories branch November 21, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants