-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to Reproduce
- Download catalog from https://raw.githubusercontent.com/usnistgov/oscal-content/refs/heads/main/nist.gov/SP800-53/rev5/json/NIST_SP-800-53_rev5_catalog.json
- Run
c2pcli oscal2posture -c configs/c2p-config.yaml -r assessment-results.json -a "${AP}" --catalog catalog.json
Expected
The catalog to load successfully
Log
Error: error loading catalog: schema: yaml: line 61767: did not find expected key
Usage:
c2pcli oscal2posture [flags]
Flags:
-a, --assessment-plan string path to assessment-plan.json. This option cannot be used with --component-definition.
-r, --assessment-results string path to assessment-results.json (default "./assessment-results.json")
--catalog string path to catalog.json
-d, --component-definition string path to component-definition.json file. This option cannot be used with --assessment-plan.
-c, --config-path string path to the configuration for the C2P CLI. (default "c2p-config.yaml")
-h, --help help for oscal2posture
-n, --name string short name of the control source for the implementation to be evaluated. Use with --component-definition.
-o, --out string path to output file. Use '-' for stdout. Default '-'. (default "-")
Global Flags:
--debug Run with debug log level
OSCAL Version
1.1.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Needs Triage