Skip to content

Bug: OSCAL2Posture fails on the latest NIST 800-53 Catalog #246

@jpower432

Description

@jpower432

How to Reproduce

  1. 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
  2. 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

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions