Command `create-cd` does not support all of the component definition types defined in the OSCAL schema
jpower432 opened this issue · comments
Describe the bug
The create-cd
command only supports the service
and validation
types as choices for component definition type. It should support all the choices that are defined in the component definition OSCAL schema (below).
To Reproduce
Steps to reproduce the behavior:
- Run
create-cd
with type of software - Observe error that only service and validation are supported
invalid choice: 'software' (choose from 'service', 'validation')
Expected behavior
All of the types to be an option
Additional context
https://pages.nist.gov/OSCAL-Reference/models/v1.1.2/component-definition/json-reference/#/component-definition/components/type