-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remarks fields in SSP defined as string
instead of #field_oscal-metadata_remarks
#1130
Comments
Changed `remarks` fields from `define-field` to `ref`.
@guyzyl The SSP Metaschema needs to be updated for these. This will cause the JSON schema to be generated properly. The following cases need to be update:
The should look like: OSCAL/src/metaschema/oscal_ssp_metaschema.xml Line 370 in c221bb1
You interested in submitting a PR to do this? Would you also be interested in checking and fixing any similar issues in the other metaschemas? Never mind, I just noticed your PR #1138. I'll get this merged. |
Changed `remarks` fields from `define-field` to `ref`.
Changed `remarks` fields from `define-field` to `ref`.
Changed `remarks` fields from `define-field` to `ref`.
Changed `remarks` fields from `define-field` to `ref`.
Describe the bug
In the SSP schema, there are a 2 models that contain a
remarks
field that is defined with"type": "string"
instead of"$ref": "#field_oscal-metadata_remarks"
The places are:
#assembly_oscal-ssp_diagram
#assembly_oscal-ssp_authorization-boundary
They should be updated to use
#field_oscal-metadata_remarks
.What is affected by this bug?
The bug doesn't have a critical effect since
#field_oscal-metadata_remarks
is defined as astring
, therefore there's no type mismatch.It does however harm the conformity of the schema, and should be fixed.
Other Comments
I'd be happy to open a PR for this if this if this is approved as a bug.
The text was updated successfully, but these errors were encountered: