-
Notifications
You must be signed in to change notification settings - Fork 87
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
Check a FedRAMP document's metadata for fedramp-version
to identify requirements used
#789
Comments
I apologize for the delays, @DimitriZhurkin, I am very tardy in writing up this issue for you to work on this constraint tomorrow. |
@aj-stein-gsa, is Are we going to update this value in the SSP template every time there's a new version? |
I think that warrants discussion, but probably. We should have a few controlled releases a year, and this should be part of commits that are right before a final release as we make them. We have to discuss out of band data eventually, but we must defer that for now. I will update issues and discuss that next week. This is the second case where it comes up. |
I apologize, I should've put it a little differently. Which of the following should we be checking:
|
@DimitriZhurkin, ok it seems we need an allowed-value prop and an expect prop separately, make the two separate constraints (the first and second in your list from the above comment, not the third) in their respective files. I will clarify the goals and AC requirements in the issue above when I return from a quick break. |
@aj-stein-gsa, do you have a specific location for the Here's how I put it in
|
Probably more importantly, we'll need to add |
Sorry, not Metaschema, but rather SSP, SAR, SAP, and POAM XSDs. But first we'd need to decide on the placement (position) of |
Took liberty to tweak the SSP XSD to include With that XSD, |
Sorry, it seems I should have not said the following words without code formatting, property -> <system-security-plan>
<metadata>
<title>Enhanced Example System Security Plan</title>
<published>2024-08-01T14:30:00Z</published>
<last-modified>2024-08-01T14:30:00Z</last-modified>
<version>1.1</version>
<fedramp-version>fedramp-3.0.0rc1-oscal-1.1.2</fedramp-version>
<oscal-version>1.0.0</oscal-version>
<document-id scheme="https://example.com/identifiers">SSP-2024-002</document-id>
<!-- See below: -->
<prop name="fedramp-version" value="3.0.0rc1-oscal-1.1.2`"/> Does this help, @DimitriZhurkin? |
Also, apologies, I got around to updating the acceptance criteria in the ticket. I hope that helps. |
Perfect, thank you! I actually initially thought that you had meant But then I looked at the Sorry for misunderstanding. |
No worries I hope that helps. |
Terribly sorry to be a pain, but the When I add the following to
I get this validation error:
The error is valid, since there's already a
|
If we do not modify |
The OSCAL model already includes a "props" field in metadata that is an array of props. The constraints needs to make sure that SSP, SAP, SAR and POAM artifacts have populated one prop called "fedramp-version" in the array. |
As asked on #800, please update the checklist items for final review so the relevant tasks can be reviewed and we can mark this issue as "Ready to Ship" and you can move onto a new task, @DimitriZhurkin. |
Done. |
@DimitriZhurkin, ok, but you left the goal unchecked. You think the constraint and documentation do not meet the goal's objective? |
Done. |
This is a ...
fix - something needs to be different
This relates to ...
User Story
As a creator or maintainer of an FedRAMP digital authorization package with its documents in OSCAL, I would like validations to check for the existence of a specific property in the metadata with a name of
fedramp-version
and only permit value that is a specific release tag for a given OSCAL version.Goals
Dependencies
No response
Acceptance Criteria
allowed-values
constraint with levelERROR
if the prop of namefedramp-version
at/*/metadata/prop[@name='fedramp-version']
) does not have a valid value (for now:fedramp-3.0.0rc1-oscal-1.1.2
); it should not allow alternativesexpect
constraint with levelERROR
if the prop of namefedramp-version
is not present in the document.Other information
No response
The text was updated successfully, but these errors were encountered: