Enable Harbor Default Scanner' during OVA deployment.Interrogation Services of Harbor administrative portal.Harbor OVA 2.x
NOTE: take snapshot or backup before implement below steps.
To install trivy after Harbor OVA deployment:
# cd /etc/goharbor/harbor# docker-compost down
# ./prepare --with-trivy# grep -i trivy docker-compose.yml trivy-adapter: container_name: trivy-adapter image: vmware.io/goharbor/trivy-adapter-photon:v2.10.3_vmware.1 source: /storage/data/trivy-adapter/trivy target: /home/scanner/.cache/trivy source: /storage/data/trivy-adapter/reports tag: "trivy-adapter" ./common/config/trivy-adapter/env# docker-compose up -dWARN[0000] /etc/goharbor/harbor/docker-compose.yml: `version` is obsolete [+] Running 11/11 Network harbor_harbor Created Container harbor-log Started Container redis Started Container registryctl Started Container harbor-db Started Container harbor-portal Started Container registry Started Container trivy-adapter Started Container harbor-core Started Container harbor-jobservice Started Container nginx Started