Skip to content

Commit

Permalink
Audit the request params
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Feb 21, 2023
1 parent 81f16df commit 0632860
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ object AuthenticationAuditLogger extends Logging {
sb.append(s"proxyIp=${HTTP_PROXY_HEADER_CLIENT_IP_ADDRESS.get()}").append("\t")
sb.append(s"method=${request.getMethod}").append("\t")
sb.append(s"uri=${request.getRequestURI}").append("\t")
Option(request.getQueryString).foreach(params => sb.append(s"params=$params").append("\t"))
sb.append(s"protocol=${request.getProtocol}").append("\t")
sb.append(s"status=${response.getStatus}")
info(sb.toString())
Expand Down

0 comments on commit 0632860

Please sign in to comment.