-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Description
Harbor uses Trivy to scan artifacts for CVEs, relying on a CVE database that is regularly downloaded from the network.
Currently, the "scan all" function does not consider the state of the database when deciding whether to perform a scan. I suggest storing metadata about the CVE database and comparing it before running a "scan all" operation. This way, we can avoid unnecessary scans and reduce the overall execution time.