Description
User Story
Several prop>value(s) have data type or allowed value restrictions that are not outlined in the schema. For example, the system-characteristic props for 'cloud-service-model' and 'cloud-deployment-model' both require the values to be a token, and to match one of the allowed values. These restrictions are not outlined in the schema, and the only restriction for prop>value is string data type (regex pattern "\S(.*\S)?").
There are other instances of this such as:
users>prop>name="type"
inventory-items>prop>name="allows-authenticated-scan"&"is-scanned"
Additionally, some prop>value's have data type restrictions as well (datetime example):
This restrictions is not outlined in the schema, and the only restriction for prop>value is string data type (regex pattern "\S(.*\S)?").
Goals
Introduce prop restrictions in the schema for these special cases
This could be in the form of custom prop structures for these special cases (rather than all props being assembled the same way)
Or
Add these in as actual elements, rather than as props, and provide an "enum" sub-element for them like status:
Dependencies
No response
Acceptance Criteria
- All OSCAL website and readme documentation affected by the changes in this issue have been updated. Changes to the OSCAL website can be made in the docs/content directory of your branch.
- A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
- The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
(For reviewers: The wiki has guidance on code review and overall issue review for completeness.)
Revisions
No response
Metadata
Metadata
Assignees
Type
Projects
Status