question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for the SARIF (Static Analysis Results Interchange Format)

See original GitHub issue

Is 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:open
  • Created 3 years ago
  • Reactions:8
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
syl-mscommented, Jul 5, 2021

@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.

2reactions
kiwizcommented, Dec 30, 2020

For reference, it looks like Microsoft wrote a converter here: https://github.com/microsoft/bandit-sarif-formatter

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found