-
Notifications
You must be signed in to change notification settings - Fork 118
Bug: SARIF report no accepted by GitHub #820
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A SARIF report uploaded to GitHub will be rejected if locations is empty.
But I also seems like GitHub only uses the first location.
To reproduce
Create a report with advisory issues.
Since Advisory uses lock file, they are currently excluded and empty.
Also ban has no location and license is created per label which creates multiple locations but not a sensible message.
cargo-deny version
0.18.9
What OS were you running cargo-deny on?
Linux
Additional context
I've started with an implementation, but I would like some guidance.
For the ones missing locations, I've done some modifications to InclusionGraph so the location can point to something that the user can change (project cargo.toml)
And included a compact graph(stops at first project crate) in the markdown for the result.
It's work in progress.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working