get_acls
Retrieve access control list (ACL) rules for a ServiceNow CMDB table to see which roles can read, write, create, or delete records.
Instructions
Get ACL rules governing access to a CMDB table.
Returns access control list entries from sys_security_acl for the specified table. Shows which roles can read, write, create, or delete records. Script conditions are redacted for credentials.
Args: table: The CMDB table to inspect (e.g. cmdb_ci_server). active_only: If True, return only active ACLs. Defaults to True. include_scripts: If True, include full (redacted) script bodies. Defaults to False for token efficiency — set True when you need to review logic. limit: Maximum ACLs to return (1-1000, default 25). offset: Pagination offset.
Returns: JSON object with "table", "count", "total_count", "has_more", "next_offset", and "acls" list containing name, operation, type, admin_overrides, condition, and optionally the redacted script body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| active_only | No | ||
| include_scripts | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |