spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 25082d33e7 Provide more control over access to endpoint operations
This commit reworks the support for enabling and disabling endpoints,
replacing the on/off support that it provided with a finer-grained
access model that supports only allowing read-only access to endpoint
operations in addition to disabling an endpoint (access of none) and
fully enabling it (access of unrestricted).

The following properties are deprecated:

- management.endpoints.enabled-by-default
- management.endpoint.<id>.enabled

Their replacements are:

- management.endpoints.access.default
- management.endpoint.<id>.access

Similarly, the enableByDefault attribute on @Endpoint has been
deprecated with a new defaultAccess attribute replacing it.

Additionally, a new property has been introduced that allows an
operator to control the level of access to Actuator endpoints
that is permitted:

- management.endpoints.access.max-permitted

This property caps any access that may has been configured for
an endpoint. For example, if
management.endpoints.access.max-permitted is set to read-only and
management.endpoint.loggers.access is set to unrestricted, only
read-only access to the loggers endpoint will be allowed.

Closes gh-39046
2024-10-17 13:56:44 +01:00
..
spring-boot-antlib Merge branch '3.3.x' 2024-10-15 10:42:41 +02:00
spring-boot-autoconfigure-processor Strengthen package-like assertions 2024-10-16 16:52:13 -07:00
spring-boot-buildpack-platform Merge branch '3.3.x' 2024-10-17 13:44:25 +02:00
spring-boot-cli Remove remaining use of loader classic 2024-10-01 18:23:35 -07:00
spring-boot-configuration-metadata Apply conventions plugin to all subprojects 2024-09-24 14:26:32 -07:00
spring-boot-configuration-metadata-changelog-generator Merge branch '3.2.x' into 3.3.x 2024-09-24 14:29:09 -07:00
spring-boot-configuration-processor Provide more control over access to endpoint operations 2024-10-17 13:56:44 +01:00
spring-boot-gradle-plugin Merge branch '3.3.x' 2024-10-17 13:44:25 +02:00
spring-boot-gradle-test-support Raise the minimum supported version of Gradle to 8.4 2024-10-01 17:23:24 +01:00
spring-boot-jarmode-tools Merge branch '3.3.x' 2024-10-17 13:44:25 +02:00
spring-boot-loader Merge branch '3.2.x' into 3.3.x 2024-10-17 13:38:03 +02:00
spring-boot-loader-classic Strengthen package-like assertions 2024-10-16 16:52:13 -07:00
spring-boot-loader-tools Merge branch '3.3.x' 2024-10-17 13:44:25 +02:00
spring-boot-maven-plugin Merge branch '3.3.x' 2024-10-15 10:42:41 +02:00
spring-boot-properties-migrator Merge branch '3.2.x' into 3.3.x 2024-09-24 14:29:09 -07:00
spring-boot-test-support Merge branch '3.3.x' 2024-10-17 13:44:25 +02:00
spring-boot-test-support-docker Polish "Upgrade to Testcontainers 1.20.2" 2024-10-15 14:45:15 +02:00