i set spring booth resourceserverconfigureradapeer. want show sensitive data of health end point shows
{status: up}
spring.profiles.active: oauth
endpoints.health.sensitive: false
this read spring documentation.
information returned healthindicators sensitive in nature. example, don’t want publish details of database server world. reason, default, health status exposed on unauthenticated http connection. if happy complete health information exposed can set endpoints.health.sensitive false.
how show other information?
thank you.
i had similar problem able fix adding line application.properties file.
# disable security actuator endpoints management.security.enabled=false # disable sensitive filter health endpoint endpoints.health.sensitive=false
this disables security actuator endpoints, aware of that. recommend turning endpoints off , enable need, e.g.
# set actuator endpoints disabled default endpoints.enabled=false
and enable health
endpoint can following,
endpoints.health.enabled=true
i hope helps you.
see issue on github repository spring actuator.