Skip to content

Validate risk-profile

validate risk-profile - Validate OSCAL profile documents against OSCAL 1.1.2 schema

The validate risk-profile command validates OSCAL profile documents using go-oscal types.

Validation checks include: - JSON parsing with go-oscal types - Required field presence (UUID, metadata, imports) - Control ID format validation - Import href validation

Notes

Expected Output:

Displays OSCAL profile validation results including required field checks, control ID format validation, and import href validation. Shows errors and warnings. Exit code 0 if valid OSCAL 1.1.2 profile, 1 if validation errors.

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.