-
Notifications
You must be signed in to change notification settings - Fork 593
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
SARIF report missing physical location information #1281
Comments
Thanks for opening your first issue here! 😃 |
@KengoTODA, we have a team that is blocked on this issue. Could you please let me know if there is a workaround, or an ETA to address it? Can we help in any way? Thanks, |
Definitely, there should be a physical location to express the More of a concern is that you shouldn't be encoding the start line in a logical name. The identify of this thing, logically, is a type but if you burn the line location into its name, you may break SARIF result matchers that are operating against the fully qualified name for matches. i.e., one of the core ways the baseline works is to lower the priority of line locations (because these can change run over over) and to raise the priority of logical names (because they tend to be more resilient/stable as code churns). |
A SARIF report from SpotBugs 4.1.2 contains SARIF results with no physical location information, only logical location information. For example:
When I was working with @KengoTODA on validating the SARIF report, the sample I saw did have physical location information, for example:
Is this a regression? Is full SARIF support scheduled for a later version than 4.1.2?
Thanks,
Larry
@boAndron @michaelcfanning @lukadlet
The text was updated successfully, but these errors were encountered: