mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Convert to using the new DataFlow modules
This commit is contained in:
@@ -15,10 +15,10 @@ import java
|
||||
import semmle.code.java.security.InsecureLdapAuthQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink, InsecureUrlFlowConfig config
|
||||
from InsecureUrlFlowConfiguration::PathNode source, InsecureUrlFlowConfiguration::PathNode sink
|
||||
where
|
||||
config.hasFlowPath(source, sink) and
|
||||
any(BasicAuthFlowConfig bc).hasFlowTo(sink.getNode()) and
|
||||
not any(SslFlowConfig sc).hasFlowTo(sink.getNode())
|
||||
InsecureUrlFlowConfiguration::hasFlowPath(source, sink) and
|
||||
BasicAuthFlowConfiguration::hasFlowTo(sink.getNode()) and
|
||||
not SslFlowConfiguration::hasFlowTo(sink.getNode())
|
||||
select sink.getNode(), source, sink, "Insecure LDAP authentication from $@.", source.getNode(),
|
||||
"LDAP connection string"
|
||||
|
||||
Reference in New Issue
Block a user