File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
java/ql/lib/semmle/code/java/security Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,20 @@ private module BasicAuthConfig implements DataFlow::ConfigSig {
4040 }
4141
4242 predicate isSink ( DataFlow:: Node sink ) { sink instanceof InsecureLdapUrlSink }
43+
44+ predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
45+
46+ Location getASelectedSourceLocation ( DataFlow:: Node source ) { none ( ) }
47+
48+ Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
49+ result = sink .getLocation ( )
50+ or
51+ exists ( InsecureLdapUrlFlow:: PathNode pathSource , InsecureLdapUrlFlow:: PathNode pathSink |
52+ result = pathSource .getNode ( ) .getLocation ( ) and
53+ pathSink .getNode ( ) = sink and
54+ InsecureLdapUrlFlow:: flowPath ( pathSource , pathSink )
55+ )
56+ }
4357}
4458
4559module BasicAuthFlow = DataFlow:: Global< BasicAuthConfig > ;
@@ -56,6 +70,10 @@ private module RequiresSslConfig implements DataFlow::ConfigSig {
5670 }
5771
5872 predicate isSink ( DataFlow:: Node sink ) { sink instanceof InsecureLdapUrlSink }
73+
74+ predicate observeDiffInformedIncrementalMode ( ) {
75+ none ( ) // only used negatively in InsecureLdapAuth.ql
76+ }
5977}
6078
6179module RequiresSslFlow = DataFlow:: Global< RequiresSslConfig > ;
You can’t perform that action at this time.
0 commit comments