-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathOracledb.qll
More file actions
31 lines (29 loc) · 928 Bytes
/
Oracledb.qll
File metadata and controls
31 lines (29 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Provides classes modeling security-relevant aspects of the `oracledb` PyPI package.
*
* See
* - https://python-oracledb.readthedocs.io/en/latest/index.html
* - https://pypi.org/project/oracledb/
*/
private import python
private import semmle.python.dataflow.new.DataFlow
private import semmle.python.dataflow.new.RemoteFlowSources
private import semmle.python.Concepts
private import semmle.python.ApiGraphs
private import semmle.python.frameworks.PEP249
/**
* Provides models for the `oracledb` PyPI package.
*
* See
* - https://python-oracledb.readthedocs.io/en/latest/index.html
* - https://pypi.org/project/oracledb/
*/
private module Oracledb {
/**
* A model for oracledb as a module that implements PEP 249, providing ways to execute SQL statements
* against a database.
*/
class Oracledb extends PEP249::PEP249ModuleApiNode {
Oracledb() { this = API::moduleImport("oracledb") }
}
}