Previous Topic: Variable TypesNext Topic: Built-In Variables


User-Defined Variables

CA ControlMinder supports the following user-defined variables:

Static variables

Define a fixed location on a CA ControlMinder endpoint.

You can define static variables that have the same name and different values, but each variable must exist on a separate endpoint and in a separate policy.

Note: If you do not specify a variable type when you create a variable, CA ControlMinder creates a static variable.

Registry value variables

(Windows) Define a location on a CA ControlMinder endpoint based on a registry value.

Note: You can only define registry variables that point to REG_SZ or REG_EXPAND_SZ registry types.

Example: The following rule defines a registry variable named jboss_home:

editres ACVAR ("jboss_home") value("HKLM\Software\Jboss\home") type(regval)

When you deploy this rule in a policy, the Windows endpoint uses the value of the HKLM\Software\Jboss\home registry key to resolve the variable value.

Operating system variables

Define a location on a CA ControlMinder endpoint based on an operating system environment value.

Example: The following rule defines an operating system variable named jboss_home:

editres ACVAR (“jboss_home”) value(“JBOSS_HOME”) type(osvar)

When you deploy this rule in a policy, the endpoint uses the value of the JBOSS_HOME operating system environment variable to resolve the variable value.