Skip to content

Commit f237d2a

Browse files
committed
Refactor to use ThreatModelFlowSource
1 parent 5198f52 commit f237d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/security/dataflow/ExternalAPIsQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class ExternalApiDataNode extends DataFlow::Node {
9292
deprecated class UntrustedDataToExternalApiConfig extends TaintTracking::Configuration {
9393
UntrustedDataToExternalApiConfig() { this = "UntrustedDataToExternalAPIConfig" }
9494

95-
override predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }
95+
override predicate isSource(DataFlow::Node source) { source instanceof ThreatModelFlowSource }
9696

9797
override predicate isSink(DataFlow::Node sink) { sink instanceof ExternalApiDataNode }
9898
}

0 commit comments

Comments
 (0)