Skip to content

Commit 3e37a50

Browse files
committed
Fix actuator access documentation to use 'none' rather than 'disabled'
Closes gh-43351
1 parent 91778e9 commit 3e37a50

File tree

1 file changed

+4
-3
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ management:
132132
access: unrestricted
133133
----
134134

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:
137137

138138
[configprops,yaml]
139139
----
140140
management:
141141
endpoints:
142142
access:
143-
default: disabled
143+
default: none
144144
endpoint:
145145
loggers:
146146
access: read-only
@@ -150,6 +150,7 @@ NOTE: Inaccessible endpoints are removed entirely from the application context.
150150
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.
151151

152152

153+
153154
[[actuator.endpoints.controlling-access.limiting]]
154155
=== Limiting Access
155156

0 commit comments

Comments
 (0)