Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Java: remove deprecations
  • Loading branch information
Jami Cogswell authored and Jami Cogswell committed Feb 24, 2025
commit 978834bd9cc0ec542e45988a82613a0c7a14e40e
9 changes: 4 additions & 5 deletions java/ql/src/Security/CWE/CWE-016/SpringBootActuators.ql
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
*/

import java
deprecated import SpringBootActuators
import SpringBootActuators

deprecated query predicate problems(PermitAllCall permitAllCall, string message) {
permitAllCall.permitsSpringBootActuators() and
message = "Unauthenticated access to Spring Boot actuator is allowed."
}
from PermitAllCall permitAllCall
where permitAllCall.permitsSpringBootActuators()
select permitAllCall, "Unauthenticated access to Spring Boot actuator is allowed."
2 changes: 0 additions & 2 deletions java/ql/src/Security/CWE/CWE-016/SpringBootActuators.qll
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
deprecated module;

import java

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