Apply static analysis to all users

reference australia Updated Sep 10, 2026 1 min read sc-apply-static-analysis-to-all-users.md
Raw file servicenow.com

Configure static analysis to examine scripts from both authenticated and unauthenticated users rather than limiting analysis to guest users only.

By default, static analysis examines all scripts regardless of user authentication status. Setting the com.glide.script.static_analysis.only_check_unauthenticated_users property to true limits analysis to unauthenticated users only, creating a security gap for authenticated users. Setting the property to false confirms comprehensive security coverage across all user types.

To configure this property:

  1. Navigate to /sys_properties_list.do on the <ph keyref="var.company-no-reg-tm"/> instance.
  2. Verify the com.glide.script.static_analysis.only_check_unauthenticated_users property is set to false.

More information

Attribute

Description

Configuration name

com.glide.script.static_analysis.only_check_unauthenticated_users

Configuration type

System Properties (/sys_properties_list.do)

Data type

Boolean

Recommended value

false

Default value

false

Fallback value

false

Category

Malicious code

Security risk

  • Security risk rating: Medium
  • CVSS score: 6.8
  • Security risk details:

When this property is set to true, static analysis applies only to unauthenticated users, creating significant security gaps:

-   Authenticated users can execute malicious scripts without detection.
-   Insider threats from legitimate users bypass static analysis.
-   Attacks that use stolen credentials or session hijacking avoid analysis.
-   Assumes authenticated users are trusted which may not be valid in all environments.
-   Service accounts and integration users may have elevated privileges but bypass analysis.

Functional impact

Setting this property to false brings authenticated-user scripts under static analysis. Existing authenticated-user scripts using patterns like Array.prototype access may trigger security violations. Test critical business rules, script includes, and scheduled jobs before rolling out this property.

Dependencies and prerequisites

The com.glide.script.static_analysis.disabled must be set to false for the com.glide.script.static_analysis.only_check_unauthenticated_users property to have any effect.

**Parent Topic:**[Malicious code](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-malicious-code.md)
Keywords static analysissecurityauthenticated usersunauthenticated usersscript security
Search documentation
Search document titles and file paths on the australia branch