Skip to content

Commit 978834b

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: remove deprecations
1 parent 2ce5920 commit 978834b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

java/ql/src/Security/CWE/CWE-016/SpringBootActuators.ql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
*/
1313

1414
import java
15-
deprecated import SpringBootActuators
15+
import SpringBootActuators
1616

17-
deprecated query predicate problems(PermitAllCall permitAllCall, string message) {
18-
permitAllCall.permitsSpringBootActuators() and
19-
message = "Unauthenticated access to Spring Boot actuator is allowed."
20-
}
17+
from PermitAllCall permitAllCall
18+
where permitAllCall.permitsSpringBootActuators()
19+
select permitAllCall, "Unauthenticated access to Spring Boot actuator is allowed."

java/ql/src/Security/CWE/CWE-016/SpringBootActuators.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
deprecated module;
2-
31
import java
42

53
/** The class `org.springframework.security.config.annotation.web.builders.HttpSecurity`. */

0 commit comments

Comments
 (0)