Compliance Job - Autoremediation
The Autoremediation panel lets you enable automatic remediation of any compliance rule failures that a Compliance Job discovers.
Some typical uses for autoremediation are:
- Fixing noncompliance — Each compliance rule definition can specify a BLPackage to deploy if a component fails the rule and remediation is required. When you enable autoremediation, BMC Server Automation automatically collects and deploys the BLPackages needed to correct compliance rule failures. You can select the component templates to automatically remediate.
- Initial server provisioning — After installing an operating system on a new server, you can install mandatory software by running a Compliance Job. The job compares the new machine to an ideal master. The Compliance Job then automatically deploys the software packages needed to make the new machine match the master.
When you choose to autoremediate Compliance Job results, the remediation jobs start immediately after the Compliance Job completes. The Compliance Job is not considered complete until all remediation jobs complete. If you prefer, you can manually create and deploy the package needed to remediate the results of a Compliance Job. For information, see Manually-remediating-compliance-results.
For more information about remediation jobs and remediation packages, see About-remediation-packages-and-remediation-jobs.
This panel contains the following fields and screen elements for setting up autoremediation:
Remediate after compliance analysis completes | Enables automatic remediation of compliance rule failures. |
Remediation name | A name for the remediation job. |
Save package in | The depot folder where you want to store the BLPackages that are generated by the remediation job. |
Save remediation/deploy job in | The job group where you want to store any Deploy Jobs (and potentially a Batch Job) that this procedure generates. |
Template | A list of component templates for which autoremediation is enabled at the template level (on the General tab of each individual component template). From this list, you can select the component templates to automatically remediate. |
Keep each local property name unique in remediation package | Indicates whether the remediation package can include duplicate property names for individual compliance rules that fail. |
Use servers as remediation target | Indicates whether Deploy Jobs should target the servers (or other devices) associated with the components that are the targets of this Compliance Job. If you clear this option, the Deploy Jobs use the components that are targets of this Compliance Job as the targets for the remediation job. |