...
This compliant solution sanitizes the user name input before logging it. Refer to guideline IDS01-J. Sanitize before processing or storing user inputCarefully filter any data that passes through a trust boundary for more details on input sanitization.
...