Skip to content

Generate SCAP

The SCAP script creates security compliance documents in SCAP (Security Content Automation Protocol) formats. These documents can be used with SCAP-compatible scanning tools.


Format Description
SCAP Complete SCAP 1.4 datastream (default)
XCCDF eXtensible Configuration Checklist Description Format
OVAL Open Vulnerability and Assessment Language

  1. List available baselines

    Terminal window
    ./mscp.py scap -l
  2. Generate SCAP for all rules

    Terminal window
    ./mscp.py scap
  3. Generate for a specific baseline

    Terminal window
    ./mscp.py scap -b stig
  4. Find your files

    Output is saved to build/:

    File Description
    *_xccdf.xml XCCDF document
    *_oval.xml OVAL document
    *.xml Complete SCAP datastream

Flag Description
-l List available baseline tags
-b BASELINE Generate for a specific baseline (default: all_rules)
-x Generate only XCCDF
-o Generate only OVAL
--disa_stig FILE Include DISA STIG references from XCCDF file