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 SARIF support #239

Open
markusthoemmes opened this issue Jun 2, 2021 · 1 comment · May be fixed by #240
Open

Add SARIF support #239

markusthoemmes opened this issue Jun 2, 2021 · 1 comment · May be fixed by #240

Comments

@markusthoemmes
Copy link

cc @bhamail / @DarthHater

@zendern
Copy link
Contributor

zendern commented Jun 3, 2021

That would be a cool addition. Should be easy enough to add I would think as an output format.

Might be useful to use this library or maybe there is another to build that Sarif format.
https://github.com/owenrumney/go-sarif

re: Actions
It looks like our Github action already allows you to customize the command that gets run so if you wanted that sarif output you could and add a step to push to Github Code Analysis.

https://github.com/sonatype-nexus-community/nancy-github-action#nancycommand

Would just want to update the docs to mention how to set it up and add an example that has this in it.

- name: Upload result to GitHub Code Scanning
        uses: github/codeql-action/upload-sarif@v1
        with:
          sarif_file: snyk.sarif

If I get a chance over the next week or so I might try to get a PR rolling on it. I think it might be low hanging fruit but super high value for devs. Thanks for opening the issue @markusthoemmes

@zendern zendern linked a pull request Jun 7, 2021 that will close this issue
4 tasks
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 a pull request may close this issue.

2 participants