From 3e37a50b1e0835a0eb04ba1755551e1eafbc236d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 3 Dec 2024 12:01:07 -0800 Subject: [PATCH] Fix actuator access documentation to use 'none' rather than 'disabled' Closes gh-43351 --- .../antora/modules/reference/pages/actuator/endpoints.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc index 9447c58303..f598227339 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc @@ -132,15 +132,15 @@ management: access: unrestricted ---- -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. -The following example allows read-only access to the `loggers` endpoint and disables all other endpoints: +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. +The following example allows read-only access to the `loggers` endpoint and denies access to all other endpoints: [configprops,yaml] ---- management: endpoints: access: - default: disabled + default: none endpoint: loggers: access: read-only @@ -150,6 +150,7 @@ NOTE: Inaccessible endpoints are removed entirely from the application context. 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. + [[actuator.endpoints.controlling-access.limiting]] === Limiting Access