File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
docs/codeql/support/reusables
python/ql/src/semmle/python Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,8 @@ Python built-in support
166
166
multidict, Utility library
167
167
yarl, Utility library
168
168
mysql-connector-python, Database
169
- MySQLdb, Database
169
+ mysql-connector, Database
170
+ MySQL-python, Database
170
171
psycopg2, Database
171
172
sqlite3, Database
172
173
cryptography, Cryptography library
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ private import semmle.python.frameworks.Flask
14
14
private import semmle.python.frameworks.Idna
15
15
private import semmle.python.frameworks.Invoke
16
16
private import semmle.python.frameworks.Multidict
17
- private import semmle.python.frameworks.MysqlConnectorPython
17
+ private import semmle.python.frameworks.Mysql
18
18
private import semmle.python.frameworks.MySQLdb
19
19
private import semmle.python.frameworks.Psycopg2
20
20
private import semmle.python.frameworks.PyMySQL
Original file line number Diff line number Diff line change 1
1
/**
2
- * Provides classes modeling security-relevant aspects of the `MySQLdb` PyPI package.
2
+ * Provides classes modeling security-relevant aspects of the `MySQL-python` PyPI package
3
+ * (imported as `MySQLdb`).
4
+ *
3
5
* See
4
6
* - https://mysqlclient.readthedocs.io/index.html
5
7
* - https://pypi.org/project/MySQL-python/
@@ -13,7 +15,7 @@ private import semmle.python.ApiGraphs
13
15
private import semmle.python.frameworks.PEP249
14
16
15
17
/**
16
- * Provides models for the `MySQLdb ` PyPI package.
18
+ * Provides models for the `MySQL-python ` PyPI package (imported as `MySQLdb`) .
17
19
* See
18
20
* - https://mysqlclient.readthedocs.io/index.html
19
21
* - https://pypi.org/project/MySQL-python/
Original file line number Diff line number Diff line change 1
1
/**
2
- * Provides classes modeling security-relevant aspects of the `mysql-connector-python` package.
2
+ * Provides classes modeling security-relevant aspects of the `mysql-connector-python`
3
+ * and `mysql-connector` (old package name) PyPI packages (imported as `mysql`).
3
4
* See
4
5
* - https://dev.mysql.com/doc/connector-python/en/
5
6
* - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
@@ -13,12 +14,13 @@ private import semmle.python.ApiGraphs
13
14
private import semmle.python.frameworks.PEP249
14
15
15
16
/**
16
- * Provides models for the `mysql-connector-python` package.
17
+ * Provides classes modeling security-relevant aspects of the `mysql-connector-python`
18
+ * and `mysql-connector` (old package name) PyPI packages (imported as `mysql`).
17
19
* See
18
20
* - https://dev.mysql.com/doc/connector-python/en/
19
21
* - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
20
22
*/
21
- private module MysqlConnectorPython {
23
+ private module Mysql {
22
24
// ---------------------------------------------------------------------------
23
25
// mysql
24
26
// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments