Skip to content

Custom trivy db repository #22

Description

@bl4ko

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions