disable springboot actuator endpoints other than 'health' for security reasons (#338)
Co-authored-by: Craig McClendon <craig.mcclendon@accenture.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
#Adds the option to go to eg. http://localhost:8080/actuator/env for seeing the running configuration
|
#Adds the option to go to eg. http://localhost:8080/actuator/health for seeing the running configuration
|
||||||
|
#see https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints
|
||||||
management:
|
management:
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: "*"
|
include: "health"
|
||||||
exclude: "beans"
|
|
||||||
spring:
|
spring:
|
||||||
main:
|
main:
|
||||||
allow-circular-references: true
|
allow-circular-references: true
|
||||||
|
|||||||
Reference in New Issue
Block a user