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

Support exporting Static Analysis Results Interchange Format (SARIF) #4036

Open
LebedevRI opened this issue Oct 10, 2023 · 1 comment · May be fixed by #4327
Open

Support exporting Static Analysis Results Interchange Format (SARIF) #4036

LebedevRI opened this issue Oct 10, 2023 · 1 comment · May be fixed by #4327
Labels
CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands plist2html 🌏 report-converter 🔄 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.

Comments

@LebedevRI
Copy link
Contributor

#1797 (via #4011, thanks to @csordasmarton / @Szelethus),
has added support for ingesting SARIF into codechecker,
however i was under false pretense that #1797 was about
the exact opposite feature:
now that GitHub can ingest SARIF, it would be nice to be able
to export SARIF from codechecker. While, i'm sure,
the codechecker-produced HTML reports are better than what
GitHub will produce, the (initial) UX of having to download the
HTML is obviously worse than native GitHub integration.

@whisperity whisperity changed the title Support Static Analysis Results Interchange Format (SARIF) format 2 Support exporting Static Analysis Results Interchange Format (SARIF) Oct 10, 2023
@whisperity whisperity added CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc. plist2html 🌏 report-converter 🔄 labels Oct 10, 2023
@jiridanek
Copy link

According to a comment

You can convert existing report to sarif using report-converter:

report-converter -t cppcheck out/double-free_5197372318879967385.plist -e sarif -o cppcheck.sarif

Looks like some integration with GitHub PR review webui for codechecker running in a github action might be already possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands plist2html 🌏 report-converter 🔄 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants