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

ScriptConsole activity is not logged

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://github.com/jenkinsci/jenkins/pull/4734

      Jenkins does not log script console activity. This pull request implements logging in the following format:

      IP|username|Activity Type (in this case, "ScriptConsole")|Additional context (in this case, Base64 of the script executing).

      Log severity is set to INFO. This is the lowest severity that is still shown in the logs without setting up custom listeners. This is by design, so that all Jenkins installs will have this log without having to modify the installation.

      The log fields are split by the pipe character for easy parsing, and the script contents are Base64 encoded to ensure the log is in a single line of text.

        Attachments

          Issue Links

            Activity

            paloaltonetworks_kpena Kaue Pena created issue -
            paloaltonetworks_kpena Kaue Pena made changes -
            Field Original Value New Value
            Description Jenkins does not log script console activity. This pull request implements logging in the following format:

            !image-2020-05-21-13-08-17-695.png!

            IP|username|Activity Type (in this case, "ScriptConsole")|Additional context (in this case, Base64 of the script executing).

            Log severity is set to INFO. This is the lowest severity that is still shown in the logs without setting up custom listeners. This is by design, so that all Jenkins installs will have this log without having to modify the installation.

            The log fields are split by the pipe character for easy parsing, and the script contents are Base64 encoded to ensure the log is in a single line of text.
            https://github.com/jenkinsci/jenkins/pull/4734

            Jenkins does not log script console activity. This pull request implements logging in the following format:

            !image-2020-05-21-13-08-17-695.png!

            IP|username|Activity Type (in this case, "ScriptConsole")|Additional context (in this case, Base64 of the script executing).

            Log severity is set to INFO. This is the lowest severity that is still shown in the logs without setting up custom listeners. This is by design, so that all Jenkins installs will have this log without having to modify the installation.

            The log fields are split by the pipe character for easy parsing, and the script contents are Base64 encoded to ensure the log is in a single line of text.
            paloaltonetworks_kpena Kaue Pena made changes -
            Labels logging script security logging lts-candidate script security
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-41516 [ JENKINS-41516 ]
            danielbeck Daniel Beck made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            danielbeck Daniel Beck made changes -
            Labels logging lts-candidate script security logging script security

              People

              Assignee:
              paloaltonetworks_kpena Kaue Pena
              Reporter:
              paloaltonetworks_kpena Kaue Pena
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: