You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sanitization can be customized in two different ways.
61
+
56
62
The default patterns used by the `env` and `configprops` endpoints can be replaced using configprop:management.endpoint.env.keys-to-sanitize[] and configprop:management.endpoint.configprops.keys-to-sanitize[] respectively.
57
63
Alternatively, additional patterns can be configured using configprop:management.endpoint.env.additional-keys-to-sanitize[] and configprop:management.endpoint.configprops.additional-keys-to-sanitize[].
58
64
65
+
To take more control over the santization, define a `SanitizingFunction` bean.
66
+
The `SanitizableData` with which the function is called provides access to the key and value as well as the `PropertySource` from which they came.
67
+
This allows you to, for example, sanitize every value that comes from a particular property source.
68
+
Each `SanitizingFunction` is called before and in addition to the built-in key-based sanitization.
0 commit comments