Scripts Should Not Use gs.sql

< 1 min read

Impact Area

Manageability





Severity

High

 

 

 

 

Affected Element

Access Control

Scripted Rest Resource

UI Action

Widget

Inline Scripts

Rule number #

SN-0175

Impact #

gs.sql executes against the database directly. This risks system integrity.

Remediation #

Do not use gs.sql in code. It interacts and alters the database directly, potentially causing significant damage to the integrity of the system. Remove all references, and use GlideRecord instead.

Time to fix #

15 min

Updated on March 21, 2025
Was it helpful ?