Skip to content

Commit 18985d0

Browse files
committed
Merge pull request #34051 from izeye
* pr/34051: Update "Customizing Sanitization" documentation Closes gh-34051
2 parents 2e61acb + 0bca966 commit 18985d0

File tree

1 file changed

+1
-4
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+1
-4
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/actuator.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,10 @@ NOTE: When `show-values` is set to `ALWAYS` or `WHEN_AUTHORIZED` any sanitizatio
6666

6767
[[howto.actuator.sanitize-sensitive-values.customizing-sanitization]]
6868
==== Customizing Sanitization
69-
Sanitization can be customized in two different ways.
70-
71-
To take more control over the sanitization, define a `SanitizingFunction` bean.
69+
To take control over the sanitization, define a `SanitizingFunction` bean.
7270
The `SanitizableData` with which the function is called provides access to the key and value as well as the `PropertySource` from which they came.
7371
This allows you to, for example, sanitize every value that comes from a particular property source.
7472
Each `SanitizingFunction` is called in order until a function changes the value of the sanitizable data.
75-
If no function changes its value, the built-in key-based sanitization is performed.
7673

7774

7875

0 commit comments

Comments
 (0)