oscal-rest
oscal-rest copied to clipboard
Get Snapshots Should Return Valid OSCAL Content
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.
2024-02-07 deferring until controls internal MVP is achieved. Moving to next sprint just to track.
Made good progress on the collection of issues. This one will be addressed in sprint 68.
@mpemy and @brian-comply0 what do we need to do to get this finished?
With the exception of the XML problem noted in issue #78, this is satisfied. Closing.