Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19053

Ship with Hook Script support disabled by default

XMLWordPrintable

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.
    • CtB - Improve Existing

      Bitbucket 8.18+ will ship with some more secure default settings. One of these is Hook Script support. This feature (intentionally) allows a SYS_ADMIN user to be able to upload scripts that will be executed by Git, as the operating system user.

      Beginning with Bitbucket 8.17 this feature will be disabled by default, it will not be possible (by default) to upload new or updated scripts and existing scripts will cease to be called while the feature is disabled.

      For instances that actually require hook script support the following should be set in $BITBUCKET_HOME/shared/bitbucket.properties:

      feature.hook.scripts=true
      

      When upgrading an existing instance that needs this feature enabled, you can add this setting prior to upgrade.

              behumphreys Ben Humphreys
              behumphreys Ben Humphreys
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: