Python: Add CWE-532 to CleartextLogging

Relevant for this query:

CWE-532: Insertion of Sensitive Information into Log File

> While logging all information may be helpful during development
> stages, it is important that logging levels be set appropriately
> before a product ships so that sensitive user data and system
> information are not accidentally exposed to potential attackers.

See https://cwe.mitre.org/data/definitions/532.html

JS also did this recently: https://github.com/github/codeql/pull/7103
This commit is contained in:
Rasmus Wriedt Larsen
2021-11-24 14:59:52 +01:00
parent c05ffd4d00
commit 651a76c9ce

View File

@@ -10,6 +10,7 @@
* @tags security
* external/cwe/cwe-312
* external/cwe/cwe-359
* external/cwe/cwe-532
*/
import python