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

Stopping gerrit connection is not secured

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: gerrit-trigger-plugin
    • Labels:
      None

      Description

      curl http://localhost:8080/descriptor/com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement/stopConnection

      I can do that without any authentication, and it will disconnect from gerrit. I found this while setting up a cron job to automatically reconnect. It's not really a problem for startConnection or restartConnection, but could be a problem for stopConnection on a public jenkins

        Activity

        Hide
        rsandell rsandell added a comment -

        commit: 46833d90491cd58bca60
        Released in version 2.3.0

        Show
        rsandell rsandell added a comment - commit: 46833d90491cd58bca60 Released in version 2.3.0

          People

          • Assignee:
            rsandell rsandell
            Reporter:
            ccutrer Cody Cutrer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: