@@ -38,15 +38,15 @@ jobs:
3838 # v1.19.1-debian-amd64
3939 IMAGE=$(make echo-all-images | cut -d' ' -f1|cut -d',' -f3)
4040 echo "# Scan Fluentd image with grype (filter)" >> $GITHUB_STEP_SUMMARY
41- docker run --rm anchore/grype:latest fluent/fluentd:$IMAGE --ignore-states wont-fix | jq -r '
41+ docker run --rm anchore/grype:latest fluent/fluentd:$IMAGE --ignore-states wont-fix --output json | jq -r '
4242 (["NAME","INSTALLED","FIXED IN","TYPE","VULNERABILITY","SEVERITY"] | join(" | ") | "| " + . + " |"),
4343 (["---","---","---","---","---","---"] | join(" | ") | "| " + . + " |"),
4444 (.matches[]
4545 | select(.vulnerability.severity != "Negligible")
4646 | "| \(.artifact.name) | \(.artifact.version) | \(.vulnerability.fix.versions[0] // "") | \(.artifact.type) | \(.vulnerability.id) | \(.vulnerability.severity)|")
4747 ' >> $GITHUB_STEP_SUMMARY
4848 echo "# Scan Fluentd image with grype (details)" >> $GITHUB_STEP_SUMMARY
49- docker run --rm anchore/grype:latest fluent/fluentd:$IMAGE | jq -r '
49+ docker run --rm anchore/grype:latest fluent/fluentd:$IMAGE --output json | jq -r '
5050 (["NAME","INSTALLED","FIXED IN","TYPE","VULNERABILITY","SEVERITY"] | join(" | ") | "| " + . + " |"),
5151 (["---","---","---","---","---","---"] | join(" | ") | "| " + . + " |"),
5252 (.matches[]
0 commit comments