actions-marketplace-validations/Bandit Scanner

Run a Bandit scan to find security issues in your Python code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 10, 2026
License
ISC

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/devsecninja_python-bandit-scan@781355b6f59116d5e1f09377cbcff9f93d3a1bad # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathFile or directory to run bandit onno.
levelReport only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)noUNDEFINED
confidenceReport only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)noUNDEFINED
excluded_pathscomma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)noDEFAULT
exit_zeroexit with 0, even with results foundnoDEFAULT
skipscomma-separated list of test IDs to skipnoDEFAULT
ini_pathpath to a .bandit file that supplies command line argumentsnoDEFAULT
config_pathpath to a config file (YAML or pyproject.toml) for banditnoDEFAULT
GITHUB_TOKENGithub token of the repository (automatically created by Github)yes

no outputs