RedHatProductSecurity / trestle-bot

A workflow automation tool for `compliance-trestle`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Run create-cd with type of software
  2. 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