Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a table format for list of plugins #872

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/source/plugins/b101_assert_used.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------
B101: assert_used
-----------------
-----------
assert_used
-----------

.. automodule:: bandit.plugins.asserts
6 changes: 3 additions & 3 deletions doc/source/plugins/b102_exec_used.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------
B102: exec_used
---------------
---------
exec_used
---------

.. automodule:: bandit.plugins.exec
6 changes: 3 additions & 3 deletions doc/source/plugins/b103_set_bad_file_permissions.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
------------------------------
B103: set_bad_file_permissions
------------------------------
------------------------
set_bad_file_permissions
------------------------

.. automodule:: bandit.plugins.general_bad_file_permissions
6 changes: 3 additions & 3 deletions doc/source/plugins/b104_hardcoded_bind_all_interfaces.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------------------------
B104: hardcoded_bind_all_interfaces
-----------------------------------
-----------------------------
hardcoded_bind_all_interfaces
-----------------------------

.. automodule:: bandit.plugins.general_bind_all_interfaces
6 changes: 3 additions & 3 deletions doc/source/plugins/b105_hardcoded_password_string.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------------
B105: hardcoded_password_string
-------------------------------
-------------------------
hardcoded_password_string
-------------------------

.. currentmodule:: bandit.plugins.general_hardcoded_password

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b106_hardcoded_password_funcarg.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------
B106: hardcoded_password_funcarg
--------------------------------
--------------------------
hardcoded_password_funcarg
--------------------------

.. currentmodule:: bandit.plugins.general_hardcoded_password

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b107_hardcoded_password_default.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------
B107: hardcoded_password_default
--------------------------------
--------------------------
hardcoded_password_default
--------------------------

.. currentmodule:: bandit.plugins.general_hardcoded_password

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b108_hardcoded_tmp_directory.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------------------
B108: hardcoded_tmp_directory
-----------------------------
-----------------------
hardcoded_tmp_directory
-----------------------

.. automodule:: bandit.plugins.general_hardcoded_tmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------------------------------
B109: password_config_option_not_marked_secret
----------------------------------------------
----------------------------------------
password_config_option_not_marked_secret
----------------------------------------

This plugin has been removed.

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b110_try_except_pass.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------------
B110: try_except_pass
---------------------
---------------
try_except_pass
---------------

.. automodule:: bandit.plugins.try_except_pass
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------------------------------
B111: execute_with_run_as_root_equals_true
------------------------------------------
------------------------------------
execute_with_run_as_root_equals_true
------------------------------------

This plugin has been removed.

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b112_try_except_continue.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-------------------------
B112: try_except_continue
-------------------------
-------------------
try_except_continue
-------------------

.. automodule:: bandit.plugins.try_except_continue
6 changes: 3 additions & 3 deletions doc/source/plugins/b113_request_without_timeout.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------------------
B113: request_without_timeout
-----------------------------
-----------------------
request_without_timeout
-----------------------

.. automodule:: bandit.plugins.request_without_timeout
6 changes: 3 additions & 3 deletions doc/source/plugins/b201_flask_debug_true.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----------------------
B201: flask_debug_true
----------------------
----------------
flask_debug_true
----------------

.. automodule:: bandit.plugins.app_debug
6 changes: 3 additions & 3 deletions doc/source/plugins/b324_hashlib.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-------------
B324: hashlib
-------------
-------
hashlib
-------

.. automodule:: bandit.plugins.hashlib_insecure_functions
6 changes: 3 additions & 3 deletions doc/source/plugins/b501_request_with_no_cert_validation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-------------------------------------
B501: request_with_no_cert_validation
-------------------------------------
-------------------------------
request_with_no_cert_validation
-------------------------------

.. automodule:: bandit.plugins.crypto_request_no_cert_validation
6 changes: 3 additions & 3 deletions doc/source/plugins/b502_ssl_with_bad_version.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------
B502: ssl_with_bad_version
--------------------------
--------------------
ssl_with_bad_version
--------------------

.. currentmodule:: bandit.plugins.insecure_ssl_tls

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b503_ssl_with_bad_defaults.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------------------
B503: ssl_with_bad_defaults
---------------------------
---------------------
ssl_with_bad_defaults
---------------------

.. currentmodule:: bandit.plugins.insecure_ssl_tls

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b504_ssl_with_no_version.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------
B504: ssl_with_no_version
-------------------------
-------------------
ssl_with_no_version
-------------------

