You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,15 +132,15 @@ management:
132
132
access: unrestricted
133
133
----
134
134
135
-
If you prefer access to be opt-in rather than opt-out, set the configprop:management.endpoints.access.default[] property to `disabled` and use individual endpoint `access` properties to opt back in.
136
-
The following example allows read-only access to the `loggers` endpoint and disables all other endpoints:
135
+
If you prefer access to be opt-in rather than opt-out, set the configprop:management.endpoints.access.default[] property to `none` and use individual endpoint `access` properties to opt back in.
136
+
The following example allows read-only access to the `loggers` endpoint and denies access to all other endpoints:
137
137
138
138
[configprops,yaml]
139
139
----
140
140
management:
141
141
endpoints:
142
142
access:
143
-
default: disabled
143
+
default: none
144
144
endpoint:
145
145
loggers:
146
146
access: read-only
@@ -150,6 +150,7 @@ NOTE: Inaccessible endpoints are removed entirely from the application context.
150
150
If you want to change only the technologies over which an endpoint is exposed, use the xref:actuator/endpoints.adoc#actuator.endpoints.exposing[`include` and `exclude` properties] instead.
0 commit comments