Skip to content

fix: Include artifact locations in SARIF reports#204

Merged
tomoyamachi merged 1 commit into
goodwithtech:masterfrom
twelvelabs:sarif-github
Oct 25, 2022
Merged

fix: Include artifact locations in SARIF reports#204
tomoyamachi merged 1 commit into
goodwithtech:masterfrom
twelvelabs:sarif-github

Conversation

@twelvelabs

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

ping @tomoyamachi

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

Copy link
Copy Markdown
Collaborator

@twelvelabs Thank you for your contribution!

@tomoyamachi

Copy link
Copy Markdown
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