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 {
40
40
}
41
41
42
42
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
+ }
43
57
}
44
58
45
59
module BasicAuthFlow = DataFlow:: Global< BasicAuthConfig > ;
@@ -56,6 +70,10 @@ private module RequiresSslConfig implements DataFlow::ConfigSig {
56
70
}
57
71
58
72
predicate isSink ( DataFlow:: Node sink ) { sink instanceof InsecureLdapUrlSink }
73
+
74
+ predicate observeDiffInformedIncrementalMode ( ) {
75
+ none ( ) // only used negatively in InsecureLdapAuth.ql
76
+ }
59
77
}
60
78
61
79
module RequiresSslFlow = DataFlow:: Global< RequiresSslConfig > ;
You can’t perform that action at this time.
0 commit comments