compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

Classes based on OSCAL schema do not enforce well-formed OSCAL content

Open jpower432 opened this issue 7 months ago • 4 comments

Describe the bug

The csv_to_oscal_cd task produces an component definition that is not well-formed when a profile is specified for a rule with no mapped controls. This issue is meant to capture the root cause of this issue which is that the classes represents the OSCAL schema do not enforce this.

To Reproduce

Steps to reproduce the behavior:

See #1606 for reproduction steps

Expected behavior

Failure relating to the invalid OSCAL Model Object

Screenshots / Logs.

Related to #1606

Environment

  • OS: [e.g. iOS]
  • Python version:
  • Installed packages:

jpower432 avatar Jul 16 '24 17:07 jpower432