Support for the SARIF (Static Analysis Results Interchange Format)
See original GitHub issueIs your feature request related to a problem? Please describe. I think integration is the name of the game today and the SARIF format (https://github.com/oasis-tcs/sarif-spec) is a standard that most static analysis tools have embraced. It would be great if Bandit could have that as well. Simply because this integrates with Github, Vulnerability Management Tools and makes results consistent
Describe the solution you’d like
Support for the sarif-spec based on the JSON spec listed here and --output and --format flags that support SARIF as an option in addition to JSON, XML, etc.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:5 (1 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
OASIS Static Analysis Results Interchange Format (SARIF) TC
SARIF will allow them to combine and compare the results more easily to gain a sharper picture of the issues in their code...
Read more >SARIF support for code scanning - GitHub Docs
SARIF (Static Analysis Results Interchange Format) is an OASIS Standard that defines an output file format. The SARIF standard is used to streamline...
Read more >SARIF Home
The Static Analysis Results Interchange Format (SARIF) has been approved as an OASIS standard. The information and tools on this web site apply...
Read more >VSCode: how to view reports of static analyzers that support ...
SARIF (Static Analysis Results Interchange Format) is a JSON-based static analysis results exchange format for the output of static analysis ...
Read more >Static Analysis Results: A Format and a Protocol: SARIF & SASP
SARIF (pronounced SA-rif) stands for Static Analysis Results Interchange Format1. It originated at Microsoft, and is now a standard being ...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

@ericwb Hi Eric. My team is planning to modify either bandit or the converter provided above so that the SARIF output includes suppression information. I see you’ve added this enhancement for 2.0.0 - is someone already working on this? How could we contribute? Thanks.
For reference, it looks like Microsoft wrote a converter here: https://github.com/microsoft/bandit-sarif-formatter