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.


FormatDescription
SCAPComplete SCAP 1.4 datastream (default)
XCCDFeXtensible Configuration Checklist Description Format
OVALOpen 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/:

    FileDescription
    *_xccdf.xmlXCCDF document
    *_oval.xmlOVAL document
    *.xmlComplete SCAP datastream

FlagDescription
-lList available baseline tags
-b BASELINEGenerate for a specific baseline (default: all_rules)
-xGenerate only XCCDF
-oGenerate only OVAL
--disa_stig FILEInclude DISA STIG references from XCCDF file