Skip to content

Commit 53caab0

Browse files
committed
Add skip_java_db_update option in harbor.yaml
1 parent 7870237 commit 53caab0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jobs/harbor/templates/config/harbor.yml

+4
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ trivy:
124124
# https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
125125
#
126126
# github_token: xxx
127+
# skipJavaDBUpdate If the flag is enabled you have to manually download the `trivy-java.db` file and mount it in the
128+
# `/home/scanner/.cache/trivy/java-db/trivy-java.db` path
129+
skip_java_db_update: false
130+
127131
jobservice:
128132
# Maximum number of job workers in job service
129133
max_job_workers: <%= p("max_job_workers") %>

0 commit comments

Comments
 (0)