You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Bandit security linter
v2.1
bandit is a security linter from PyCQA
Minimal version
...
steps:
- uses: actions/checkout@v2
- name: Run bandit
uses: tj-actions/bandit@v2
Using inputs
...
steps:
- uses: actions/checkout@v2
- name: Run bandit
uses: tj-actions/bandit@v2
with:
bandit_version: "1.7.0"
targets: "."
options: "-r"
Input | type | required | default | description |
---|---|---|---|---|
bandit-version | string |
true |
1.7.0 |
Bandit version to be installed |
targets | string[] |
true |
. |
Targets to run bandit checks |
options | string |
true |
-r |
Extra options (possible choices) |
- Free software: MIT license
This package was created with Cookiecutter.
Report bugs at https://github.com/tj-actions/bandit/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your workflow that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.