Previous Topic: User-Defined VariablesNext Topic: Guidelines for Using Variables


Built-In Variables

CA ControlMinder creates built-in variables in the CA ControlMinder database during the installation process. You cannot modify or delete built-in variables, but you can use built-in variables in policies. Built-in variables are dynamic and dependent on system settings on the CA ControlMinder endpoint. The value of a built-in variable changes when the corresponding system settings do.

Note: When you export a CA ControlMinder database, built-in variables are not included in the output. CA ControlMinder does not create built-in variables when you create a DMS or a PMDB.

CA ControlMinder supports the following built-in variables:

<!HOSTNAME>

Identifies the fully qualified host name of the local computer.

<!HOSTIP>

Identifies the host IP address or addresses.

<!AC_ROOT_PATH>

Identifies the CA ControlMinder installation path.

<!AC_REGISTRY_KEY>

(Windows) Identifies the CA ControlMinder root registry key.

<!USER_OS_ADMIN>

Identifies the administrator of the operating system on the local computer.

<!DOMAINNAME>

Identifies the domain name of the local computer.

<!DNSDOMAINNAME>

Identifies the DNS domain name of the local computer.

Example: Use a Built-in Variable in a Policy

This example creates a network resource rule:

authorize TCP 8333 uid(*) host(<!HOSTNAME>) access(WRITE)

When you deploy the policy to the endpoint host1.example.com and the endpoint compiles the policy, it creates the following rule:

authorize TCP 8333 uid(*) host(host1.example.com) access(WRITE)