Scripts should not use gs.sql
Impact area
Manageability
Severity
High
Affected element
Access Control
Scripted Rest Resource
UI Action
Widget
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