.. currentmodule:: bandit.plugins.insecure_ssl_tls

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b505_weak_cryptographic_key.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----------------------------
B505: weak_cryptographic_key
----------------------------
----------------------
weak_cryptographic_key
----------------------

.. automodule:: bandit.plugins.weak_cryptographic_key
6 changes: 3 additions & 3 deletions doc/source/plugins/b506_yaml_load.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------
B506: yaml_load
---------------
---------
yaml_load
---------

.. automodule:: bandit.plugins.yaml_load
6 changes: 3 additions & 3 deletions doc/source/plugins/b507_ssh_no_host_key_verification.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----------------------------------
B507: ssh_no_host_key_verification
----------------------------------
----------------------------
ssh_no_host_key_verification
----------------------------

.. automodule:: bandit.plugins.ssh_no_host_key_verification
6 changes: 3 additions & 3 deletions doc/source/plugins/b508_snmp_insecure_version.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------------------
B508: snmp_insecure_version
---------------------------
---------------------
snmp_insecure_version
---------------------

.. currentmodule:: bandit.plugins.snmp_security_check

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b509_snmp_weak_cryptography.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------------
B509: snmp_weak_cryptography
----------------------------
----------------------
snmp_weak_cryptography
----------------------

.. currentmodule:: bandit.plugins.snmp_security_check

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b601_paramiko_calls.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--------------------
B601: paramiko_calls
--------------------
--------------
paramiko_calls
--------------

.. automodule:: bandit.plugins.injection_paramiko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------------------------------------
B602: subprocess_popen_with_shell_equals_true
---------------------------------------------
---------------------------------------
subprocess_popen_with_shell_equals_true
---------------------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------------------------------
B603: subprocess_without_shell_equals_true
------------------------------------------
------------------------------------
subprocess_without_shell_equals_true
------------------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-----------------------------------------------
B604: any_other_function_with_shell_equals_true
-----------------------------------------------
-----------------------------------------
any_other_function_with_shell_equals_true
-----------------------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b605_start_process_with_a_shell.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------
B605: start_process_with_a_shell
--------------------------------
--------------------------
start_process_with_a_shell
--------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b606_start_process_with_no_shell.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------------------------
B606: start_process_with_no_shell
---------------------------------
---------------------------
start_process_with_no_shell
---------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b607_start_process_with_partial_path.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------------------
B607: start_process_with_partial_path
-------------------------------------
-------------------------------
start_process_with_partial_path
-------------------------------

.. currentmodule:: bandit.plugins.injection_shell

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b608_hardcoded_sql_expressions.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-------------------------------
B608: hardcoded_sql_expressions
-------------------------------
-------------------------
hardcoded_sql_expressions
-------------------------

.. automodule:: bandit.plugins.injection_sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------------------------------
B609: linux_commands_wildcard_injection
---------------------------------------
---------------------------------
linux_commands_wildcard_injection
---------------------------------

.. automodule:: bandit.plugins.injection_wildcard
6 changes: 3 additions & 3 deletions doc/source/plugins/b610_django_extra_used.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-----------------------
B610: django_extra_used
-----------------------
-----------------
django_extra_used
-----------------

.. currentmodule:: bandit.plugins.django_sql_injection

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b611_django_rawsql_used.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------------
B611: django_rawsql_used
------------------------
------------------
django_rawsql_used
------------------

.. currentmodule:: bandit.plugins.django_sql_injection

Expand Down
6 changes: 3 additions & 3 deletions doc/source/plugins/b701_jinja2_autoescape_false.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------------------
B701: jinja2_autoescape_false
-----------------------------
-----------------------
jinja2_autoescape_false
-----------------------

.. automodule:: bandit.plugins.jinja2_templates
6 changes: 3 additions & 3 deletions doc/source/plugins/b702_use_of_mako_templates.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------------------
B702: use_of_mako_templates
---------------------------
---------------------
use_of_mako_templates
---------------------

.. automodule:: bandit.plugins.mako_templates
6 changes: 3 additions & 3 deletions doc/source/plugins/b703_django_mark_safe.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------
B703: django_mark_safe
----------------------
----------------
django_mark_safe
----------------

.. currentmodule:: bandit.plugins.django_xss

Expand Down