Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpetrucciani/bandit-check

github action to run the bandit security linter
https://github.com/jpetrucciani/bandit-check

action bandit github-action hacktoberfest lint python security

Last synced: 2 months ago
JSON representation

github action to run the bandit security linter

Awesome Lists containing this project

README

        

# bandit-check

GitHub Action for [bandit](https://github.com/PyCQA/bandit) python security linter

Make sure you have a `.bandit` file at the root of your repository!

## Inputs

### `path`

**Optional** The path to run bandit on

**Default** `"."`

### `bandit_flags`

**Optional** Optional Bandit flags (refer to `bandit --help`)

**Default** `""`

## Outputs

None

## Example usage

```yaml
uses: jpetrucciani/bandit-check@main

# specify a path
uses: jpetrucciani/bandit-check@main
with:
path: '.'

# provide some flags
uses: jpetrucciani/bandit-check@main
with:
bandit_flags: '-lll -o output.json -f json'
```