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

Add support for trivy dbRepository and javaDBRepository #1857

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benji78
Copy link

@benji78 benji78 commented Nov 11, 2024

This adds support for custom trivy dbRepository and javaDBRepository which was made possible through SCANNER_TRIVY_DB_REPOSITORY and SCANNER_TRIVY_JAVA_DB_REPOSITORY environment variables added in goharbor/harbor-scanner-trivy/pull/3.

Closes #1821

Copy link
Member

@Vad1mo Vad1mo left a comment

Choose a reason for hiding this comment

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

can you point me to the upstream Trviy documentation?

I can't find anything related to SCANNER_TRIVY_DB_REPOSITORY in trivy.

@benji78
Copy link
Author

benji78 commented Nov 12, 2024

Here is the documentation for --db-repository and --java-db-repository. I added the environment variables in harbor-scanner-trivy through the mentioned pull request.

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.

Make Trivy's dbRepository and javaDbRepository configurable
2 participants