Skip to content

Commit 681623d

Browse files
committed
Update kind model validation
1 parent 0f85b98 commit 681623d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,11 @@ module ModelValidation {
211211
)
212212
or
213213
exists(string kind | sinkModel(_, _, _, _, _, _, _, kind, _) |
214-
not kind = ["code", "sql", "xss", "remote", "html"] and
214+
not kind =
215+
[
216+
"code", "command-injection", "html", "ldap-injection", "log-injection", "remote", "sql",
217+
"url-redirection", "xss",
218+
] and
215219
not kind.matches("encryption-%") and
216220
result = "Invalid kind \"" + kind + "\" in sink model."
217221
)

0 commit comments

Comments
 (0)