---
sourceDocument: Australia Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/platform-security

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Explore Scripting Governance Tool

# Scripting Governance Tool features {#ariaid-title1}

Release version: Australia  
Updated April 6, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Scripting Governance Tool features

The Scripting Governance Tool provides centralized control for managing scripting access across your ServiceNow AI Platform, introduced in the Zurich release.
It adds a mandatory second permission layer requiring users to be members of theConditional Script Writer groupwith thesncrequiredscriptwriterpermissionrole to edit any script fields.
This complements existing ACL-based permissions, enhancing security by ensuring only authorized users can modify scripts that affect platform behavior and data integrity.
Show full answer Show less  

## Two-Layer Access Model

* **Layer 1:** Existing field-level ACLs must be passed.
* **Layer 2:** User must hold the **sncrequiredscriptwriterpermission** role via Conditional Script Writer group membership.

Both layers must be satisfied for script editing; possessing only one is insufficient. This model restricts scripting access more securely compared to previous releases, where ACLs alone governed access.

## Data Type ACLs and Role Enforcement

To enforce Layer 2, nine new data type ACLs require the scripting permission role for script-related fields (e.g., `scriptclient`, `emailscript`, `htmltemplate`). Notably, the admin role does not automatically grant scripting access; admins must also satisfy these requirements.

## Scheduled Jobs and Automation

* **One-time provisioning job:** Runs immediately after Zurich upgrade to add eligible users to the Conditional Script Writer group, preserving existing scripting access.
* **Recurring weekly job:** Maintains group membership by adding or removing users based on eligibility criteria.

These jobs use system properties to control execution and can be disabled for manual management if preferred.

## Eligibility Criteria for Scripting Access

* Users must be internal (not external), have the `sncinternal` role, and at least one additional role.
* External users and those with conflicting roles (e.g., `sncexternal`) cannot have scripting access.

## Scripting Governance Tool Dashboard

This dashboard enables administrators to:

* View users with scripting access via the Conditional Script Writer group membership.
* See which groups and roles include the scripting permission role.
* Manually add or revoke scripting access by managing group membership.
* Scan audit logs to identify users who have edited script fields within a specified timeframe.

**Best practice:** Manage scripting access exclusively through the Conditional Script Writer group to maintain centralized control and avoid diluting governance by assigning the scripting role as a child role in multiple roles or groups.  
The Scripting Governance Tool provides a single, centralized control for managing scripting access across your ServiceNow AI Platform.

The Zurich release introduces a feature that gives administrators centralized control over who can edit script fields on the ServiceNow AI Platform. The feature adds a new permission layer built on the Conditional Script Writer group and its child role, <kbd class="ph userinput">snc_required_script_writer_permission</kbd>. Users must be
members of this group to edit any script field, regardless of their existing ACL-based access. This permission layer is enforced through data-type ACLs and maintained by scheduled jobs and system properties.

To manage this feature, ServiceNow AI Platform provides the Scripting Governance Tool --- a dashboard where administrators can see which users have scripting access, scan the instance for users who have edited script fields, and
directly add or revoke scripting access from users.

## Why it matters {#explore-sgt__why_sgt_matters}

Scripting can read and write data across tables, bypass business logic, and alter platform behavior at a fundamental level making scripting access one of the most important permissions to govern on any instance.

Before Zurich, scripting access was controlled solely by ACLs on individual script fields. To determine which users could edit scripts, administrators had to check each ACL individually. There was no single place to view or manage
scripting access across the instance.

Scripting governance feature addresses it by adding a mandatory second layer of access control on top of existing ACL-based permissions. Satisfying a field-level ACL alone is no longer sufficient to edit a script field. Security administrators can manage scripting access centrally by adding or removing users from the Conditional Script Writer group.

## The two-layer access model {#explore-sgt__two_layer_model}

Scripting governance feature enforces a two-layer access model. Both layers must pass independently before a user can edit any script field. Passing one layer alone is not sufficient.

Layer 1 --- Existing field-level ACL
:   The user must pass the existing ACL on the scripting field (default or custom). This check is unchanged from pre-Zurich behavior.

Layer 2 --- Scripting Governance Tool role check

:   The user must also hold the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role, which is granted through membership in the Conditional Script Writer group.

Important:  
A user who could edit script fields before the Zurich upgrade --- because their roles satisfied the field-level ACL --- will be blocked after the upgrade unless they also satisfy Layer 2. The
`snc_required_script_writer_permission` role does not grant new scripting access on its own. It only unlocks access for users who already pass Layer 1.

