Scripts Should Not Use gs.sql

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

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!