Skip to content

Make Trivy's dbRepository and javaDbRepository configurable #1821

@benji78

Description

@benji78

Currently, dbRepository and javaDbRepository cannot be configured in Harbor and the alternative it is to have a runner regularly execute the following commands on the Trivy pods:

trivy image --download-db-only --db-repository registry.example.com/aquasecurity/trivy-db
trivy image --download-java-db-only --java-db-repository registry.example.com/aquasecurity/trivy-java-db

I probably should mention that the official Trivy helm chart does have a configurable dbRepository but not javaDbRepository (which has been added with trivy#3595).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions