Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-23205

Prevent Creating & Updating Groovy Scripts By Default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.21.2
    • Component/s: Scripting
    • Labels:

      Description

      In order to make NXRM more secure by default, we have disabled the scripting related features. This affects scripts as used through the Script REST API and through scheduled tasks.

      Scripts which are present from an upgraded version will continue to be executable but their script source will not editable.

      A detailed article covering this change is here:

      https://support.sonatype.com/hc/en-us/articles/360045220393

      If you need to re-enable adding and editing scripts, add this line to $data-dir/etc/nexus.properties:

      nexus.scripts.allowCreation=true

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mprescott Michael Prescott
            Last Updated By:
            Peter Roth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title