Policy Templates

Two types of templates need to be created for any action: Action Template and Rule Template. An additional Action.xsd schema file must be created. Action.xsd is the schema for all the parameters that are expected by the policy. Refer to Deploying Policy Templates for more information on where these templates and Action.xsd files are to be copied.

Both policy templates consist of two parts: parameters and configuration.

Parameters take the user inputs which are then used by the configuration to formulate policy logic.

The configuration portion of the action template consists of:

  • Action configuration fragment
  • Allowed enforcement point placement information

The configuration portion of the rule template consists of:

  • Exact enforcement point information
  • The types of objects on which the policy can be applied
  • A mapping of the parameters of the actions contained in the rule to the parameters defined in the rule template

The main difference between the action template and rule templates is that the action template defines all allowed values of ActionExecution settings and the Rule template defines the one to be used by a particular policy.

For further information on parameters and the allowed tags, see Parameters and Action Templates.