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

Define common audit attributes

XMLWordPrintable

      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)

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

              Created:
              Updated:
              Resolved: