We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a8c5f commit cf660bfCopy full SHA for cf660bf
.github/workflows/checkmarx.yaml
@@ -89,7 +89,7 @@ jobs:
89
- name: Filter out repo level issues that github can't handle
90
run: |
91
mv ./cx_result.sarif ./cx_result.sarif.orig
92
- jq '. | .runs[0].results |= map(select(.locations[0].physicalLocation.artifactLocation.uri != ""))' cx_result.sarif.orig > cx_result.sarif
+ jq '.runs |= map(.results |= map(.locations |= map(if .physicalLocation.artifactLocation.uri == "" then .physicalLocation.artifactLocation.uri = "file:/README.md" else . end)))' cx_result.sarif.orig > cx_result.sarif
93
94
# Upload results to github
95
- name: Upload SARIF file
0 commit comments