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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Scripting Governance Tool management

# Scripting Governance Tool management {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 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 management

The Scripting Governance Tool in ServiceNow helps enforce scripting policies and manage user access to scripting capabilities on your instance.
It operates in two states---enabled and disabled---and is enabled by default.
Only users with thesecurityadminrole can enable, disable, or manage this tool and its associated properties.
Show full answer Show less  

## Key Features

* **Enabled State:** When enabled, the tool activates all related ACLs and enforces scripting governance policies across applicable records and transactions. It evaluates users against scripting access rules, assigns them to Conditional Script Writer groups, and maintains audit logs for security admins.
* **Disabled State:** When disabled, the tool and its ACLs are deactivated, no policies are enforced, and users are no longer evaluated or assigned to script writer groups. However, existing group memberships remain but without enforcement. The interface remains accessible for review, but scanning and access management functions are inactive.
* **User Management:** Security admins can run scans to identify users with scripting access and manage their group memberships accordingly.

## Enabling and Disabling Scripting Governance

To change the state of the Scripting Governance Tool, security admins must:

* **Disable Scripting Governance:** Run the "Disable Scripting Governance" script under **All \> Scheduled Script Executions**. This disables key properties controlling provisioning jobs and deactivates scheduled jobs that manage Conditional Script Writer group membership. It also removes all users from this group via a scheduled job.
* **Enable Scripting Governance:** Run the "Enable Scripting Governance" script under the same location. This activates the necessary properties and scheduled jobs to enforce policies and manage user provisioning to the Conditional Script Writer group.

## Practical Benefits

By managing the Scripting Governance Tool, ServiceNow customers can ensure that scripting access is controlled and auditable, reducing security risks associated with unauthorized scripting. The tool's flexible enable/disable options allow admins to adapt the governance to their operational needs without losing existing configurations or data.  
Enable or turn off the Scripting Governance Tool on your instance by running the appropriate script. Only users with the <kbd class="ph userinput">security_admin</kbd> role can run these scripts and modify the associated
properties.

## Scripting Governance Tool states {#manage-sgt__sgt-states}

Scripting Governance Tool operates in one of two states. The active state determines whether scripting governance policies are enforced and whether users are provisioned to the Conditional Script Writer group.  
Note:  
* Scripting Governance Tool is enabled by default. You can choose to turn off.
* You must elevate your role to <kbd class="ph userinput">security_admin</kbd> to enable or turn off Scripting Governance Tool.
{#manage-sgt__ul_fsm_cjr_djc}
{#manage-sgt__table_chd_vxm_djc__entry__2}

| States | Behavior of Scripting Governance Tool |
|-|-|
| Enabled | * Scripting Governance Tool and all associated ACLs are active on the instance. * Users are evaluated against scripting access rules and assigned to the appropriate script writer groups. * The <kbd class="ph userinput">security_admin</kbd> role can run scans to identify users with scripting access and manage group membership. * Scripting governance policies are enforced across all applicable records and transactions. * Audit logs and visibility into scripting access are available to the security admin. {#manage-sgt__ul_fp3_xxm_djc} |
| Disabled | * Scripting Governance Tool and all associated ACLs are deactivated on the instance. * No scripting governance policies are enforced. Users are not evaluated or assigned to script writer groups. * Existing group memberships from a prior enabled state are preserved but have no enforcement effect. * The Scripting Governance Tool interface remains accessible to the security admin but scanning and access management actions are inactive. * Scripting Governance Tool can be re-enabled by the <kbd class="ph userinput">security_admin</kbd> role at any time without data loss. {#manage-sgt__ul_h5z_xxm_djc} |
[Table 1. Scripting Governance Tool states]

{#manage-sgt__table_chd_vxm_djc}

## Disable scripting governance {#manage-sgt__disable-sgt}

To turn off Scripting Governance, navigate to AllScheduled Script Executions (<kbd class="ph userinput">sysauto_script_list.do</kbd>) and run the Disable Scripting Governance script to deactivate Scripting Governance Tool on your instance.

Running this script performs the following actions:

* Disables the `glide.security.scripting_role.provisioning_job_running` property.
* Disables the `glide.security.scripting_role.auto_provisioning` property.
* Disables the `glide.security.scripting_governance.enabled` property.
* Disables the Add Users to Conditional Script Writer Group and Update Users in Conditional Script Writer Group scheduled jobs.
* Removes all users from the Conditional Script Writer Group through a scheduled job.
{#manage-sgt__ul_hlj_zzm_djc}

## Enable scripting governance {#manage-sgt__enable-sgt}

To enable Scripting Governance, navigate to AllScheduled Script Executions (<kbd class="ph userinput">sysauto_script_list.do</kbd>) and execute the Enable Scripting Governance script to activate Scripting Governance Tool on your instance.

Running this script performs the following actions:

* Enables the `glide.security.scripting_role.provisioning_job_running` property.
* Enables the `glide.security.scripting_governance.enabled` property.
* Enables the Add Users to Conditional Script Writer Group and Update Users in Conditional Script Writer Group scheduled jobs.
* Schedules the Add Users to Conditional Script Writer Group job to run.

*[\>]: and then


