7.7. Scanning the System with a Customized Profile Using SCAP Workbench
7.7.1. Using SCAP Workbench to Scan and Remediate the System
- The scap-workbench package is installed on your system.
- To run SCAP Workbench from the GNOME Classic desktop environment, press the
Superkey to enter the
Activities Overview, type
scap-workbench, and then press Enter. Alternatively, use:
- Select a security policy by using any of the following options:
Load Contentbutton on the starting window
Open content from SCAP Security Guide
Open Other Contentin the
Filemenu, and search the respective XCCDF, SCAP RPM, or data stream file.
- You can enable automatic correction of the system configuration by selecting the SCAP Workbench attempts to change the system configuration in accordance with the security rules applied by the policy. This process attempts to fix the related checks that fail during the system scan.check box. With this option enabled,
WarningIf not used carefully, running the system evaluation with the
Remediateoption enabled might render the system non-functional. Red Hat does not provide any automated method to revert changes made by security-hardening remediations. Remediations are supported on RHEL systems in the default configuration. If your system has been altered after the installation, running remediation might not make it compliant with the required security profile.
- Scan your system with the selected profile by clicking thebutton.
- To store the scan results in form of an XCCDF, ARF, or HTML file, click thecombo box. Choose the
HTML Reportoption to generate the scan report in a human-readable format. The XCCDF and ARF (data stream) formats are suitable for further automatic processing. You can repeatedly choose all three options.
- To export results-based remediations to a file, use thepop-up menu.
7.7.2. Customizing a Security Profile with SCAP Workbench
- Run SCAP Workbench, and select the profile you want to customize by using either
Open content from SCAP Security Guideor
Open Other Contentin the
- To adjust the selected security profile according to your needs, click thebutton.This opens the new Customization window that enables you to modify the currently selected XCCDF profile without changing the original XCCDF file. Choose a new profile ID.
- Find a rule to modify using either the tree structure with rules organized into logical groups or the
- Include or exclude rules using check boxes in the tree structure, or modify values in rules where applicable.
- Confirm the changes by clicking thebutton.
- To store your changes permanently, use one of the following options:
- Save a customization file separately by using
Save Customization Onlyin the
- Save all security content at once using
Save Allin the
Filemenu.If you select the
Into a directoryoption, SCAP Workbench saves both the XCCDF or data stream file and the customization file to the specified location. You can use this as a backup solution.By selecting the
As RPMoption, you can instruct SCAP Workbench to create an RPM package containing the data stream file and the customization file. This is useful for distributing the security content to systems that cannot be scanned remotely, and for delivering the content for further processing.