Make heapdump endpoint restricted by default

See gh-45624

Signed-off-by: Lari Hotari <lhotari@users.noreply.github.com>
This commit is contained in:
Lari Hotari
2025-05-20 17:33:49 +03:00
committed by Phillip Webb
parent 31c864b769
commit a9f5a4194e
4 changed files with 9 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ If your application is a web application (Spring MVC, Spring WebFlux, or Jersey)
[[actuator.endpoints.controlling-access]]
== Controlling Access to Endpoints
By default, access to all endpoints except for `shutdown` is unrestricted.
By default, access to all endpoints except for `shutdown` and `heapdump` is unrestricted.
To configure the permitted access to an endpoint, use its `management.endpoint.<id>.access` property.
The following example allows unrestricted access to the `shutdown` endpoint: