Skip to content

Commit a512b5a

Browse files
committed
PS: Also use the 'query' predicate for implicit reads.
1 parent e8df3cc commit a512b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/ql/lib/semmle/code/powershell/security/SqlInjectionCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module SqlInjection {
7373

7474
override predicate allowImplicitRead(DataFlow::ContentSet cs) {
7575
cs.getAStoreContent().(DataFlow::Content::KnownKeyContent).getIndex().asString().toLowerCase() =
76-
["query", "inputfile"]
76+
query()
7777
}
7878
}
7979

0 commit comments

Comments
 (0)