Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: ashnamehrotra <[email protected]>
  • Loading branch information
ashnamehrotra committed Feb 14, 2024
1 parent 36ab31d commit d0246e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ load helpers
}

@test "Run trivy on patched image" {
docker context use "setup-docker-action"
run trivy image --exit-code 1 --vuln-type os --ignore-unfixed -f json -o opa.0.46.0-patched.json 'docker.io/openpolicyagent/opa:0.46.0-patched'
[ "$status" -eq 0 ]
vulns=$(jq 'if .Results then [.Results[] | select(.Class=="os-pkgs" and .Vulnerabilities!=null) | .Vulnerabilities[]] | length else 0 end' opa.0.46.0-patched.json)
Expand Down

0 comments on commit d0246e5

Please sign in to comment.