Skip to content

Commit e7db69b

Browse files
committed
Polish
See gh-11869
1 parent 3076a55 commit e7db69b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"name": "management.endpoint.health.show-details",
27-
"defaultValue": "when-authorized"
27+
"defaultValue": "never"
2828
},
2929
{
3030
"name": "management.endpoints.enabled-by-default",

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ content into your application. Rather, pick only the properties that you need.
12011201
management.endpoint.health.cache.time-to-live=0ms # Maximum time that a response can be cached.
12021202
management.endpoint.health.enabled= # Whether to enable the health endpoint.
12031203
management.endpoint.health.roles= # Roles used to determine whether or not a user is authorized to be shown details. When empty, all authenticated users are authorized.
1204-
management.endpoint.health.show-details=when-authorized # When to show full health details.
1204+
management.endpoint.health.show-details=never # When to show full health details.
12051205
12061206
# HEAP DUMP ENDPOINT ({sc-spring-boot-actuator}/management/HeapDumpWebEndpoint.{sc-ext}[HeapDumpWebEndpoint])
12071207
management.endpoint.heapdump.cache.time-to-live=0ms # Maximum time that a response can be cached.

0 commit comments

Comments
 (0)