GitHub Action for bandit python security linter
Make sure you have a .bandit
file at the root of your repository!
Optional The path to run bandit on
Default "."
Optional Optional Bandit flags (refer to bandit --help
)
Default ""
None
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'