Refactor JndiInjection

This commit is contained in:
Ed Minnix
2023-03-21 17:42:19 -04:00
parent 8bf3315bb5
commit 423ab1d9cf
3 changed files with 33 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ class HasJndiInjectionTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "hasJndiInjection" and
exists(DataFlow::Node sink, JndiInjectionFlowConfig conf | conf.hasFlowTo(sink) |
exists(DataFlow::Node sink | JndiInjectionFlow::hasFlowTo(sink) |
sink.getLocation() = location and
element = sink.toString() and
value = ""