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

fix: Include artifact locations in SARIF reports #204

Merged
merged 1 commit into from Oct 25, 2022
Merged

fix: Include artifact locations in SARIF reports #204

merged 1 commit into from Oct 25, 2022

Conversation

twelvelabs
Copy link
Contributor

Fixes #197.

I'm not a SARIF expert, but I followed the info at https://github.com/microsoft/sarif-tutorials and I think this should be correct. I also installed the SARIF viewer VS Code extension and confirmed that the fixture files were showing up as expected:

Screen Shot 2022-10-23 at 6 24 29 PM

Screen Shot 2022-10-23 at 6 25 25 PM

Note: the - in the line column is because we're not including a line number in the location (I didn't see that data in the Assessment struct).

This should allow them to be uploaded to GitHub.

Fixes #197
@twelvelabs
Copy link
Contributor Author

ping @tomoyamachi

@tomoyamachi tomoyamachi merged commit 7d067d8 into goodwithtech:master Oct 25, 2022
@tomoyamachi
Copy link
Collaborator

@twelvelabs Thank you for your contribution!

@tomoyamachi
Copy link
Collaborator

The merged code is released as Dockle v0.4.9.

@twelvelabs twelvelabs deleted the sarif-github branch October 25, 2022 14:40
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.

Outputted SARIF file cannot be uploaded to Github Advanced Security
2 participants