[RTFACT-12922] Access logs DENIED LOGIN doesn't show login user id in logs and only shows 'NA' Created: 29/Nov/16  Updated: 28/Nov/17  Resolved: 22/Nov/17

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Remote Repository , Smart Remote Repository
Affects Version/s: 4.14.2
Fix Version/s: 5.7.0

Type: Improvement Priority: Normal
Reporter: Aaron Rhodes Assignee: Rotem Kfir
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
Relationship
relates to RTFACT-9016 Audit permission changes Resolved
Assigned QA: Anastasiya Muntyan
Epic Link: Q4 Customer Commitments Leap 25
Sprint: Leap 25

 Description   

Scenario -1
If you have a remote repo with credentials to another Artifactory instance and the password field is blank, the log will show an invalid login from user 'NA' which makes it hard to debug the issues from the log.

Steps to reproduce:

  1. Create remote repo
  2. Add username but leave password blank
  3. Click test

It is possible to get into this state even though the UI tries to block it. Suggest we have better logging to help track it down, such as what repo it came from, which user tried to log in, etc...
Scenario -2
This is also applicable for scenario if any user tries to login from UI and access logs still shows NA. Ideally we should at least capture the user who try to login as part of access log


Generated at Wed Apr 08 08:10:46 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.