-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,3 @@ Python | |
:maxdepth: 1 | ||
|
||
stdlib/index | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
third_party/index |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
------- | ||
PRE0001 | ||
------- | ||
|
||
.. automodule:: precli.rules.python.stdlib.assert |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0002 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.crypt_weak_hash |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0003 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.ftplib_cleartext |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0004 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.hashlib_weak_hash |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0005 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.hmac_timing_attack |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0005 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.hmac_weak_hash |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0005 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.imaplib_cleartext |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,8 @@ | ||
Standard Library | ||
================ | ||
|
||
.. list-table:: Active Rules | ||
:widths: auto | ||
:header-rows: 1 | ||
|
||
* - ID | ||
- Module | ||
- Name | ||
- Level | ||
* - :doc:`assert/assert` | ||
- `assert <https://docs.python.org/3/reference/simple_stmts.html#assert>`_ | ||
- assert | ||
- Warning | ||
* - :doc:`crypt/crypt_weak_hash` | ||
- `crypt <https://docs.python.org/3/library/crypt.html>`_ | ||
- reversible_one_way_hash | ||
- Warning | ||
* - :doc:`ftplib/ftp_cleartext` | ||
- `ftplib <https://docs.python.org/3/library/ftplib.html>`_ | ||
- cleartext_transmission | ||
- Warning or Error | ||
* - :doc:`hashlib/hashlib_weak_hash` | ||
- `hashlib <https://docs.python.org/3/library/hashlib.html>`_ | ||
- reversible_one_way_hash | ||
- Error | ||
* - :doc:`hmac/hmac_weak_hash` | ||
- `hmac <https://docs.python.org/3/library/hmac.html>`_ | ||
- reversible_one_way_hash | ||
- Error | ||
* - :doc:`json/json_load` | ||
- `json <https://docs.python.org/3/library/json.html>`_ | ||
- deserialization_of_untrusted_data | ||
- Warning | ||
* - :doc:`logging/insecure_listen_config` | ||
- `logging <https://docs.python.org/3/library/logging.html>`_ | ||
- code_injection | ||
- Warning | ||
* - :doc:`marshal/marshal_load` | ||
- `marshal <https://docs.python.org/3/library/marshal.html>`_ | ||
- deserialization_of_untrusted_data | ||
- Warning | ||
* - :doc:`pickle/pickle_load` | ||
- `pickle <https://docs.python.org/3/library/pickle.html>`_ | ||
- deserialization_of_untrusted_data | ||
- Warning | ||
* - :doc:`shelve/shelve_open` | ||
- `shelve <https://docs.python.org/3/library/shelve.html>`_ | ||
- deserialization_of_untrusted_data | ||
- Warning | ||
* - :doc:`ssl/create_unverified_context` | ||
- `ssl <https://docs.python.org/3/library/ssl.html>`_ | ||
- improper_certificate_validation | ||
- Warning | ||
* - :doc:`ssl/insecure_tls_version` | ||
- `ssl <https://docs.python.org/3/library/ssl.html>`_ | ||
- inadequate_encryption_strength | ||
- Error | ||
* - :doc:`telnetlib/telnetlib_cleartext` | ||
- `telnetlib <https://docs.python.org/3/library/telnetlib.html>`_ | ||
- cleartext_transmission | ||
- Error | ||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 1 | ||
:glob: | ||
|
||
assert/index | ||
crypt/index | ||
ftplib/index | ||
hashlib/index | ||
hmac/index | ||
imaplib/index | ||
json/index | ||
logging/index | ||
marshal/index | ||
nntplib/index | ||
pickle/index | ||
poplib/index | ||
shelve/index | ||
smtplib/index | ||
ssl/index | ||
telnetlib/index | ||
tempfile/index | ||
* |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0006 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.json_load |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0007 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.logging_insecure_listen_config |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0008 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.marshal_load |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0008 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.nntplib_cleartext |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0009 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.pickle_load |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0009 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.poplib_cleartext |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
======= | ||
PRE0010 | ||
======= | ||
|
||
.. automodule:: precli.rules.python.stdlib.shelve_open |
This file was deleted.
This file was deleted.