File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ jobs:
236236 echo "" >> $GITHUB_STEP_SUMMARY
237237 echo "| Severity | Rule | Location | Message |" >> $GITHUB_STEP_SUMMARY
238238 echo "|----------|------|----------|---------|" >> $GITHUB_STEP_SUMMARY
239- jq -r '.runs[0].results[] | "| \(.level // "warning") | \(.ruleId // "unknown") | `\(.locations[0].physicalLocation.artifactLocation.uri // "unknown"):\(.locations[0].physicalLocation.region.startLine // "?")` | \(.message.text | gsub("\n"; " ") | gsub("\\|"; "\\\\|") | .[0:80 ]) |"' trivy-results.sarif >> $GITHUB_STEP_SUMMARY
239+ jq -r '.runs[0].results[] | "| \(.level // "warning") | \(.ruleId // "unknown") | `\(.locations[0].physicalLocation.artifactLocation.uri // "unknown"):\(.locations[0].physicalLocation.region.startLine // "?")` | \(.message.text | gsub("\n"; " ") | gsub("\\|"; "\\\\|") | .[0:120 ]) |"' trivy-results.sarif >> $GITHUB_STEP_SUMMARY
240240 echo "" >> $GITHUB_STEP_SUMMARY
241241 echo "</details>" >> $GITHUB_STEP_SUMMARY
242242 fi
You can’t perform that action at this time.
0 commit comments