Skip to content

Commit

Permalink
feat: expose trivy.timeout to configure the duration to wait for sc…
Browse files Browse the repository at this point in the history
…an completion

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
  • Loading branch information
Shengwen Yu committed Apr 10, 2024
1 parent a858fb4 commit 23d6364
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions make/harbor.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ trivy:
#
# insecure The flag to skip verifying registry certificate
insecure: false
#
# timeout The duration to wait for scan completion.
# There is upper bound of 30 minutes defined in scan job. So if this `timeout` is larger than 30m0s, it will also timeout at 30m0s.
timeout: 5m0s
#
# github_token The GitHub access token to download Trivy DB
#
# Anonymous downloads from GitHub are subject to the limit of 60 requests per hour. Normally such rate limit is enough
Expand Down

0 comments on commit 23d6364

Please sign in to comment.