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

Fix Trivy rate limit error by pulling vulnerability DB from ECR #227

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

ben-harvey
Copy link
Contributor

We started seeing rate limit errors for Trivy when pulling the vulnerability DB from GHCR. It's a well-documented issue: aquasecurity/trivy-action#389

This change adopts a recommended workaround for that issue: Trivy started pushing the DB to ECR, and switching to that source seems to have fixed the rate-limiting problem

Testing: ran the pipeline and it succeeded.

Copy link
Contributor

@hsoule-corbalt hsoule-corbalt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ben-harvey ben-harvey merged commit 373fa21 into main Nov 15, 2024
13 checks passed
@ben-harvey ben-harvey deleted the bharvey-trivy-rate-limit branch November 15, 2024 15: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