harbor-scanner-trivy
harbor-scanner-trivy copied to clipboard
how to skip java db update when scanning start
when I push a image named nginx, the scanning was triggered, and failed after 10 minutes. the error logs shows java db update failed. I deploy trivy in the private network. the server can't connect to the internet. I update the db manually. I also opened the config "SCANNER_TRIVY_SKIP_UPDATE". is there any config setting to skip the java db update?
What did you expect to happen:
--skip-java-db-update when scanning
Anything else you would like to add:
no
Environment:
- Harbor version:2.8.3
- Harbor Scanner Adapter for Trivy version:2.8.3-debian-11-r18
- Harbor installation process (Installer script, Helm chart, etc.): helm chart