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

Add listener for script console to allow tracking its usage

    XMLWordPrintable

Details

    Description

      The script console allows running arbitrary Groovy scripts on the Jenkins instance. While it can only be used by admins, it may still be desired to track its usage. Motivations to track it may be:

      • Disaster Analysis (after running a destructive script)
      • Audit requirements (Legal / Regulatory)
      • Transparency

      An extendable listener that is triggered during the script execution would be light-weight and flexible towards user's requirements.

      Attachments

        Issue Links

          Activity

            meiswjn Jan created issue -
            meiswjn Jan added a comment - Pull Request: Feature/add script console listener by meiswjn · Pull Request #6539 · jenkinsci/jenkins (github.com)
            notmyfault Alexander Brandes made changes -
            Field Original Value New Value
            Remote Link This issue links to "https://github.com/jenkinsci/jenkins/pull/6539 (Web Link)" [ 27746 ]
            notmyfault Alexander Brandes made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            notmyfault Alexander Brandes made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            pierrebtz Pierre Beitz made changes -
            Labels audit-logging core jenkins 3.11-fixed audit-logging core jenkins
            pierrebtz Pierre Beitz made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            pierrebtz Pierre Beitz made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            meiswjn Jan added a comment -

            Hey pierrebtz, I think you closed the wrong issue This is related to https://github.com/jenkinsci/audit-trail-plugin/pull/72 

            meiswjn Jan added a comment - Hey pierrebtz , I think you closed the wrong issue This is related to https://github.com/jenkinsci/audit-trail-plugin/pull/72  
            pierrebtz Pierre Beitz added a comment -

            True... sorry about that.

            pierrebtz Pierre Beitz added a comment - True... sorry about that.
            pierrebtz Pierre Beitz made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            pierrebtz Pierre Beitz made changes -
            Status Reopened [ 4 ] In Progress [ 3 ]
            pierrebtz Pierre Beitz made changes -
            Labels 3.11-fixed audit-logging core jenkins audit-logging core jenkins
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-41516 [ JENKINS-41516 ]
            danielbeck Daniel Beck made changes -
            Resolution Duplicate [ 3 ]
            Status In Progress [ 3 ] Closed [ 6 ]

            People

              meiswjn Jan
              meiswjn Jan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: