mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
Update kind model validation
This commit is contained in:
@@ -211,7 +211,11 @@ module ModelValidation {
|
||||
)
|
||||
or
|
||||
exists(string kind | sinkModel(_, _, _, _, _, _, _, kind, _) |
|
||||
not kind = ["code", "sql", "xss", "remote", "html"] and
|
||||
not kind =
|
||||
[
|
||||
"code", "command-injection", "html", "ldap-injection", "log-injection", "remote", "sql",
|
||||
"url-redirection", "xss",
|
||||
] and
|
||||
not kind.matches("encryption-%") and
|
||||
result = "Invalid kind \"" + kind + "\" in sink model."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user