Skip to content
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

Add purls in sarif report #2254

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add purls in sarif report #2254

wants to merge 1 commit into from

Conversation

GeorgeLS
Copy link

Hello there!
Seems like that purls are missing from Sarif reports of grype.
I attempted adding those in the Sarif report. In order to do that I had to copy the deriveBomRef function that is being used in CycloneDx as well.
I tried making deriveBomRef a member function of Package type in order to avoid duplication but I couldn't build the project locally.

Thanks,
George

Signed-off-by: George Liontos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant