Closed Bug 1176009 Opened 9 years ago Closed 9 years ago

Log results when associating ldap usernames with Review Board accounts

Categories

(MozReview Graveyard :: General, defect, P1)

Development/Staging
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smacleod, Assigned: dminor)

References

Details

Attachments

(1 file)

      No description provided.
Assignee: nobody → dminor
Status: NEW → ASSIGNED
Priority: P2 → P1
Summary: Log failures when associating ldap usernames with Review Board accounts → Log results when associating ldap usernames with Review Board accounts
mozreview: log ldap associations (bug 1176009) r?smacleod

This adds a log statement for each ldap association that is made.
Attachment #8643891 - Flags: review?(smacleod)
Comment on attachment 8643891 [details]
MozReview Request: mozreview: log ldap associations (bug 1176009) r?smacleod

https://reviewboard.mozilla.org/r/15165/#review14197

::: pylib/mozreview/mozreview/ldap/resources.py:153
(Diff revision 1)
> +        logging.info('associating user: %s with ldap_username: %s' % (user,
> +            ldap_username))

Should we also be logging the IP address that requested this, etc? or can we determine that from other things that will be in the log?

I'm fine with this landing as is but we might want to figure out if we should be doing more.
Attachment #8643891 - Flags: review?(smacleod) → review+
Thanks, pushed to: https://hg.mozilla.org/hgcustom/version-control-tools/rev/38e5a18c791c

We have Bug 1091806 open to audit reviewboard logging which should help us figure out if this level of logging is sufficient or not. We should probably be logging ip addresses for every incoming request if we're not already.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: