Patch in third party library Consul requires 'enable-script-checks' to be set to False. This was required to enable a patch by the vendor. Without this setting the patch could be bypassed. This only affects GitLab-EE.
https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations