-
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
BUG: URI "no file associated with this alert" in SARIF now invalid in github/codeql-action #3063
Labels
kind/bug
Something isn't working
Comments
michaelkedar
added a commit
to google/osv.dev
that referenced
this issue
May 25, 2023
Newest version (2.3.4) does allow scorecard's "no file" URI to be parsed correctly ossf/scorecard#3063 Also, the version comment was pretty outdated.
Merged
3 tasks
Created github/codeql-action#1703 on their side. They made a breaking change without following semver. AFAIR, the URI needs to be populated otherwise the results don't show up for results that don't have a "path". We can to try to generate a conformant URI that does not correspond to a file in the repo... |
This is resolved by upgrading to |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Currently, the URI in SARIF files for alerts without locations is set to the string "no file associated with this alert" .
Using
github/codeql-action/[email protected]
, this causes errors:Reproduction steps
Steps to reproduce the behavior:
github/codeql-action/[email protected]
actionExpected behavior
This shouldn't cause an error.
Additional context
The schema file was updated here:
github/codeql-action@febbadf
The text was updated successfully, but these errors were encountered: