Skip to content

Commit abebb3b

Browse files
authored
fix(ci/cve-scanning): make it a correct URI (#1690)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Bug Fixes - Fixed SARIF report artifact URIs to include the file:// scheme so links to affected files are recognized and clickable by code-scanning and security tools. This improves navigation from scan results to source files in CI reports and dashboards, reducing broken links and making developer triage and remediation more reliable. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent b5de270 commit abebb3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/sarif-report-collect-results.jq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
(
1818
.physicalLocation |= (
1919
.artifactLocation |= (
20-
.uri |= "\($run.properties.chart):\($subChart):\(sub("^[^/]+/"; ""))"
20+
.uri |= "file:///\($run.properties.chart):\($subChart):\(sub("^[^/]+/"; ""))"
2121
)
2222
)
2323
) | (

0 commit comments

Comments
 (0)