Skip to content

How to Generate DDM Components

DDM components are generated using the generate_guidance.py script with the -D flag. The script reads your baseline and creates JSON declarations ready for MDM deployment.


  1. Run the generation script

    Terminal window
    ./scripts/generate_guidance.py -D baselines/BASELINE_NAME.yaml

    Example:

    Terminal window
    ./scripts/generate_guidance.py -D baselines/800-53r5_moderate.yaml
  2. Find your files

    DDM declarations are saved to build/BASELINE_NAME/declarative/:

    • Directorybuild/
      • Directory800-53r5_moderate/
        • Directorydeclarative/
          • Directoryactivations/ - Activation declarations (.json)
          • Directoryconfigurations/ - Configuration declarations (.json)
          • Directoryassets/ - Asset declarations and data files (.json, .zip)

FlagDescription
-DGenerate DDM declarations