Skip to main content

A SARIF formatter for flake8

Project description

Flake8 SARIF formatting plugin

ℹ️ This is an unofficial tool created by Field Security Services, and is not officially supported by GitHub.

This is a plugin for Flake8 (a Python linter) that formats the output as SARIF.

Installation

From PyPi

Install it with pip from PyPi:

python3 -mpip install flake8-sarif-formatter

From the GitHub repository

Clone the GitHub repository and install it with pip:

python3 -mpip . install

OR

Install straight from the GitHub repository:

python3 -mpip install pip --upgrade # make sure pip is sufficiently up-to-date for the #egg= fragment
python3 -mpip install git+https://github.com/advanced-security/flake8-sarif-formatter.git#egg=flake8-sarif-formatter

Usage

Use it in Flake8 by referencing the plugin name sarif in your Flake8 configuration file on a single line, as:

format=sarif

or at the CLI with:

flake8 --format=sarif

License

This project is licensed under the terms of the MIT open source license. Please refer to the LICENSE for the full terms.

Maintainers

See CODEOWNERS for the list of maintainers.

Support

ℹ️ This is an unofficial tool created by Field Security Services, and is not officially supported by GitHub.

See the SUPPORT file.

Background

See the CHANGELOG, CONTRIBUTING, SECURITY, SUPPORT, CODE OF CONDUCT and PRIVACY files for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-sarif-formatter-1.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

flake8_sarif_formatter-1.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page