Update to the Global/flow* api

This commit is contained in:
Ed Minnix
2023-03-27 12:26:18 -04:00
parent 106e5e7145
commit 9bfb13b942
3 changed files with 9 additions and 9 deletions

View File

@@ -9,9 +9,9 @@ class InsecureLdapAuthenticationTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "hasInsecureLdapAuth" and
exists(DataFlow::Node sink | InsecureLdapUrlFlow::hasFlowTo(sink) |
BasicAuthFlow::hasFlowTo(sink) and
not RequiresSslFlow::hasFlowTo(sink) and
exists(DataFlow::Node sink | InsecureLdapUrlFlow::flowTo(sink) |
BasicAuthFlow::flowTo(sink) and
not RequiresSslFlow::flowTo(sink) and
sink.getLocation() = location and
element = sink.toString() and
value = ""