Verify Security Content Automation Protocol (SCAP)
OpenSCAP tools are the recommended toolset for validating the configuration of container images and reviewing the configuration of an image file system. For ease of use, Minimus provides a hardened OpenSCAP image that always includes the most up-to-date package version for all of the included packages and dependencies. Use the Minimus OpenSCAP image to scan your Docker images and containers without the need to install OpenSCAP locally. This image comes preloaded with a Minimus STIG file for security and compliance assessments.How to verify STIG compliance for Minimus images
To test the Minimus OpenSCAP image, follow the steps below to scan an image using its file system.1
Download OpenSCAP from Minimus
Authenticate to the Minimus registry with your token. Visit the token page in your Minimus console to copy the command with your embedded token:Pull the OpenSCAP latest image from the Minimus registry:
example of docker login command
2
Download the Data Stream file
The data stream module (ds) is provided by Minimus and used to automatically validate the image or container. Download the file ssg-minimus-gpos-ds.xml from the Minimus public GitHub repo.To pull the file locally:For good measure, verify the file:You should see a printout of file details, beginning with
Document type: Source Data Stream and version information.3
Create a directory for the scan results
4
Pull the image to be scanned
Pull the image you plan to scan from the Minimus registry, for example:
5
Run the OpenSCAP scan
Use the oscap-docker tool to perform offline scanning from the Minimus provided image:
--resultsindicates where to place the XML formatted report--reportindicates where to place the HTML report- The data stream location points to the location of the SCAP source data stream file
6
Interpret your results
The test outputs two files: An XML report and an HTML page. You can use either to review your results.