|
此版本仍在开发中,目前尚不稳定。如需最新稳定版本,请使用 Spring Cloud Config 5.0.1! |
Actuator and Security
某些平台会配置健康检查或其他类似功能,并指向 /actuator/health 或其他端点。如果配置服务器未将 actuator 作为依赖项,则对 /actuator/ 的请求可能会匹配配置服务器的 API /{application}/{label},从而可能泄露敏感信息。请务必在此情况下添加 spring-boot-starter-actuator 依赖项,并配置用户权限,确保调用 /actuator/ 的用户无权访问配置服务器在 /{application}/{label} 处提供的 API。 |