Skip to content

github action to run the bandit security linter

License

Notifications You must be signed in to change notification settings

jpetrucciani/bandit-check

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bandit-check

GitHub Action for 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

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'