Packages call removal tool
Activate and run the Packages Call Removal Tool (com.glide.script.packages_call_removal) plugin, and then consider whether each of the proposed changes should be completed or rejected.
- Scans scripts for package calls to ServiceNow AI Platform Java classes.
- Proposes changes to replace them with preferred GlideScriptable names.
- Facilitates the script changes.
Remarque :
If this record is a base system record, using the recommendation from the tool
causes the item to be marked as customer_update. However, it may still be useful to use this
tool because it flags Packages,xxx calls.
The Packages Call Removal Tool might
report some package calls used in
sa_mapping_ext_commands and
sa_custom_operation. These package calls belong to the MID Server. As
there are no classes, the code runs in MID Server. If you find any of the following listed
package calls in the Errors section, mark them as Rejected (Ignored). The tool doesn't
report that package call again.Packages.com.snc.sw.util.JSONUtil.toJSONPlain(file_content);Packages.com.snc.sw.util.JSONUtil.toJSONPlain(file_name);Packages.com.snc.sw.commands.HttpCallHandler;Packages.com.snc.sw.dto.ProviderType.SSH
More information
| Attribute | Description |
|---|---|
| Plugin Name | com.glide.script.packages_call_removal |
| Configuration type | System Definition > Plugins |
| Purpose | To remove/replace unauthorized package/member calls with Glide Acceptable (GlideScriptable) names that only allow authorized access to data. |
| Recommended value | Active |
| Functional impact | This remediation would replace the package calls with GlideScriptable APIs, and can affect the customizations that include package calls. The tool doesn’t actually replace package calls automatically. Instead, it provides suggestions that are stored into the packages_call_item table. Your administrator can then decide whether to accept or reject the proposed change. |
| Security risk | (Medium) Client-side API calls that result in data retrieval or object access on server are deemed to be dangerous from a security standpoint. They should be validated for authorization and restriction for sensitive object access. |
Steps to configure
- Navigate to
- Search for the plugin ID =
com.glide.script.packages_call_removal.
- Click Activate/Upgrade to activate the plugin.
- To check inclusion list package calls and inclusion list member calls, complete the actions outlined in the Steps to Configure sections in Restrict allowed Java packages [Updated in Security Center 1.3].