Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60392

[7.6.2] - Query support to restrict JavaScript Code Injection in On Prem clusters

    XMLWordPrintable

Details

    • 0

    Description

      Add query support in on-prem clusters to restrict JS Code Injection in JS UDFs.

      Set the "jsRestrictionsEnabled" flag to true in on-prem mode as well - https://github.com/couchbase/query/blob/master/functions/javascript/javascript.go#L86

       

      In 7.6.0 JS code restrictions have been enabled for provisioned mode clusters.

      In 7.6.1 these restrictions should be enabled for on-prem mode clusters as well.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              dhanya.gowrish Dhanya Gowrish
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty