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

trivy-checks policy too many requests error and ECR repo is empty #431

Open
billhammond-dev opened this issue Nov 8, 2024 · 2 comments
Open

Comments

@billhammond-dev
Copy link

ERROR [misconfig] Falling back to embedded checks err="failed to download built-in policies: download error: OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-checks/manifests/1: TOOMANYREQUESTS: retry-after: 124.424µs, allowed: 44000/minute\n\n"

This is a similar issue to #389 #389

Hey folks, there seems to be an ECR repo for the checks policy but it is empty:
https://gallery.ecr.aws/aquasecurity/trivy-checks

I was able to redirect to this using the env in the action like so:
env:
TRIVY_CHECKS_BUNDLE_REPOSITORY: public.ecr.aws/aquasecurity/trivy-checks

But obviously nothing is there to download.

Right now this is killing any pipelines requiring the policies to be downloaded

@billhammond-dev
Copy link
Author

forcing a version seems to work here:
version: "v0.57.0"
in the with: section.

I

@RainbowMango
Copy link

See #389

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

No branches or pull requests

2 participants