Skip to content

Commit 37f624e

Browse files
author
Alvaro Muñoz
committed
Fix incorrect import for asPartialModel
1 parent def0f47 commit 37f624e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/src/library_sources/ExternalAPIsQuery.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ private import semmle.code.csharp.dataflow.flowsources.Remote
99
private import semmle.code.csharp.frameworks.System
1010
private import semmle.code.csharp.dataflow.FlowSummary
1111
// SECLAB: Import CSV utils
12-
private import semmle.code.csharp.dataflow.internal.DataFlowPrivate as DataFlowPrivate
12+
private import semmle.code.csharp.dataflow.internal.ExternalFlow as ExternalFlow
1313

1414
// SECLAB: Import Csv::asPartialModel
15-
predicate asPartialModel = DataFlowPrivate::Csv::asPartialModel/1;
15+
predicate asPartialModel = ExternalFlow::asPartialModel/1;
1616

1717
/**
1818
* A callable that is considered a "safe" external API from a security perspective.

0 commit comments

Comments
 (0)