A developer wants to expose only the `health` and `info` Actuator endpoints over HTTP for external monitoring, while keeping all other endpoints hidden for security. Which configuration in `application.properties` achieves this?
-
A
management.endpoints.web.exposure.exclude=*
-
B
management.endpoints.web.exposure.include=health,info
-
C
management.endpoints.web.enabled-by-default=false
management.endpoint.health.enabled=true
management.endpoint.info.enabled=true
-
D
endpoints.web.exposure=health,info