github-code-scanning[bot] commented on code in PR #13518:
URL: 
https://github.com/apache/dolphinscheduler/pull/13518#discussion_r1097138011


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/aspect/AccessLogAspect.java:
##########
@@ -104,12 +111,7 @@
 
         Object ob = proceedingJoinPoint.proceed();
 
-        // log response
-        if (!annotation.ignoreResponse()) {
-            logger.info("RESPONSE TRACE_ID:{}, BODY:{}, REQUEST DURATION:{} 
milliseconds", traceId, ob,
-                    (System.currentTimeMillis() - startTime));
-        }
-
+        logger.info("Call {}:{} success, cost: {}ms", requestMethod, URI, 
(System.currentTimeMillis() - startTime));

Review Comment:
   ## Log Injection
   
   This log entry depends on a [user-provided value](1).
   
   [Show more 
details](https://github.com/apache/dolphinscheduler/security/code-scanning/2658)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to