diff --git a/Makefile b/Makefile index 2f2bec0197..1a649417ef 100644 --- a/Makefile +++ b/Makefile @@ -141,9 +141,9 @@ safety: ## Run `safety check` to check python dependencies for vulnerabilities. bandit: test-config ## Run bandit with medium level excluding test-related folders. @command -v bandit || (echo "Please run 'pip install -U bandit'."; exit 1) @echo "███ Running bandit..." - @bandit -ll --skip B322 --exclude ./admin/.tox,./admin/.venv,./admin/.eggs,./molecule,./testinfra,./securedrop/tests,./.tox,./.venv*,securedrop/config.py --recursive . + @bandit -ll --exclude ./admin/.tox,./admin/.venv,./admin/.eggs,./molecule,./testinfra,./securedrop/tests,./.tox,./.venv*,securedrop/config.py --recursive . @echo "███ Running bandit on securedrop/config.py..." - @bandit -ll --skip B108,B322 securedrop/config.py + @bandit -ll --skip B108 securedrop/config.py @echo #############