Details required - glide.sandbox.usersession.allow_unsanitized_messages

Karishma Dubey
Tera Expert

Hello Everyone,

Can you please help me with the details of this property.

glide.sandbox.usersession.allow_unsanitized_messages

when we use this and why?

Also what is mean by sandboxed user?

How we can test this?

Going through the docs but did not got much idea on this.

Access to GlideSystemUserSession scriptable API (servicenow.com)

5 REPLIES 5

Sai Shravan
Mega Sage

Hi @Karishma Dubey ,

 

A sandboxed user session refers to a user account that is used for testing and development purposes in a sandbox environment, which is a separate instance of the ServiceNow platform that is used for testing and development.

The glide.sandbox.usersession.allow_unsanitized_messages property is a system property that controls whether unsanitized messages are allowed in the sandbox environment for the sandboxed user session. By default, this property is set to false, which means that ServiceNow will sanitize any message output to remove potentially sensitive information before displaying it in the sandbox environment.

However, if this property is set to true, the sandboxed user session is allowed to call information or error messages without sanitization. This means that any output from scripts or other actions performed by the sandboxed user session will be displayed without any modification, including potentially sensitive information such as passwords, usernames, or other confidential data.

 

Setting this property to true can be useful for testing purposes, as it allows you to see the exact output from scripts or other actions without any modification. However, it also poses a security risk, as unsanitized messages may contain sensitive information that could be accessed by unauthorized users.

 

In PDI, I tried to make the property to true, but I am unsuccessful to do.

 

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you

Hello, 

 

Below is the document found for the system property 

 

https://docs.servicenow.com/csh?topicname=Access-GlideSystemUserSession-scriptable-API.html&version=...

 

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you

Andrea Billiot
Tera Contributor

I don't think the following is accurate: A sandboxed user session refers to a user account that is used for testing and development purposes in a sandbox environment, which is a separate instance of the ServiceNow platform that is used for testing and development.  I THINK certain commands such as API calls may be run in "sandbox mode" and this property could affect them.  Trying to get more info from HIWAVE now and will update this thread if I do.

Hi @Andrea Billiot, did you get more info from HIWAVE on this?