oscal-rest icon indicating copy to clipboard operation
oscal-rest copied to clipboard

Get Snapshots Should Return Valid OSCAL Content

Open brian-ruf-ezd opened this issue 1 year ago • 2 comments
trafficstars

For the following GET endpoints, the return content incorrectly adds -snapshot to the root element for all three return formats (XML, JSON, and YAML):

  • GET /{model-name}/{identifier}
  • GET /{model-name}/{identifier}/snapshot/{identifier}
  • GET /profile/{identifier}/resolved-snapshot/{identifier}

These endpoints should always return a valid OSCAL file. Adding -snapshot to the root element invalidates the OSCAL content by creating root elements not recognized by OSCAL content validation capabilities.

brian-ruf-ezd avatar Jan 26 '24 17:01 brian-ruf-ezd

2024-02-07 deferring until controls internal MVP is achieved. Moving to next sprint just to track.

brian-ruf-ezd avatar Feb 07 '24 18:02 brian-ruf-ezd

Made good progress on the collection of issues. This one will be addressed in sprint 68.

brian-ruf-ezd avatar Apr 19 '24 13:04 brian-ruf-ezd

@mpemy and @brian-comply0 what do we need to do to get this finished?

pjavan avatar May 21 '24 13:05 pjavan

With the exception of the XML problem noted in issue #78, this is satisfied. Closing.

brian-ruf-ezd avatar May 23 '24 01:05 brian-ruf-ezd