mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 10:07:43 +01:00
89fe7b0819
Signed-off-by: He Weiwei <hweiwei@vmware.com>
3 lines
264 B
SQL
3 lines
264 B
SQL
/* Remove old version scan reports of trivy */
|
|
DELETE FROM scan_report WHERE mime_type='application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' AND registration_uuid IN (SELECT uuid FROM scanner_registration WHERE name='Trivy' AND immutable='true');
|