How to GlideRecord to syslog from a scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 07:14 PM
I got the following error when querying a GlideRecord against syslog from a scoped application.
"com.glide.script.fencing.access.ScopeAccessNotGrantedException:read access to syslog not granted"
I think I should add a record to the cross-scope-privileges, but I don't know the specific method.
Please tell me how to resolve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 07:22 PM
Hi @__ __2,
Yes. or you need to create Script include with GlideRecord in Global scope and call in your application scope.
Take a look at old thread solution: https://www.servicenow.com/community/itsm-forum/i-am-getting-a-security-restriction-error-when-i-run...
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 07:59 PM
Hello @__ __2 ,
To grant your scoped application access to the "syslog" table, you need to add a cross-scope privilege for the affected table. Cross-scope privileges allow one scope (application) to access tables in another scope. You can follow below step to achieve it
- Navigate to "System Security" > "Cross-Scope Privileges" in the application navigator.
- Click the "New" button to create a new cross-scope privilege record.
- In the "Source Scope" field, select the scope of your application.
- In the "Target Table" field, enter "syslog" or search for it in the table picker.
- Configure the necessary privileges, such as "Read" or any other required permissions.
- Save the cross-scope privilege record.
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 09:39 PM
I tried it, but the result did not change.
Are there any flaws in the settings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 05:46 AM
Hi @__ __2,
Have you tried by creating Script include with GlideRecord in Global scope and call in your application scope?
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar