Skip to content

Commit a53141f

Browse files
Fix JMX exposure default in config metadata and docs
Fixes spring-projectsgh-33072
1 parent 21f0fdf commit a53141f

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
@@ -66,7 +66,7 @@
6666
},
6767
{
6868
"name": "management.endpoints.jmx.exposure.include",
69-
"defaultValue": "*"
69+
"defaultValue": "health"
7070
},
7171
{
7272
"name": "management.endpoints.jmx.unique-names",

spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/endpoints.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ To change which endpoints are exposed, use the following technology-specific `in
159159
|
160160

161161
| configprop:management.endpoints.jmx.exposure.include[]
162-
| `*`
162+
| `health`
163163

164164
| configprop:management.endpoints.web.exposure.exclude[]
165165
|

0 commit comments

Comments
 (0)