Unable to access global password system property in scoped application

Jake Sadler
Kilo Sage

I am unable to access global password system property in scoped application. I am able to access other system property types in the global application.

 

Is there something that needs to be done especially for password properties when it comes to cross scope access?

1 ACCEPTED SOLUTION

Hi @Jake Sadler 

 

I'm afraid setting up normal Cross scope permissions would not be enough.
It would require Restricted Caller Access Privilege to be set, but you cannot do this yourself against global scope, so you will have to request this to be done by ServiceNow Support.

 

I doubt they will honour this request though, since it introduces a security risk as well, given it involves passwords.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

3 REPLIES 3

Peter Bodelier
Giga Sage

Hi @Jake Sadler 

 

Can you give a little bit more information on what you are trying to achieve and what you have tried so far?

 

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Hi Peter,

 

I am executing a rest message in a script include inside the application scope.

 

I am able to retrieve a string system property which is the user name. It is called like this: 

gs.getProperty('Dev_UserName'); and is retrieved correctly without error.
 
When I call the password system property like this: 
gs.getProperty('Dev_Password').

 
I get this error:
Security restricted: Access to property 'Dev_Password' from scope 'appName' has been refused due to the property's cross-scope access policy.
 
The correct cross scope permissions for GlideAPI: properties are in place for the application but I have had no luck retrieving this password type system property

Hi @Jake Sadler 

 

I'm afraid setting up normal Cross scope permissions would not be enough.
It would require Restricted Caller Access Privilege to be set, but you cannot do this yourself against global scope, so you will have to request this to be done by ServiceNow Support.

 

I doubt they will honour this request though, since it introduces a security risk as well, given it involves passwords.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.