Analyzing system compliance
The Compliance module of TrueSight Server Automation enables you to analyze your servers and measure their compliance with corporate policies or industry standards. This topic describes the typical tasks that you perform while analyzing compliance through TrueSight Server Automation.
Using the Compliance module, you can scan any number of server configurations across multiple data centers for adherence to the relevant policies or sets of compliance rules.
- Overview of compliance analysis and remediation
- Flowchart for a typical compliance analysis
- Overview of a typical compliance analysis
- To install compliance content (video)
- To run a compliance audit (video)
- Where to go from here
Overview of compliance analysis and remediation
Compliance analysis and remediation are performed based on two types of TrueSight Server Automation objects: components and component templates.
Components — Encapsulate portions of server configuration, enabling simple yet powerful Compliance Jobs.
Component templates — Contain relevant compliance rules that you want your servers to adhere to. For component templates, you can either:
- Create your own component templates to contain the compliance rules for your internal corporate policies. This is a common course of action when analyzing operational compliance, which involves tracking the properties of operating system objects (such as files, configurations, user accounts, or services).
- Use the prebuilt component templates offered by BMC Software to analyze regulatory compliance or security compliance. Such templates can facilitate compliance analysis when you need to adhere to industry-defined compliance policies (such as CIS, DISA, HIPAA, PCI, or SOX).
Flowchart for a typical compliance analysis
The flowchart in the following figure illustrates the main stages and tasks that you encounter during a typical compliance analysis work flow. Click the thumbnail below for a full-size image.
Overview of a typical compliance analysis
The following procedure outlines the tasks in a typical compliance analysis. Click Read more for more information about each compliance analysis task, as well as references to details in TrueSight Server Automation documents.
Determine the content to be analyzed and define a compliant environment — Before you start preparing or choosing a component template for compliance analysis, you must spend some time on planning, so that the template that you use suits your compliance needs.
Install the regulatory compliance content provided by BMC and identify the appropriate template — BMC has developed a set of add-on Compliance Content libraries that you can install together with TrueSight Server Automation.
Create or select the component template — Often, your compliance analyses must reflect the unique operational compliance needs of your company or organization, and you must create your own templates that contain custom compliance rules.
Run a Component Discovery Job to discover components and create a group for organizing target components — The Component Discovery Job associates components with servers that satisfy the discovery signature defined within the component template. The components that are discovered by the Component Discovery Job serve as targets for Compliance Jobs.This task is optional. You can authorize any subsequent Compliance Job to perform an automatic component discovery, which will generate components just before analyzing their compliance.
- Define or edit compliance rules in the template and test your rules — Ensure that the component template that you plan to use contains the compliance rules that must be satisfied for a server to be considered compliant.
If you are using:- A prebuilt template provided by BMC Software, review the rules within the template and decide whether or not a need exists for refining and fine-tuning the existing set of rules (typically by deleting certain rules and modifying others).
Your own template, you must author your own rule or set of rules. For certain rules, you might want to include remediation options, which specify the action that should be taken if a component does not comply with a compliance rule, and associate a remediation package for correcting the problem.
Run a Compliance Job against components — The Compliance Job determines whether or not a component satisfies its compliance rules. The Compliance Job examines the component's compliance parts and compares them to the part and property conditions defined within the component template's compliance rules.
Review compliance results and set exceptions — Before you perform remediation on compliance failures, review the results of your Compliance Job for details about the components on each server that satisfied or failed to satisfy each of the defined compliance rules.
Perform remediation — Remediation of a compliance failure involves the deployment of a remediation package to the servers on which compliance rules failed.
Generate reports — Through the TrueSight Smart Reporting for Server Automation application, you can generate web-based reports that summarize compliance data derived over time from Compliance Jobs run in TrueSight Server Automation. Several built-in Compliance reports are offered by TrueSight Smart Reporting for Server Automation. Additional reports are available specifically for the Compliance Content component templates for industry-standard policies.
For instructions on generating and using reports, see Creating ad hoc or custom reports in the TrueSight Smart Reporting for Server Automation documentation. For descriptions of the reports for the Compliance Content templates for industry-standard policies, see Generating-reports-for-compliance-policies.
To install compliance content (video)
At a high level, you must obtain the compliance content installer (the file name is usually something like Content-Install-Windows.exe or Content-Install-Linux.bin) from the BMC Electronic Product Distribution site (EPD). Make sure you get the Content Installer from the same major version as your installed product (for example, 8.6).
Once you have the installer, it is easiest to run it from an Application Server as a local Administrator or root. You must have access to a role and user with permissions to create extended objects, files on the file server, a top-level component template group, and component templates. If you are using UNIX, you may need access to an X Window display. This can be remotely displayed through a variety of methods.
You will:
- Run the Content Installer executable
- Provide a temporary directory for the Content Installer executable to write to
- Provide credentials (user, role, and password)
- Specify whether you are using a multi-Application Server (MAS) environment. The content installer runs for quite some time, but you can either monitor a log file whose location will be provided by the installer or watch the component templates node to see the templates being created.
The following video provides a quick demonstration of installing compliance content.
To run a compliance audit (video)
The following video provides a quick demonstration of how to run a basic policy-based compliance audit.
Where to go from here