From e3c2e1cd019990f6632efacb94146c49044e0930 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 1 Mar 2015 20:35:59 +0800 Subject: [PATCH] Update and rename 40.3. Security with HealthIndicators to 40.3. Security with HealthIndicators.md --- .../40.3. Security with HealthIndicators | 0 .../40.3. Security with HealthIndicators.md | 5 +++++ 2 files changed, 5 insertions(+) delete mode 100644 V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators create mode 100644 V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators.md diff --git a/V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators b/V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators deleted file mode 100644 index e69de29..0000000 diff --git a/V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators.md b/V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators.md new file mode 100644 index 0000000..b7b1940 --- /dev/null +++ b/V. Spring Boot Actuator: Production-ready features/40.3. Security with HealthIndicators.md @@ -0,0 +1,5 @@ +### 40.3. 安全与HealthIndicators + +HealthIndicators返回的信息常常性质上有点敏感。例如,你可能不想将数据库服务器的详情发布到外面。因此,在使用一个未认证的HTTP连接时,默认只会暴露健康状态(health status)。如果想将所有的健康信息暴露出去,你可以把endpoints.health.sensitive设置为false。 + +为防止'拒绝服务'攻击,Health响应会被缓存。你可以使用`endpoints.health.time-to-live`属性改变默认的缓存时间(1000毫秒)。