The following table summarizes access outcomes under the two-layer model.
{#explore-sgt__two_layer_model__entry__3}

| Passes field-level ACL (Layer 1)? | Holds `snc_required_script_writer_permission` (Layer 2)? | Can edit script field? |
|-|-|-|
| Yes | Yes | ✅ Yes |
| Yes | No | ❌ No |
| No | Yes | ❌ No |
| No | No | ❌ No |
[ ]

## Data type ACLs {#explore-sgt__section_cy4_24x_x3c}

Scripting governance feature introduces 9 data type ACLs to enforce Layer 2. These are deny unless ACLs that require the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role for the following
data types:

Data type
:
    * script
    * script_client
    * script_plain
    * script_server
    * email_script
    * html_script
    * html_template
    * xml
    * condition_string

    {#explore-sgt__ul_q5m_m4x_x3c}  
    Note:  
    The admin role does not have scripting access by default. Admin users are subject to the same two-layer check and cannot edit script fields unless they are members of the Conditional Script Writer group or explicitly hold the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role. To learn more, see [Datatype ACL](RkMF3HTVFRF33b7XHqP02w "The datatype ACL enables you to write ACLs that apply to all fields of a specific type.").

## Scheduled jobs and properties {#explore-sgt__section_at1_w4x_x3c}

As part of the scripting governance feature, the Conditional Script Writer group is introduced, which has the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role as a child role. When the Zurich
upgrade completes, a one-time scheduled job runs to auto-populate all eligible users to this group so that no one loses scripting access after the upgrade. After that job completes, a recurring weekly job is created to keep the
group membership up to date. Both jobs and their eligibility criteria are described as follows:

Add users to Conditional Script Writer group
:   A job that runs once immediately after the Zurich upgrade completes. It adds all users who meet the eligibility criteria to the Conditional Script Writer group, so that no user loses scripting access
    after the upgrade. After the job completes, the platform disables it.
:   The job uses the property <kbd class="ph userinput">glide.security.scripting_role.provisioning_job_running</kbd>, which is set to true while the job is running and false after it completes. When the job finishes, it creates the
    property <kbd class="ph userinput">glide.security.scripting_role.auto_provisioning</kbd> and sets it to true.

Update users in Conditional Script Writer group
:   A weekly job that adds new users who meet the eligibility criteria to the group and removes users who no longer meet the eligibility criteria. It is controlled by the
    <kbd class="ph userinput">glide.security.scripting_role.auto_provisioning</kbd> property.{#explore-sgt__table_e21_cpx_x3c__entry__2}

    | Value | Behaviour |
    |-|-|
    | true (default) | The weekly job runs on schedule and adds qualifying users to the group automatically. |
    | false | The job does not run. Users are only added to the group manually by an administrator. |
    [Table 1. Update behavior based on the property]

    {#explore-sgt__table_e21_cpx_x3c}
:
    To disable automatic provisioning, set <kbd class="ph userinput">glide.security.scripting_role.auto_provisioning</kbd> to false in System Properties.  
    Note:  
    The <kbd class="ph userinput">glide.security.scripting_role.auto_provisioning</kbd> property is created at runtime and has a different sys_id on every instance. Reference it by a property name.

## Eligibility criteria {#explore-sgt__section_k5b_kpx_x3c}

Both scheduled jobs use the same criteria to determine which users are added to the Conditional Script Writer group.
{#explore-sgt__table_cmv_kpx_x3c__entry__4}

| Explicit Role plugin | User type | Requirement | Added to group? |
|-|-|-|-|
| Enabled | External | --- | No |
| Enabled | Internal | Must have snc_internal and at least one additional role | Yes |
| Disabled | Any user | Must have at least one role | Yes |
[Table 2. Eligibility criteria]

{#explore-sgt__table_cmv_kpx_x3c}  
Note:  
The snc_external role and the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role are conflicting roles. ServiceNow AI Platform does not allow both roles to the same user. External users cannot have scripting access.

## Scripting Governance Tool {#explore-sgt__section_m5b_kpx_x3c}

The Scripting Governance Tool is a dashboard that helps administrators manage scripting access on the ServiceNow platform. It provides visibility into users who are members of the Conditional Script Writer
group --- giving a clear picture of how many users can script on your instance.

You can also view which groups contain the scripting role and which roles contain it as a child role. There are two ways to manage scripting access through the tool:

* Manual configuration: Manually add or remove users from the Conditional Script Writer group to control who has scripting access.
* Scan for users who have scripted: Scan your instance to find users who have scripted within a specific time frame. The scan queries the audit logs and identifies any user who has performed write or update to a table having script field.

{#explore-sgt__ul_n5b_kpx_x3c}   

Note:  
Consider managing scripting access exclusively through the Conditional Script Writer group. Adding the <kbd class="ph userinput">snc_required_script_writer_permission</kbd> role as a child role to other roles or groups reduces your ability to centrally control who can script on your instance.

