We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ActiveThreatModelSource
1 parent 4a21a85 commit 535db98Copy full SHA for 535db98
python/ql/lib/semmle/python/Concepts.qll
@@ -58,11 +58,11 @@ module ThreatModelSource {
58
/**
59
* A data flow source that is enabled in the current threat model configuration.
60
*/
61
-class ActiveThreatModelSource extends DataFlow::Node {
+class ActiveThreatModelSource extends ThreatModelSource {
62
ActiveThreatModelSource() {
63
exists(string kind |
64
currentThreatModel(kind) and
65
- this.(ThreatModelSource).getThreatModel() = kind
+ this.getThreatModel() = kind
66
)
67
}
68
0 commit comments