Implement bandit static security scan

This commit is contained in:
Ryan Ahearn
2022-08-12 17:19:28 -04:00
parent 6e96ffdc09
commit fb1e6b3e9d
2 changed files with 15 additions and 0 deletions

View File

@@ -74,3 +74,13 @@ jobs:
with:
inputs: requirements.txt requirements_for_test.txt
ignore-vulns: PYSEC-2022-237
static-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: Install bandit
run: pip install bandit
- name: Run scan
run: bandit -r app/ --confidence-level medium