Commit Graph

4154 Commits

Author SHA1 Message Date
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
Moritz Halbritter c018c43886 Merge branch '3.3.x'
Closes gh-42736
2024-10-17 13:44:25 +02:00
Moritz Halbritter 8efe6e02d9 Merge branch '3.2.x' into 3.3.x
Closes gh-42735
2024-10-17 13:38:03 +02:00
Moritz Halbritter a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Yanming Zhou 87cc2efb64 Strengthen package-like assertions
See gh-42682
2024-10-16 16:52:13 -07:00
Phillip Webb 98dd7b2758 Merge branch '3.3.x'
Closes gh-42722
2024-10-16 16:51:18 -07:00
Phillip Webb 476d575371 Merge branch '3.2.x' into 3.3.x
Closes gh-42723
2024-10-16 16:50:55 -07:00
Lee SangMin 497bdb8fee Remove dead "Converting a jar to a war" guide link
See gh-42691
2024-10-16 16:50:09 -07:00
Phillip Webb 06569af789 Polish 'Allow common messages to be specified for message sources'
See gh-42472
2024-10-16 16:42:07 -07:00
Phillip Webb d9668672f8 Merge branch '3.3.x'
Closes gh-42721
2024-10-16 14:14:50 -07:00
Tran Ngoc Nhan 6be4a07e05 Fix typos and formatting errors in documentation
See gh-42718
2024-10-16 14:14:16 -07:00
Phillip Webb d5e1520d12 Merge branch '3.3.x' 2024-10-16 12:39:57 -07:00
Phillip Webb e2819a2150 Merge branch '3.2.x' into 3.3.x 2024-10-16 12:39:40 -07:00
Phillip Webb a4473b97aa Polish 2024-10-16 12:38:34 -07:00
Phillip Webb 3908943fa1 Merge branch '3.3.x'
Closes gh-42703
2024-10-15 17:52:26 -07:00
Phillip Webb 89793a84e5 Fix case used for examples in "Sanitize Sensitive Values"
Closes gh-42702
2024-10-15 17:52:12 -07:00
Stéphane Nicoll a40ae49a76 Upgrade to Testcontainers 1.20.2
Closes gh-42670
2024-10-14 16:25:57 +02:00
Moritz Halbritter c36d5297d2 Merge branch '3.3.x'
Closes gh-42673
2024-10-14 15:54:59 +02:00
Moritz Halbritter 4d29800e32 Merge branch '3.2.x' into 3.3.x
Closes gh-42672
2024-10-14 15:54:37 +02:00
Moritz Halbritter 0a3418cd40 Document how Map properties are bound from environment variables
Closes gh-40936
2024-10-14 15:47:47 +02:00
Moritz Halbritter d4adfea157 Merge branch '3.3.x'
Closes gh-42644
2024-10-14 13:38:42 +02:00
Moritz Halbritter 53e9cb873f Merge branch '3.2.x' into 3.3.x
Closes gh-42643
2024-10-14 13:36:44 +02:00
Moritz Halbritter 1ad959215c Improve classpath index documentation for reproducible builds
Closes gh-41265
2024-10-14 13:31:00 +02:00
Moritz Halbritter 6daf007e85 Merge branch '3.3.x'
Closes gh-42630
2024-10-14 12:09:55 +02:00
Moritz Halbritter 89bf2fc7e6 Move "Customize the whitelabel Error Page" into Spring MVC howto
Closes gh-41624
2024-10-14 12:08:31 +02:00
Moritz Halbritter 4429e847bf Merge branch '3.3.x'
Closes gh-42629
2024-10-14 11:59:26 +02:00
Moritz Halbritter 5754be36f1 Improve documentation for CycloneDX integration
Closes gh-41506
2024-10-14 11:55:45 +02:00
Moritz Halbritter 2c929db53d Merge branch '3.3.x'
Closes gh-42627
2024-10-14 11:05:58 +02:00
Tran Ngoc Nhan e0e50f8f5e Fix Spring Data Cassandra Spring LDAP reference doc links
See gh-42599
2024-10-14 11:05:27 +02:00
Moritz Halbritter 35361d14a3 Merge branch '3.3.x'
Closes gh-42597
2024-10-11 14:10:27 +02:00
Moritz Halbritter 3c6e3c14a8 Merge branch '3.2.x' into 3.3.x
Closes gh-42596
2024-10-11 14:10:12 +02:00
Moritz Halbritter 47129c0c81 Remove links to Spring Data GemFire
Closes gh-42575
2024-10-11 14:09:10 +02:00
Moritz Halbritter 95d7582f58 Fix wrong classname in logging documentation 2024-10-11 13:56:40 +02:00
Moritz Halbritter bd036eb29f Add MyCustomFormat.kt example to documentation
Closes gh-42594
2024-10-11 13:45:16 +02:00
Phillip Webb 8aee3e1e92 Allow structure logging JSON to be customized
Introduce a new `StructureLoggingJsonMembersCustomizer` interface as
well as additional properties that can be used to customize the JSON
produced with structured logging.

Closes gh-42486
2024-10-10 23:52:34 -07:00
Phillip Webb 763266f20d Rationalize structured logging service classes
Rename `ElasticCommonSchemaService` & `GraylogExtendedLogFormatService`
and change a few of the property names. The `Service` suffix was
originally chosen because ECS uses the term, but `Properties` is more
common in the Spring Boot codebase and works better for Graylog.

Closes gh-42578
2024-10-10 23:46:27 -07:00
Andy Wilkinson 3c095b4ec2 Prefer DynamicPropertyRegistar to DynamicPropertyRegistry
Closes gh-41996
2024-10-10 15:25:44 +01:00
Andy Wilkinson 9ef82dc864 Merge branch '3.3.x'
Closes gh-42521
2024-10-07 14:18:38 +01:00
Andy Wilkinson 6209aef319 Order alphabetically the sections in Common Application Properties
Closes gh-42520
2024-10-07 14:17:55 +01:00
Anthony Dahanne 416413957a Use builder-jammy-java-tiny when using Buildpacks
See gh-42508
2024-10-07 13:30:41 +02:00
Andy Wilkinson 42ad6ddf0a Raise the minimum supported version of Gradle to 8.4
Closes gh-42481
2024-10-01 17:23:24 +01:00
Phillip Webb 99142dbbb2 Merge branch '3.3.x' 2024-09-30 16:25:47 -07:00
Phillip Webb ec615f631c Merge branch '3.2.x' into 3.3.x 2024-09-30 16:03:30 -07:00
Phillip Webb 05b4edfd2c Use `ifeval` block for Commercial/OSS documentation
See gh-42333
2024-09-30 15:56:40 -07:00
Stéphane Nicoll f908fcd1f3 Merge branch '3.3.x'
Closes gh-42473
2024-09-30 09:14:12 +02:00
Tran Ngoc Nhan 44848aa88d Fix links to Micrometer reference doc
See gh-42467
2024-09-30 09:12:36 +02:00
Dmytro Nosan cee7439dbe Add service connection support for Hazelcast
See gh-42416
2024-09-26 14:34:12 +02:00
Moritz Halbritter fb3dd68dd3 Merge branch '3.3.x'
Closes gh-42455
2024-09-26 14:02:15 +02:00
Moritz Halbritter 2ba2bd9716 Merge branch '3.2.x' into 3.3.x
Closes gh-42454
2024-09-26 14:00:58 +02:00
Tran Ngoc Nhan db9cb54ce0 Polish documentation
See gh-42445
2024-09-26 13:58:32 +02:00