mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Java: refactor QL, move code to libraries
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import java
|
||||
import semmle.code.java.frameworks.spring.SpringSecurity
|
||||
import semmle.code.java.security.SpringBootActuatorsQuery
|
||||
import utils.test.InlineExpectationsTest
|
||||
|
||||
@@ -7,7 +8,7 @@ module SpringBootActuatorsTest implements TestSig {
|
||||
|
||||
predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "hasExposedSpringBootActuator" and
|
||||
exists(PermitAllCall permitAllCall | permitAllCall.permitsSpringBootActuators() |
|
||||
exists(PermitAllCall permitAllCall | permitsSpringBootActuators(permitAllCall) |
|
||||
permitAllCall.getLocation() = location and
|
||||
element = permitAllCall.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user