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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flake8-sarif-formatter-1.0.1.tar.gz.

File metadata

File hashes

Hashes for flake8-sarif-formatter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6df0d90078173b5e05d241e2d01bd06d94316add418fe576bb598373c9cfbf74
MD5 badb91b321b7460b8abd7cd012e2f33a
BLAKE2b-256 fa8d113fc78b909ad1522f3394d3166aa92a6547cfca9cc78a3d6a4caa965df2

See more details on using hashes here.

File details

Details for the file flake8_sarif_formatter-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_sarif_formatter-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2da7e9bac06c9a05e7c2d431c4d4da81f95d41e661612c15535247c84e4ca780
MD5 1603dec9800bf53f53342993d736034e
BLAKE2b-256 1add6c3b066abdf2bec5e394bd9785291bc954b8eb6c3b814b447d7ed66e3422

See more details on using hashes here.

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