We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82bd2c commit c18db91Copy full SHA for c18db91
powershell/ql/lib/semmle/code/powershell/security/SqlInjectionCustomizations.qll
@@ -40,7 +40,10 @@ module SqlInjection {
40
exists(DataFlow::CallNode call | call.matchesName("Invoke-Sqlcmd") |
41
this = call.getNamedArgument("query")
42
or
43
+ this = call.getNamedArgument("inputfile")
44
+ or
45
not call.hasNamedArgument("query") and
46
+ not call.hasNamedArgument("inputfile") and
47
this = call.getArgument(0)
48
)
49
}
0 commit comments