跳到主要内容

执行器与安全

DeepSeek V3 中英对照 Actuator and Security

important

一些平台配置了健康检查或类似的功能,并指向 /actuator/health 或其他 actuator 端点。如果 actuator 不是配置服务器的依赖项,对 /actuator/ 的请求可能会匹配配置服务器 API /{application}/{label},从而可能泄露安全信息。在这种情况下,请记得添加 spring-boot-starter-actuator 依赖项,并配置用户,使得调用 /actuator/ 的用户无法访问配置服务器 API /{application}/{label}