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

AuditTrail plugin incompatible with JEP-200

    XMLWordPrintable

Details

    Description

      The AuditTrail plugin is incompatible with JEP-200 Remoting / XStream whitelist integrated into Jenkins core.

      Workaround: add the following commandline parameter to whitelist the required classes:
      -Dhudson.remoting.ClassFilter=java.io.BufferedOutputStream,java.io.PrintStream,java.io.FileOutputStream,java.io.FileDescriptor,java.io.BufferedWriter,java.io.OutputStreamWriter,sun.nio.cs.StreamEncoder,sun.nio.cs.UTF_8,sun.nio.cs.UTF_8$$Encoder,java.nio.charset.CodingErrorAction,java.nio.HeapByteBuffer,java.text.SimpleDateFormat,java.text.DecimalFormat,java.text.DecimalFormatSymbols,java.text.DateFormatSymbols

      There is already a pull request which prevents the serialization of java.io.PrintStream and java.text.SimpleDateFormat: Update ConsoleAuditLogger to store configuration correctly #10 (but unfortunately not yet released).

      Attachments

        Issue Links

          Activity

            bernhardb Bernhard Berbuir created issue -
            bernhardb Bernhard Berbuir made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-47736 [ JENKINS-47736 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/audit-trail-plugin/pull/10 (Web Link)" [ 20681 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            tsek Tomasz Sęk made changes -
            Assignee Tomasz Sęk [ tsek ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            People

              tsek Tomasz Sęk
              bernhardb Bernhard Berbuir
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: