Java: update getInvalidModelKind with 'read-file' kind

This commit is contained in:
Jami Cogswell
2023-02-11 17:07:25 -05:00
parent 2d7e71dfce
commit c87c3e30c7

View File

@@ -261,9 +261,9 @@ module ModelValidation {
[ [
"open-url", "jndi-injection", "ldap", "sql", "jdbc-url", "logging", "mvel", "xpath", "open-url", "jndi-injection", "ldap", "sql", "jdbc-url", "logging", "mvel", "xpath",
"groovy", "xss", "ognl-injection", "intent-start", "pending-intent-sent", "groovy", "xss", "ognl-injection", "intent-start", "pending-intent-sent",
"url-open-stream", "url-redirect", "create-file", "write-file", "set-hostname-verifier", "url-open-stream", "url-redirect", "create-file", "read-file", "write-file",
"header-splitting", "information-leak", "xslt", "jexl", "bean-validation", "ssti", "set-hostname-verifier", "header-splitting", "information-leak", "xslt", "jexl",
"fragment-injection" "bean-validation", "ssti", "fragment-injection"
] and ] and
not kind.matches("regex-use%") and not kind.matches("regex-use%") and
not kind.matches("qltest%") and not kind.matches("qltest%") and