Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10559

Audit Trail plugin should log IP address if username is unavailable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The audit trail plugin does not log any identifying characteristics of users who are not logged in. This can make it difficult to figure out who made a particular change. Currently, these changes get logged by the audit-trail plugin like so:

      Aug 2, 2011 11:09:12 AM /configSubmit by ?
      Aug 2, 2011 11:09:37 AM /configSubmit by ?

      It would be an improvement if the audit-trail plugin logged the IP address when the username is unavailable, like so:

      Aug 2, 2011 11:09:12 AM /configSubmit by 10.20.20.236
      Aug 2, 2011 11:09:37 AM /configSubmit by 10.20.20.226

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          src/main/java/hudson/plugins/audit_trail/AuditTrailFilter.java
          http://jenkins-ci.org/commit/audit-trail-plugin/8d1e44b3bce60853dbd47a04b808143194e29c33
          Log:
          [FIXED JENKINS-10559] log IP address for anonymous user instead of "?"

          Compare: https://github.com/jenkinsci/audit-trail-plugin/compare/34447e5...8d1e44b

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: src/main/java/hudson/plugins/audit_trail/AuditTrailFilter.java http://jenkins-ci.org/commit/audit-trail-plugin/8d1e44b3bce60853dbd47a04b808143194e29c33 Log: [FIXED JENKINS-10559] log IP address for anonymous user instead of "?" Compare: https://github.com/jenkinsci/audit-trail-plugin/compare/34447e5...8d1e44b
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_audit-trail #18
          [FIXED JENKINS-10559] log IP address for anonymous user instead of "?"

          alanharder : 8d1e44b3bce60853dbd47a04b808143194e29c33
          Files :

          • src/main/java/hudson/plugins/audit_trail/AuditTrailFilter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_audit-trail #18 [FIXED JENKINS-10559] log IP address for anonymous user instead of "?" alanharder : 8d1e44b3bce60853dbd47a04b808143194e29c33 Files : src/main/java/hudson/plugins/audit_trail/AuditTrailFilter.java

            People

            Assignee:
            mindless Alan Harder
            Reporter:
            piepera piepera
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: