We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fabccc commit 4d5f5e5Copy full SHA for 4d5f5e5
.github/workflows/checkmarx.yaml
@@ -87,8 +87,7 @@ jobs:
87
- name: Filter out repo level issues that github can't handle
88
run: |
89
mv ./cx_result.sarif ./cx_result.sarif.orig
90
- export REPO_URI="file:/README.md"
91
- jq --arg repo_uri "$REPO_URI" '.runs |= map(.results |= map(.locations |= map(if .physicalLocation.artifactLocation.uri == "" then .physicalLocation.artifactLocation.uri = $repo_uri else . end)))' 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
92
93
# Upload results to github
94
- name: Upload SARIF file
0 commit comments