Home > database >  spring boot actuator health check endpoint with no information in browser in Production server
spring boot actuator health check endpoint with no information in browser in Production server

Time:11-25

We are using Spring Boot 1.5.2 where We are using Spring Boot starter Actuator, when we are hitting URL with Health check endpoint we are getting status= up, but we want blank information(information should not be shown there in browser)(any information will not be available for any public user).

CodePudding user response:

By default, actuator endpoints are exposed on the same port that serves regular HTTP traffic. You can set different level of security for management Endpoints. Here is a details guide about security of management EndPoint.

You can also run your management API in different port and do not make this port open for public. Just use

management.port=8085

CodePudding user response:

We are using Spring Boot 1.5.2 where We are using Spring Boot starter Actuator, when we are hitting URL with Health check endpoint we are getting status= up, but we want blank information(information should not be shown there in browser)(any information will not be available for any public user).

  • Related