This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
commit c6b2f2cce977e455f7f173dfc972368c9ee4556c Author: Alex Heneveld <[email protected]> AuthorDate: Wed Aug 24 13:25:29 2022 +0100 go properly deep when sanitizing objects --- core/src/main/java/org/apache/brooklyn/core/config/Sanitizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/brooklyn/core/config/Sanitizer.java b/core/src/main/java/org/apache/brooklyn/core/config/Sanitizer.java index f42230775e..bf77163353 100644 --- a/core/src/main/java/org/apache/brooklyn/core/config/Sanitizer.java +++ b/core/src/main/java/org/apache/brooklyn/core/config/Sanitizer.java @@ -235,7 +235,7 @@ public final class Sanitizer { } else if (x instanceof Map) { Map y = MutableMap.of(); ((Map)x).forEach((k,v) -> { - y.put(k, v!=null && Sanitizer.IS_SECRET_PREDICATE.apply(k) ? suppressJson(v, excludeBrooklynDslExpressions) : v); + y.put(k, v!=null && Sanitizer.IS_SECRET_PREDICATE.apply(k) ? suppressJson(v, excludeBrooklynDslExpressions) : suppressNestedSecretsJson(v, excludeBrooklynDslExpressions)); }); return y; } else if (x instanceof Iterable) {
