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
166166 multidict, Utility library
167167 yarl, Utility library
168168 mysql-connector-python, Database
169- MySQLdb, Database
169+ mysql-connector, Database
170+ MySQL-python, Database
170171 psycopg2, Database
171172 sqlite3, Database
172173 cryptography, Cryptography library
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ private import semmle.python.frameworks.Flask
1414private import semmle.python.frameworks.Idna
1515private import semmle.python.frameworks.Invoke
1616private import semmle.python.frameworks.Multidict
17- private import semmle.python.frameworks.MysqlConnectorPython
17+ private import semmle.python.frameworks.Mysql
1818private import semmle.python.frameworks.MySQLdb
1919private import semmle.python.frameworks.Psycopg2
2020private import semmle.python.frameworks.PyMySQL
Original file line number Diff line number Diff line change 11/**
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+ *
35 * See
46 * - https://mysqlclient.readthedocs.io/index.html
57 * - https://pypi.org/project/MySQL-python/
@@ -13,7 +15,7 @@ private import semmle.python.ApiGraphs
1315private import semmle.python.frameworks.PEP249
1416
1517/**
16- * Provides models for the `MySQLdb ` PyPI package.
18+ * Provides models for the `MySQL-python ` PyPI package (imported as `MySQLdb`) .
1719 * See
1820 * - https://mysqlclient.readthedocs.io/index.html
1921 * - https://pypi.org/project/MySQL-python/
Original file line number Diff line number Diff line change 11/**
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`).
34 * See
45 * - https://dev.mysql.com/doc/connector-python/en/
56 * - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
@@ -13,12 +14,13 @@ private import semmle.python.ApiGraphs
1314private import semmle.python.frameworks.PEP249
1415
1516/**
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`).
1719 * See
1820 * - https://dev.mysql.com/doc/connector-python/en/
1921 * - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
2022 */
21- private module MysqlConnectorPython {
23+ private module Mysql {
2224 // ---------------------------------------------------------------------------
2325 // mysql
2426 // ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments