Enable bandit tests

These tests don't catch anything now so are enabled to prevent
the problems being introduced.

Change-Id: I7b47430deb190e6bc4164c00671837ce067010b1
This commit is contained in:
Brant Knudson 2016-01-13 11:27:27 -06:00
parent a241828cfb
commit 1b0e9f4461
1 changed files with 4 additions and 7 deletions

View File

@ -48,11 +48,9 @@ profiles:
# - execute_with_run_as_root_equals_true
- hardcoded_bind_all_interfaces
# Disable these since they're new. TODO(blk-u): see if these work.
# - hardcoded_password_string
# - hardcoded_password_funcarg
# - hardcoded_password_default
- hardcoded_password_string
- hardcoded_password_funcarg
- hardcoded_password_default
# Not used because it's prone to false positives:
# - hardcoded_sql_expressions
@ -83,8 +81,7 @@ profiles:
# Keystone has no use for mako.
# - use_of_mako_templates
# Disable this one since it's new. TODO(blk-u): see if these work.
# - weak_cryptographic_key
- weak_cryptographic_key
blacklist_calls:
bad_name_sets: