From eccb0fb947b90d027460a9de9025b1ca07a9d745 Mon Sep 17 00:00:00 2001 From: jhh Date: Tue, 18 May 2021 17:11:31 -0500 Subject: Fix sonar vulnerabilities logging user input Issue-ID: POLICY-3230 Signed-off-by: jhh Change-Id: I05fb50ef3c4b6da0603e75084554e061a27a2202 --- .../main/java/org/onap/policy/drools/server/restful/RestManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'policy-management/src/main/java') diff --git a/policy-management/src/main/java/org/onap/policy/drools/server/restful/RestManager.java b/policy-management/src/main/java/org/onap/policy/drools/server/restful/RestManager.java index ca2618c1..89a1c43c 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/server/restful/RestManager.java +++ b/policy-management/src/main/java/org/onap/policy/drools/server/restful/RestManager.java @@ -1648,7 +1648,7 @@ public class RestManager { break; default: status = Status.BAD_REQUEST; - logger.debug("Invalid communication mechanism parameter: {}", comm); + logger.debug("Invalid communication mechanism"); break; } return Response.status(status).entity(sources).build(); @@ -1685,7 +1685,7 @@ public class RestManager { break; default: status = Status.BAD_REQUEST; - logger.debug("Invalid communication mechanism parameter: {}", comm); + logger.debug("Invalid communication mechanism"); break; } return Response.status(status).entity(sinks).build(); -- cgit 1.2.3-korg