JAVA-023 / Beginner
Exposing all Actuator endpoints
Why is this a problem?
/actuator/env and /heapdump leak secrets and memory dumps.
How to fix it
yaml
management.endpoints.web.exposure.include: health,info
management.endpoint.env.show-values: never