Skip to content

Commit

Permalink
feat(security): parse JSON scan results into markdown table
Browse files Browse the repository at this point in the history
Keep JSON output for New Relic integration while adding JQ-based parsing to generate readable table format for PR comments
  • Loading branch information
bilals12 committed Dec 11, 2024
1 parent f821a59 commit adafa8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container-scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ runs:
jq -r '.cve | "| Medium | \(.medium_vulnerabilities) | \(.fixable_vulnerabilities) | 0 |"' results.stdout >> pr-results.md
jq -r '.cve | "| Low | \(.low_vulnerabilities) | \(.fixable_vulnerabilities) | 0 |"' results.stdout >> pr-results.md
jq -r '.cve | "| Info | \(.info_vulnerabilities) | \(.fixable_vulnerabilities) | 0 |"' results.stdout >> pr-results.md
shell: bash

- name: Check for Previous Report Comment
id: find-comment
Expand Down

0 comments on commit adafa8f

Please sign in to comment.