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

IP address of anonymous users is not logged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • audit-trail-plugin
    • None
    • Jenkins version: 2.442
      Audit Trail plugin version: 361.v82cde86c784e

      We allow anonymous users in our Jenkins instance. The problem is, however, is that we would like to see the IP address of the one who triggered a job. Ironically, the IP address is only logged for authenticated users (where it is in fact unnecessary, since the user has already been identified), while for anonymous users it is not. Here's what I see when an unauthenticated user starts a job:

      Aug 24, 2023 3:27:03,083 PMSandbox ยป auto-tests #171 Started by user anonymous, Parameters:[] on node #unknown# started at 2023-08-24T15:00:38Z completed in 1584852ms completed: FAILURE 

      The issue was also discussed in JENKINS-53430, but I was asked to create a dedicated bug ticket.

            pierrebtz Pierre Beitz
            myx_ostankin Vlad Nikiforov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: