File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -648,10 +648,10 @@ The information exposed by the health endpoint varies depending on whether or no
648
648
accessed anonymously, and whether or not the enclosing application is secure.
649
649
By default, when accessed anonymously in a secure application, any details about the
650
650
server's health are hidden and the endpoint will simply indicate whether or not the server
651
- is up or down. Furthermore, when accessed anonymously, the response is cached for a
652
- configurable period to prevent the endpoint being used in a denial of service attack.
653
- The `endpoints.health.time-to-live` property is used to configure the caching period in
654
- milliseconds. It defaults to 1000, i.e. one second.
651
+ is up or down. Furthermore the response is cached for a configurable period to prevent the
652
+ endpoint being used in a denial of service attack. The `endpoints.health.time-to-live`
653
+ property is used to configure the caching period in milliseconds. It defaults to 1000,
654
+ i.e. one second.
655
655
656
656
The above-described restrictions can be enhanced, thereby allowing only authenticated
657
657
users full access to the health endpoint in a secure application. To do so, set
You can’t perform that action at this time.
0 commit comments