Skip to content

Commit

Permalink
chore: updates trivy command
Browse files Browse the repository at this point in the history
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
  • Loading branch information
nilekhc committed Jan 31, 2022
1 parent 899d3ed commit ccb9fa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -158,11 +158,11 @@ sanity-test:
.PHONY: image-scan
image-scan: $(TRIVY)
# show all vulnerabilities
$(TRIVY) --severity MEDIUM,HIGH,CRITICAL $(IMAGE_TAG)
$(TRIVY) --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
$(TRIVY) image --severity MEDIUM,HIGH,CRITICAL $(IMAGE_TAG)
$(TRIVY) image --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
# show vulnerabilities that have been fixed
$(TRIVY) --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(IMAGE_TAG)
$(TRIVY) --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
$(TRIVY) image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(IMAGE_TAG)
$(TRIVY) image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)

## --------------------------------------
## Tooling Binaries
Expand Down

0 comments on commit ccb9fa4

Please sign in to comment.