Skip to content

Conversation

ggolawski
Copy link
Contributor

This PR fixes FPs in SpringBootActuators query, as pointed out in #2901 (comment).

  • No evidence that Spring Actuators are being used, e.g. http.authorizeRequests().anyRequest().permitAll()
    --> The query now makes sure that the permitAll() refers to Spring Actuators (EndpointRequest)
  • Only safe Actuators are enabled, e.g. EndpointRequest.to("health", "info")
    --> The query now raises the flag only if EndpointRequest.toAnyEndpoint() is being used.

More tests to handle the above cases are added.

No evidence that Spring Actuators are being used, e.g. `http.authorizeRequests().anyRequest().permitAll()`
Only safe Actuators are enabled, e.g. `EndpointRequest.to("health", "info")`
@aschackmull aschackmull merged commit 0d75c6a into github:master May 25, 2020
@ggolawski ggolawski deleted the spring-actuators-fix branch June 3, 2020 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants