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

@@ -82,6 +82,11 @@ audit:
pip install --upgrade pip-audit
pip-audit -r requirements.txt -r requirements_for_test.txt -l --ignore-vuln PYSEC-2022-237
.PHONY: static-scan
static-scan:
pip install bandit
bandit -r app/
.PHONY: clean
clean:
rm -rf node_modules cache target venv .coverage build tests/.cache ${CF_MANIFEST_PATH}