oscal-compass / compliance-trestle

An opinionated tooling platform for managing compliance as code, using continuous integration and NIST's OSCAL standard.
https://oscal-compass.github.io/compliance-trestle
Apache License 2.0
155 stars 58 forks source link

Handle sort-id better as a special control property during generate/assemble #1168

Open fsuits opened 2 years ago

fsuits commented 2 years ago

Issue description / feature objectives

sort-id is an important property for controls and needs to be available in the control markdown whenever assembly happens without access to that property in a separate document. Currently it is allowed as a specially handled key/value pair in the yaml header, but it should be handled more formally

Caveats / Assumptions

Completion Criteria

Define how to define the sort-id for a control Make sure the generate/assemble tools use it when sorting is required

vikas-agarwal76 commented 2 years ago

In future we may need to specify OSCAL defined properties in YAML header, in additon to just sort-id. x-oscal-props: sort-id: 'ac-1" label: "AC-1" xyz: "dfgd"