Performance: Securing actuator endpoints
MEDIUM IMPACT
This affects the initial page load speed and interaction responsiveness by controlling access to sensitive management endpoints.
management.endpoints.web.exposure.include=health,info
spring.security.user.name=admin
spring.security.user.password=strongpassword
# Secure actuator endpoints with basic authentication and limit exposuremanagement.endpoints.web.exposure.include=*
# No authentication or authorization configured for actuator endpoints| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Unsecured actuator endpoints | N/A | N/A | N/A | [X] Bad |
| Secured and limited actuator endpoints | N/A | N/A | N/A | [OK] Good |