JavaScript restrictions

A white list can be defined that includes a list of Java packages and Java classes that can be used in JavaScript functions defined in inject parameters of a NSM service template. All other Java packages and Java classes not listed in the whitelist will not be allowed.

The whitelist is formed by setting the values of two Netcool Configuration Manager system variables: Scripting - Classes allowed in a script and Scripting - Packages allowed in a script. The system variables represent the list of allowed Java classes and Java packages respectively. At install time these variables do not contain any values, so before attempting to execute custom scripts in a service, these values should be set. If more then one value for a system variable is specified, then the values should be separated by commas.