diff --git a/.trivyignore b/.trivyignore index d0b74a779d6..e69de29bb2d 100644 --- a/.trivyignore +++ b/.trivyignore @@ -1 +0,0 @@ -CVE-2022-29526 diff --git a/Makefile b/Makefile index 204249d0b29..fb5b904f5d5 100644 --- a/Makefile +++ b/Makefile @@ -544,8 +544,8 @@ lint-windows: .PHONY: scan scan: - trivy image --exit-code=1 --ignore-unfixed --security-checks vuln $(REGISTRY)/kube-ovn:$(RELEASE_TAG) - trivy image --exit-code=1 --ignore-unfixed --security-checks vuln $(REGISTRY)/vpc-nat-gateway:$(RELEASE_TAG) + trivy image --exit-code=1 --ignore-unfixed --scanners vuln $(REGISTRY)/kube-ovn:$(RELEASE_TAG) + trivy image --exit-code=1 --ignore-unfixed --scanners vuln $(REGISTRY)/vpc-nat-gateway:$(RELEASE_TAG) .PHONY: ut ut: