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.
Generate DDM Components
Section titled “Generate DDM Components”-
Run the generation script
Terminal window ./scripts/generate_guidance.py -D baselines/BASELINE_NAME.yamlExample:
Terminal window ./scripts/generate_guidance.py -D baselines/800-53r5_moderate.yaml -
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)
- …
Command Reference
Section titled “Command Reference”| Flag | Description |
|---|---|
-D | Generate DDM declarations |
Next Steps
Section titled “Next Steps”- DDM Component Layout - Understand the file structure
- What is DDM? - Learn more about declarative management