-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Sarif file uri path invalid in Windows and update go-sarif to latest #1070
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1070 +/- ##
==========================================
- Coverage 78.62% 78.59% -0.04%
==========================================
Files 238 238
Lines 6494 6502 +8
==========================================
+ Hits 5106 5110 +4
- Misses 1075 1077 +2
- Partials 313 315 +2
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@kanchwala-yusuf let me know if looks good, thanks! |
@cesar-rodriguez @kanchwala-yusuf let me know if anyone can help with the review, thanks! |
@shaopeng-gh thanks again for fixing this! |
The locations should conform with https://tools.ietf.org/html/rfc3986,
we currently get "file://C:\\reporoot\\input\\azuredeploy.json" in windows
in Linux it is correct for me, "file:///home/lsp/terrascan/input/azuredeploy.json"
The correct uri path for Windows should be like "file:///C:/reporoot/input/azuredeploy.json"