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

Custom trivy db repository #22

Open
bl4ko opened this issue Nov 29, 2024 · 0 comments
Open

Custom trivy db repository #22

bl4ko opened this issue Nov 29, 2024 · 0 comments

Comments

@bl4ko
Copy link

bl4ko commented Nov 29, 2024

Hello, thanks for creating this pre-commit hook. Currently when running it in some environments, I run into a common trivy problem with download db:

One fix for this is to setup custom env variables when running trivy:

TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-java-db

Is there a way to implement this into this precommit hook?

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

1 participant