---
title: GlideRecord API Usage In Scripted REST API Resource
description: "Impact Area Security Severity High Affected Element N/A ## Rule ID **SN-RESTAPI_GLIDERECORD** ## Impact Scripted REST APIs should use the GlideRecordSecure API. This API ensures that access controls defined on the underlying data are applied for the requesting user. ##…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/servicenow-rules/gliderecord-api-usage-in-scripted-rest-api-resource/"
updated: "2025-03-21"
category: Rules
---

# GlideRecord API Usage In Scripted REST API Resource

Impact Area       Security           Severity

High

           Affected Element

N/A

## Rule ID

**SN-RESTAPI_GLIDERECORD**

## Impact

Scripted REST APIs should use the GlideRecordSecure API. This API ensures that access controls defined on the underlying data are applied for the requesting user.

## Remediation

Ensure that all REST API Resources use GlideRecordSecure methods, instead of GlideRecord methods.

### Time to fix

15 min
