There are several reusable attributes for audit events across Jenkins. These attributes should be generated and committed to the audit catalog API. Some example attributes that would be useful to start with:

      • userId - string (corresponds to the user who initiated the action)
      • requestId - string (used as a correlation id for logs)
      • requestUri - string (contains the original request URI used for action)
      • nodeName - string (contains the name of the node where action took place)
      • timestamp - string (ISO-8601 datetime format, using UTC timezone) (note that log4j audit doesn't currently define a date or time attribute type; we have the option of using a string or long value, or we could work on contributing a date type upstream)

          [JENKINS-54085] Define common audit attributes

          Matt Sicker created issue -
          Matt Sicker made changes -
          Epic Link New: JENKINS-54082 [ 194705 ]
          Latha Sekar made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Latha Sekar made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Matt Sicker made changes -
          Assignee New: Latha Sekar [ lathasekar ]
          Matt Sicker made changes -
          Released As New: https://github.com/jvz/audit-log-plugin/pull/2
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          David Olorundare made changes -
          Component/s New: audit-log-plugin [ 24638 ]
          Component/s Original: core [ 15593 ]

            lathasekar Latha Sekar
            jvz Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: