From 6bdc6c0c4eb14a3f50b4eac026895869c33d8bb4 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Thu, 1 Feb 2018 14:33:41 -0800 Subject: [PATCH] Sort the complete plugin list Currently the plugin listing found at the link below [1] is unsorted by bandit ID number, yet the IDs are listed, making it confusing to look at. This patch sorts the plugin list by renaming each plugin filename so that sphinx sorts accordingly. [1] https://docs.openstack.org/bandit/latest/plugins/index.html#complete-test-plugin-listing Change-Id: Ib16b85d1025dd667f711e8571dd58a59deb74d29 --- doc/source/plugins/{assert_used.rst => b101_assert_used.rst} | 0 doc/source/plugins/{exec_used.rst => b102_exec_used.rst} | 0 ...bad_file_permissions.rst => b103_set_bad_file_permissions.rst} | 0 ..._all_interfaces.rst => b104_hardcoded_bind_all_interfaces.rst} | 0 ...ded_password_string.rst => b105_hardcoded_password_string.rst} | 0 ...d_password_funcarg.rst => b106_hardcoded_password_funcarg.rst} | 0 ...d_password_funcdef.rst => b107_hardcoded_password_funcdef.rst} | 0 ...rdcoded_tmp_directory.rst => b108_hardcoded_tmp_directory.rst} | 0 ...cret.rst => b109_password_config_option_not_marked_secret.rst} | 0 .../plugins/{try_except_pass.rst => b110_try_except_pass.rst} | 0 ...als_true.rst => b111_execute_with_run_as_root_equals_true.rst} | 0 .../{try_except_continue.rst => b112_try_except_continue.rst} | 0 .../plugins/{flask_debug_true.rst => b201_flask_debug_true.rst} | 0 ...rt_validation.rst => b501_request_with_no_cert_validation.rst} | 0 .../{ssl_with_bad_version.rst => b502_ssl_with_bad_version.rst} | 0 .../{ssl_with_bad_defaults.rst => b503_ssl_with_bad_defaults.rst} | 0 .../{ssl_with_no_version.rst => b504_ssl_with_no_version.rst} | 0 ...weak_cryptographic_key.rst => b505_weak_cryptographic_key.rst} | 0 doc/source/plugins/{yaml_load.rst => b506_yaml_load.rst} | 0 .../plugins/{paramiko_calls.rst => b601_paramiko_calls.rst} | 0 ..._true.rst => b602_subprocess_popen_with_shell_equals_true.rst} | 0 ...als_true.rst => b603_subprocess_without_shell_equals_true.rst} | 0 ...rue.rst => b604_any_other_function_with_shell_equals_true.rst} | 0 ...ocess_with_a_shell.rst => b605_start_process_with_a_shell.rst} | 0 ...ess_with_no_shell.rst => b606_start_process_with_no_shell.rst} | 0 ..._partial_path.rst => b607_start_process_with_partial_path.rst} | 0 ...ded_sql_expressions.rst => b608_hardcoded_sql_expressions.rst} | 0 ...d_injection.rst => b609_linux_commands_wildcard_injection.rst} | 0 ...nja2_autoescape_false.rst => b701_jinja2_autoescape_false.rst} | 0 .../{use_of_mako_templates.rst => b702_use_of_mako_templates.rst} | 0 30 files changed, 0 insertions(+), 0 deletions(-) rename doc/source/plugins/{assert_used.rst => b101_assert_used.rst} (100%) rename doc/source/plugins/{exec_used.rst => b102_exec_used.rst} (100%) rename doc/source/plugins/{set_bad_file_permissions.rst => b103_set_bad_file_permissions.rst} (100%) rename doc/source/plugins/{hardcoded_bind_all_interfaces.rst => b104_hardcoded_bind_all_interfaces.rst} (100%) rename doc/source/plugins/{hardcoded_password_string.rst => b105_hardcoded_password_string.rst} (100%) rename doc/source/plugins/{hardcoded_password_funcarg.rst => b106_hardcoded_password_funcarg.rst} (100%) rename doc/source/plugins/{hardcoded_password_funcdef.rst => b107_hardcoded_password_funcdef.rst} (100%) rename doc/source/plugins/{hardcoded_tmp_directory.rst => b108_hardcoded_tmp_directory.rst} (100%) rename doc/source/plugins/{password_config_option_not_marked_secret.rst => b109_password_config_option_not_marked_secret.rst} (100%) rename doc/source/plugins/{try_except_pass.rst => b110_try_except_pass.rst} (100%) rename doc/source/plugins/{execute_with_run_as_root_equals_true.rst => b111_execute_with_run_as_root_equals_true.rst} (100%) rename doc/source/plugins/{try_except_continue.rst => b112_try_except_continue.rst} (100%) rename doc/source/plugins/{flask_debug_true.rst => b201_flask_debug_true.rst} (100%) rename doc/source/plugins/{request_with_no_cert_validation.rst => b501_request_with_no_cert_validation.rst} (100%) rename doc/source/plugins/{ssl_with_bad_version.rst => b502_ssl_with_bad_version.rst} (100%) rename doc/source/plugins/{ssl_with_bad_defaults.rst => b503_ssl_with_bad_defaults.rst} (100%) rename doc/source/plugins/{ssl_with_no_version.rst => b504_ssl_with_no_version.rst} (100%) rename doc/source/plugins/{weak_cryptographic_key.rst => b505_weak_cryptographic_key.rst} (100%) rename doc/source/plugins/{yaml_load.rst => b506_yaml_load.rst} (100%) rename doc/source/plugins/{paramiko_calls.rst => b601_paramiko_calls.rst} (100%) rename doc/source/plugins/{subprocess_popen_with_shell_equals_true.rst => b602_subprocess_popen_with_shell_equals_true.rst} (100%) rename doc/source/plugins/{subprocess_without_shell_equals_true.rst => b603_subprocess_without_shell_equals_true.rst} (100%) rename doc/source/plugins/{any_other_function_with_shell_equals_true.rst => b604_any_other_function_with_shell_equals_true.rst} (100%) rename doc/source/plugins/{start_process_with_a_shell.rst => b605_start_process_with_a_shell.rst} (100%) rename doc/source/plugins/{start_process_with_no_shell.rst => b606_start_process_with_no_shell.rst} (100%) rename doc/source/plugins/{start_process_with_partial_path.rst => b607_start_process_with_partial_path.rst} (100%) rename doc/source/plugins/{hardcoded_sql_expressions.rst => b608_hardcoded_sql_expressions.rst} (100%) rename doc/source/plugins/{linux_commands_wildcard_injection.rst => b609_linux_commands_wildcard_injection.rst} (100%) rename doc/source/plugins/{jinja2_autoescape_false.rst => b701_jinja2_autoescape_false.rst} (100%) rename doc/source/plugins/{use_of_mako_templates.rst => b702_use_of_mako_templates.rst} (100%) diff --git a/doc/source/plugins/assert_used.rst b/doc/source/plugins/b101_assert_used.rst similarity index 100% rename from doc/source/plugins/assert_used.rst rename to doc/source/plugins/b101_assert_used.rst diff --git a/doc/source/plugins/exec_used.rst b/doc/source/plugins/b102_exec_used.rst similarity index 100% rename from doc/source/plugins/exec_used.rst rename to doc/source/plugins/b102_exec_used.rst diff --git a/doc/source/plugins/set_bad_file_permissions.rst b/doc/source/plugins/b103_set_bad_file_permissions.rst similarity index 100% rename from doc/source/plugins/set_bad_file_permissions.rst rename to doc/source/plugins/b103_set_bad_file_permissions.rst diff --git a/doc/source/plugins/hardcoded_bind_all_interfaces.rst b/doc/source/plugins/b104_hardcoded_bind_all_interfaces.rst similarity index 100% rename from doc/source/plugins/hardcoded_bind_all_interfaces.rst rename to doc/source/plugins/b104_hardcoded_bind_all_interfaces.rst diff --git a/doc/source/plugins/hardcoded_password_string.rst b/doc/source/plugins/b105_hardcoded_password_string.rst similarity index 100% rename from doc/source/plugins/hardcoded_password_string.rst rename to doc/source/plugins/b105_hardcoded_password_string.rst diff --git a/doc/source/plugins/hardcoded_password_funcarg.rst b/doc/source/plugins/b106_hardcoded_password_funcarg.rst similarity index 100% rename from doc/source/plugins/hardcoded_password_funcarg.rst rename to doc/source/plugins/b106_hardcoded_password_funcarg.rst diff --git a/doc/source/plugins/hardcoded_password_funcdef.rst b/doc/source/plugins/b107_hardcoded_password_funcdef.rst similarity index 100% rename from doc/source/plugins/hardcoded_password_funcdef.rst rename to doc/source/plugins/b107_hardcoded_password_funcdef.rst diff --git a/doc/source/plugins/hardcoded_tmp_directory.rst b/doc/source/plugins/b108_hardcoded_tmp_directory.rst similarity index 100% rename from doc/source/plugins/hardcoded_tmp_directory.rst rename to doc/source/plugins/b108_hardcoded_tmp_directory.rst diff --git a/doc/source/plugins/password_config_option_not_marked_secret.rst b/doc/source/plugins/b109_password_config_option_not_marked_secret.rst similarity index 100% rename from doc/source/plugins/password_config_option_not_marked_secret.rst rename to doc/source/plugins/b109_password_config_option_not_marked_secret.rst diff --git a/doc/source/plugins/try_except_pass.rst b/doc/source/plugins/b110_try_except_pass.rst similarity index 100% rename from doc/source/plugins/try_except_pass.rst rename to doc/source/plugins/b110_try_except_pass.rst diff --git a/doc/source/plugins/execute_with_run_as_root_equals_true.rst b/doc/source/plugins/b111_execute_with_run_as_root_equals_true.rst similarity index 100% rename from doc/source/plugins/execute_with_run_as_root_equals_true.rst rename to doc/source/plugins/b111_execute_with_run_as_root_equals_true.rst diff --git a/doc/source/plugins/try_except_continue.rst b/doc/source/plugins/b112_try_except_continue.rst similarity index 100% rename from doc/source/plugins/try_except_continue.rst rename to doc/source/plugins/b112_try_except_continue.rst diff --git a/doc/source/plugins/flask_debug_true.rst b/doc/source/plugins/b201_flask_debug_true.rst similarity index 100% rename from doc/source/plugins/flask_debug_true.rst rename to doc/source/plugins/b201_flask_debug_true.rst diff --git a/doc/source/plugins/request_with_no_cert_validation.rst b/doc/source/plugins/b501_request_with_no_cert_validation.rst similarity index 100% rename from doc/source/plugins/request_with_no_cert_validation.rst rename to doc/source/plugins/b501_request_with_no_cert_validation.rst diff --git a/doc/source/plugins/ssl_with_bad_version.rst b/doc/source/plugins/b502_ssl_with_bad_version.rst similarity index 100% rename from doc/source/plugins/ssl_with_bad_version.rst rename to doc/source/plugins/b502_ssl_with_bad_version.rst diff --git a/doc/source/plugins/ssl_with_bad_defaults.rst b/doc/source/plugins/b503_ssl_with_bad_defaults.rst similarity index 100% rename from doc/source/plugins/ssl_with_bad_defaults.rst rename to doc/source/plugins/b503_ssl_with_bad_defaults.rst diff --git a/doc/source/plugins/ssl_with_no_version.rst b/doc/source/plugins/b504_ssl_with_no_version.rst similarity index 100% rename from doc/source/plugins/ssl_with_no_version.rst rename to doc/source/plugins/b504_ssl_with_no_version.rst diff --git a/doc/source/plugins/weak_cryptographic_key.rst b/doc/source/plugins/b505_weak_cryptographic_key.rst similarity index 100% rename from doc/source/plugins/weak_cryptographic_key.rst rename to doc/source/plugins/b505_weak_cryptographic_key.rst diff --git a/doc/source/plugins/yaml_load.rst b/doc/source/plugins/b506_yaml_load.rst similarity index 100% rename from doc/source/plugins/yaml_load.rst rename to doc/source/plugins/b506_yaml_load.rst diff --git a/doc/source/plugins/paramiko_calls.rst b/doc/source/plugins/b601_paramiko_calls.rst similarity index 100% rename from doc/source/plugins/paramiko_calls.rst rename to doc/source/plugins/b601_paramiko_calls.rst diff --git a/doc/source/plugins/subprocess_popen_with_shell_equals_true.rst b/doc/source/plugins/b602_subprocess_popen_with_shell_equals_true.rst similarity index 100% rename from doc/source/plugins/subprocess_popen_with_shell_equals_true.rst rename to doc/source/plugins/b602_subprocess_popen_with_shell_equals_true.rst diff --git a/doc/source/plugins/subprocess_without_shell_equals_true.rst b/doc/source/plugins/b603_subprocess_without_shell_equals_true.rst similarity index 100% rename from doc/source/plugins/subprocess_without_shell_equals_true.rst rename to doc/source/plugins/b603_subprocess_without_shell_equals_true.rst diff --git a/doc/source/plugins/any_other_function_with_shell_equals_true.rst b/doc/source/plugins/b604_any_other_function_with_shell_equals_true.rst similarity index 100% rename from doc/source/plugins/any_other_function_with_shell_equals_true.rst rename to doc/source/plugins/b604_any_other_function_with_shell_equals_true.rst diff --git a/doc/source/plugins/start_process_with_a_shell.rst b/doc/source/plugins/b605_start_process_with_a_shell.rst similarity index 100% rename from doc/source/plugins/start_process_with_a_shell.rst rename to doc/source/plugins/b605_start_process_with_a_shell.rst diff --git a/doc/source/plugins/start_process_with_no_shell.rst b/doc/source/plugins/b606_start_process_with_no_shell.rst similarity index 100% rename from doc/source/plugins/start_process_with_no_shell.rst rename to doc/source/plugins/b606_start_process_with_no_shell.rst diff --git a/doc/source/plugins/start_process_with_partial_path.rst b/doc/source/plugins/b607_start_process_with_partial_path.rst similarity index 100% rename from doc/source/plugins/start_process_with_partial_path.rst rename to doc/source/plugins/b607_start_process_with_partial_path.rst diff --git a/doc/source/plugins/hardcoded_sql_expressions.rst b/doc/source/plugins/b608_hardcoded_sql_expressions.rst similarity index 100% rename from doc/source/plugins/hardcoded_sql_expressions.rst rename to doc/source/plugins/b608_hardcoded_sql_expressions.rst diff --git a/doc/source/plugins/linux_commands_wildcard_injection.rst b/doc/source/plugins/b609_linux_commands_wildcard_injection.rst similarity index 100% rename from doc/source/plugins/linux_commands_wildcard_injection.rst rename to doc/source/plugins/b609_linux_commands_wildcard_injection.rst diff --git a/doc/source/plugins/jinja2_autoescape_false.rst b/doc/source/plugins/b701_jinja2_autoescape_false.rst similarity index 100% rename from doc/source/plugins/jinja2_autoescape_false.rst rename to doc/source/plugins/b701_jinja2_autoescape_false.rst diff --git a/doc/source/plugins/use_of_mako_templates.rst b/doc/source/plugins/b702_use_of_mako_templates.rst similarity index 100% rename from doc/source/plugins/use_of_mako_templates.rst rename to doc/source/plugins/b702_use_of_mako_templates.rst