How to disable default endpoints enabled in the ESP REST JVM.
1. Can we completely disable these without impacting ESPREST via IJO** parameters?
2. What is the best method / syntax for doing so?
Affected Product:
Spring Boot Actuator heapdump endpoint
Spring Boot Actuator env endpoint
Spring Boot Actuator threaddump endpoint
Spring Boot Actuator jolokia endpoint
Spring Boot Actuator httptrace endpoint
Spring Boot Actuator startup endpoint
Component: ESP WORKLOAD AUTOMATION
Release: 12.0
We advise to not disable all. The API mediation integration depends on some, maybe more added later. The health and info endpoint should remain enabled.
Add the following to the RESTPROP member in your initparms.
This is CYBWS008 from the sample library prefix.CD7YSAMP.
management.endpoints.enabled-by-default=false
management.endpoint.info.enabled=true
management.endpoint.health.enabled=true