OpenSCAP provides the oscap CLI and libraries to load, validate, scan, edit, and export SCAP content for configuration and vulnerability compliance checks.
Overview
OpenSCAP is an open source security compliance stack built around the Security Content Automation Protocol. It includes a shared library for parsing SCAP components and the oscap command-line tool for practical operations on local systems. Users can validate data streams, evaluate OVAL definitions, run XCCDF benchmarks and profiles, and generate reports from assessment results.
Typical workflows scan a machine against DISA STIGs, NIST USGCB content, vendor hardening guides, or profiles from the SCAP Security Guide, such as PCI-DSS templates for enterprise Linux when that content is installed. The tool lists profiles, validates XML against SCAP schemas, and exports formatted results for auditors or automation pipelines.
The library underpins companion tools such as SCAP Workbench, SCAPTimony integrations, and OpenSCAP Daemon for scheduled evaluation. OpenSCAP supports SCAP 1.2 with backward compatibility to earlier SCAP versions and received NIST SCAP 1.2 certification. Packages ship on major Linux distributions including Fedora, RHEL family, and Debian-derived systems via distribution package managers.
Windows builds existed historically; project documentation states Microsoft Windows support was officially ended as of a fixed calendar date in 2022. For Linux-focused compliance teams, oscap remains a certified option to turn standardized SCAP content into repeatable local scans and documented results.
Key features
- oscap multi-purpose CLI
- SCAP 1.2 parsing and evaluation
- XCCDF benchmark profile scans
- OVAL definition assessment
- SCAP data stream validation
- Report and results export
- Shared library for SCAP tools
- Distribution package availability
Use cases
- STIG compliance scans on Linux hosts
- PCI-DSS profile evaluation with SCAP guides
- Validating SCAP content before deployment
- Automated hardening checks in operations
- Building custom tools on libopenscap