Remove duplicated profiles section from bandit.yaml
Due to the typo in bandit_conf_generator (that was recently fixed by [1]) bandit.yaml conatins the same "profiles" section twice. [1] https://review.openstack.org/#/c/251342/ Change-Id: I45b1a74d9ec2eb859dd8235a148c2295b7859a75
This commit is contained in:
parent
6490355480
commit
ab356b14c0
34
bandit.yaml
34
bandit.yaml
@ -93,40 +93,6 @@ try_except_pass:
|
|||||||
|
|
||||||
plugin_name_pattern: '*.py'
|
plugin_name_pattern: '*.py'
|
||||||
|
|
||||||
profiles:
|
|
||||||
gate:
|
|
||||||
include:
|
|
||||||
- any_other_function_with_shell_equals_true
|
|
||||||
- assert_used
|
|
||||||
- blacklist_calls
|
|
||||||
- blacklist_import_func
|
|
||||||
- blacklist_imports
|
|
||||||
- exec_used
|
|
||||||
- execute_with_run_as_root_equals_true
|
|
||||||
- hardcoded_bind_all_interfaces
|
|
||||||
- hardcoded_password_string
|
|
||||||
- hardcoded_password_funcarg
|
|
||||||
- hardcoded_password_default
|
|
||||||
- hardcoded_sql_expressions
|
|
||||||
- hardcoded_tmp_directory
|
|
||||||
- jinja2_autoescape_false
|
|
||||||
- linux_commands_wildcard_injection
|
|
||||||
- paramiko_calls
|
|
||||||
- password_config_option_not_marked_secret
|
|
||||||
- request_with_no_cert_validation
|
|
||||||
- set_bad_file_permissions
|
|
||||||
- subprocess_popen_with_shell_equals_true
|
|
||||||
- subprocess_without_shell_equals_true
|
|
||||||
- start_process_with_a_shell
|
|
||||||
- start_process_with_no_shell
|
|
||||||
- start_process_with_partial_path
|
|
||||||
- ssl_with_bad_defaults
|
|
||||||
- ssl_with_bad_version
|
|
||||||
- ssl_with_no_version
|
|
||||||
- try_except_pass
|
|
||||||
- use_of_mako_templates
|
|
||||||
- weak_cryptographic_key
|
|
||||||
|
|
||||||
blacklist_calls:
|
blacklist_calls:
|
||||||
bad_name_sets:
|
bad_name_sets:
|
||||||
- pickle:
|
- pickle:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user