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:
craig mcclendon
2022-03-23 14:12:48 -05:00
committed by GitHub
parent aeef4b176c
commit da319e8761

View File

@@ -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