How to Generate DDM Components
DDM components are generated as part of the guidance output. The script reads your baseline and creates JSON declarations ready for MDM deployment.
Generate DDM Components
Section titled “Generate DDM Components”-
Run the command
Terminal window ./mscp.py guidance custom/baselines/BASELINE_NAME.yaml -dExample:
Terminal window ./mscp.py guidance custom/baselines/800-53r5_moderate_macos_26.0.yaml -d -
Find your files
DDM declarations are saved to
build/BASELINE_NAME/:Directorybuild/
Directory800-53r5_moderate_macos_26.0/
Directoryactivations/ Activation declarations (.json)
- …
Directoryconfigurations/ Configuration declarations (.json)
- …
Directoryassets/ Asset declarations and data files (.json, .zip)
- …
-
Run the 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 |
| 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