summaryrefslogtreecommitdiffstats
path: root/policy-management/src/main
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-05-18 17:11:31 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-05-18 17:11:31 -0500
commiteccb0fb947b90d027460a9de9025b1ca07a9d745 (patch)
treefeadcd4a1732fd73776f79dc1b63eebcb6d3dc31 /policy-management/src/main
parent43639a7f9337d5da58a48cf1e776373d8f700d40 (diff)
Fix sonar vulnerabilities logging user input
Issue-ID: POLICY-3230 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I05fb50ef3c4b6da0603e75084554e061a27a2202
Diffstat (limited to 'policy-management/src/main')
-rw-r--r--policy-management/src/main/java/org/onap/policy/drools/server/restful/RestManager.java4
1 files changed, 2 insertions, 2 deletions
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();