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

Make small fixes in docs #899

Merged
merged 1 commit into from May 15, 2022
Merged
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
2 changes: 2 additions & 0 deletions bandit/plugins/hashlib_insecure_functions.py
Expand Up @@ -19,6 +19,8 @@

:Example:

.. code-block:: none

>> Issue: [B324:hashlib] Use of weak MD4, MD5, or SHA1 hash for
security. Consider usedforsecurity=False
Severity: High Confidence: High
Expand Down
2 changes: 1 addition & 1 deletion bandit/plugins/injection_sql.py
Expand Up @@ -36,7 +36,7 @@
construction.
Severity: Medium Confidence: Low
CWE: CWE-89 (https://cwe.mitre.org/data/definitions/89.html)
Location: ./examples/sql_statements_without_sql_alchemy.py:4
Location: ./examples/sql_statements.py:4
3 query = "DELETE FROM foo WHERE id = '%s'" % identifier
4 query = "UPDATE foo SET value = 'b' WHERE id = '%s'" % identifier
5
Expand Down
3 changes: 3 additions & 0 deletions bandit/plugins/logging_config_insecure_listen.py
Expand Up @@ -20,6 +20,9 @@
across the socket with signature verification or encryption/decryption.

:Example:

.. code-block:: none

>> Issue: [B612:logging_config_listen] Use of insecure
logging.config.listen detected.
Severity: Medium Confidence: High
Expand Down
3 changes: 2 additions & 1 deletion doc/source/blacklists/index.rst
Expand Up @@ -46,7 +46,8 @@ A utility method bandit.blacklists.utils.build_conf_dict is provided to aid
building these dictionaries.

:Example:
.. code-block:: none

.. code-block:: none

>> Issue: [B317:blacklist] Using xml.sax.parse to parse untrusted XML data
is known to be vulnerable to XML attacks. Replace xml.sax.parse with its
Expand Down
Expand Up @@ -19,7 +19,9 @@ issue.


**Config Options:**

.. code-block:: yaml

password_config_option_not_marked_secret:
function_names:
- oslo.config.cfg.StrOpt
Expand Down