对于最新的稳定版本,请使用 Spring Cloud Config 4.3.0! |
执行器和安全
某些平台配置运行状况检查或类似内容并指向/actuator/health 或其他执行器端点。如果执行器不是配置服务器的依赖项,则请求/actuator/ 将与配置服务器 API 匹配/{application}/{label} 可能泄露安全信息。记得添加spring-boot-starter-actuator 依赖项,并配置用户,以便调用/actuator/ 无权访问位于/{application}/{label} . |