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 a SARIF output formatter #1113

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Add a SARIF output formatter #1113

merged 1 commit into from
Mar 8, 2024

Commits on Mar 5, 2024

  1. Add a SARIF output formatter

    This commit adds a formatter that outputs JSON in a specific
    SARIF format according to spec at [1].
    
    This code is largely leveraged from an existing implementation
    found here [2].
    
    SARIF format is very useful for integration into ecosystems such
    as GitHub's Actions.
    
    [1] https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html
    [2] https://github.com/microsoft/bandit-sarif-formatter
    
    Closes PyCQA#646
    
    Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
    ericwb committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    86c0edd View commit details
    Browse the repository at this point in the history