Defining remediation options in the Rule Editor
The Remediation panel lets you specify the actions to take for a compliance rule.
When a Compliance Job runs, it uses the compliance parts on a target and compares them with the compliance rules specified for that component template. If the parts on a target do not satisfy a compliance rule, remediation is possible. You can choose to ignore the failure for this rule, make no remediation on a component at all, or deploy a BLPackage to resolve the issue.
If you deploy a package, you can specify values for any local properties assigned to the BLPackage. When you assign values to the BLPackage, you can choose as a value a local property assigned to the component template. By doing so, you essentially map a component template property to a BLPackage property. If you have defined property instances for the component template, a remediation job applies this BLPackage to all of those instances if any instance fails this compliance rule.
For an example demonstrating how to ensure application compliance using compliance rule remediation and other component-related functionality, see Using component templates to ensure compliance for multiple instances of an application.
To define remediation options for a compliance rule
- Under Specify Remediation Action on the Remediation tab, select one of the following:
- Do not remediate this rule (ignore failure) — The failure is ignored and no remediation is performed for this rule on this component.
- Disable remediation for all rules on servers where this rule fails — No remediation is performed on the target component for any rule where this rule has failed. For those targets where the rule has failed you will see a Create Remediation Package option, which you should ignore. In this case, selecting the Create remediation package option generates the following error: No Repairable components exist. Cannot create Remediate Package. In other words, if this rule fails, do not attempt to perform any remediation on this component.
- Deploy the following BLPackage — A BLPackage that you specify is deployed to the target server to correct the rule failure.
- If you selected the Deploy the following BLPackageoption for remediation of the compliance rule, do the following:
- For Package, click Select an object from the Depot
to navigate to the BLPackage that you want to deploy to correct this rule failure.
- Check Allow Auto-remediation if the BLPackage you identified in the previous step should be automatically deployed when this compliance rule is not satisfied. This option is dimmed if you did not check Allow Auto-remediation on the General tab of the Component Template definition (see General-tab-for-a-component-template).
- If the BLPackage that you are deploying includes local properties, you can use the Properties list to edit their values. First select the property to edit. Then, click in the Value column and enter a new value. Alternatively, you can click Reset property to default value
to enter the default value for this property.
- If any property in the list requires a value, you must provide one before you can complete this panel of the Compliance Rule Editor.
- For Package, click Select an object from the Depot