Spring Boot provides the following HealthIndicator implementations out-of-the-box. They are auto-configured by default:
Securing Spring Boot Actuator Endpoints
Out of the box, all sensitive Spring Boot Actuator endpoints are secured. Only authenticated users who have the ACTUATOR role can access those endpoints. You can change the ACTUATOR role name to something else, say SUPERADMIN, by setting the following property: management.security.roles=SUPERADMIN If you have the Spring Boot Security starter on the classpath, the Actuator … Read more