mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
python: more detailed alert message
This commit is contained in:
@@ -57,13 +57,4 @@ module LdapInjection {
|
||||
guard instanceof FilterSanitizerGuard
|
||||
}
|
||||
}
|
||||
|
||||
import DataFlow::PathGraph
|
||||
|
||||
/** Holds if there is an LDAP injection from `source` to `sink` */
|
||||
predicate ldapInjection(DataFlow::PathNode source, DataFlow::PathNode sink) {
|
||||
any(DnConfiguration dnConfig).hasFlowPath(source, sink)
|
||||
or
|
||||
any(FilterConfiguration filterConfig).hasFlowPath(source, sink)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user