Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Example procedure for creating a Compliance Job


Use the following procedure to create a Compliance Job in the BMC Server Automation Console.

Before you begin, ensure that you have already run a Component Discovery Job to discover components based on the relevant component templates.

  1. From the Folders view in the console, navigate to the folder in which you want to store the new job (for example, Jobs > yourRole > Workspace).
  2. Right-click the folder and select New > Compliance Job.
    worddav6ec78d0803e5e4444a9eebafededa5dd.png
    The New Compliance Job wizard appears.
    worddav1e6bf2440ec2375f7d951100239fa1d4.png
  3. On the General panel of the wizard, complete each field. Click Next.
    1. Assign a meaningful name to the job (such as CIS Compliance).
    2. In the Description field, optionally enter a description of the job function.
    3. Choose where to save the job (by default, the folder from where you created the job).
    4. Select the Number of Targets to Process in Parallel.
    5. To set the Job to continue despite compliance and data collection errors, under Options, click the check box.
  4. On the Component Templates for Filtering panel, navigate to and select the component template against which you want to analyze servers. Then use the arrow button to move your selection to the list of selected templates. Click Next.
    worddav731c1695dd502d097fa839418dab4f46.png

    For the template to appear on this panel, Compliance operations must be enabled for the template. If the template does not appear, open the template and select the Compliance check box on the General tab. For remediation settings to be enabled (in a subsequent step), select also the Allow Remediation and (optionally) the Allow Auto-Remediation check boxes.

  5. On the Components panel, use the arrows to select components to be analyzed. You can select a server or server group to include all components that are discovered on the server or servers. Click Next.In the following sample figure, the Available Servers smart group is selected.
    worddava77fdbe33906a1a50246a33e144388e6.png
  6. On the Auto-Remediation panel, indicate your Auto-Remediation settings, and click Next.
    worddava2ae8ca5e1682e4161c8dddf5ae42adf.png
  7. To set automatic remediation to begin after the job runs, select Remediate after compliance analysis completes.
  8. In the Remediation name field, enter a name for the remediation package.
  9. In the Save package in field, select a folder in which to save the remediation package (provided that you already associated a remediation package with the relevant rule, within rule definitions).
  10. In the Save remediation/deploy job in field, select a folder in which to save the Deploy Job for the remediation package.
  11. To set the remediation package to include duplicate property names for individual compliance rules that have failed, select the Keep each local property name unique in remediation package check box. If selected, each property name is indexed so that all references to a particular property are retained, and the default value for each property is also retained. If you clear this option, property names are left untouched, but the default value assigned to the property becomes the value of the property for the first failed compliance rule that is merged into the remediation package.
  12. To deploy remediation packages to servers rather than deploying them to the target components of a Compliance Job, select the Use servers as remediation target check box. If you clear this check box, the target components from the Compliance Job are used as the targets for the remediation job.
  13. On the Default Notifications panel, indicate your Job Run Notifications settings and Compliance Results Notifications settings. Click Next.
    worddav93fd3a71d50164056fffd37c047afaf0.png
  14. On the Schedules panel, indicate whether or not you want to execute the job immediately. In addition, to schedule job runs for a future time, click the green + (plus) icon to open the scheduler.
    worddavdfc338210e43793b219cbcf5da766e1c.png
    worddav47c006a71f8cabc260dd529468fdcecb.png
  15. On the Scheduled Job Notifications tab, you can configure special notification settings for individual schedules (instead of the general job notifications that you set in the previous step).
    worddavee26d45ea8474010aaf212b0cf71bf06.png
  16. Click Next to step through the remaining panels (Properties and Permissions). Click Finish.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*