-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add responsible-party-is-person constraint #652
base: develop
Are you sure you want to change the base?
Add responsible-party-is-person constraint #652
Conversation
6450680
to
cc33ee8
Compare
Added issue GSA/automate.fedramp.gov#57 for required documentation updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will possibly approve after rebase and merge once documentation for the referenced doc PR is complete.
In the meantime, rebase, please and thank you. 🙏
cc33ee8
to
a978a29
Compare
Hey @aj-stein-gsa once I rebased, some of the validations were no longer passing due to modifications I had made to the ssp-all-INVALID.xml test content, so the latest commit rolled those changes back and created a separate test SSP for this new responsible-party-is-person constraint. |
09ddd50
to
4829962
Compare
c59e72c
to
f6d2009
Compare
965d5fb
to
89f03f7
Compare
89f03f7
to
664edf4
Compare
<responsible-party role-id="system-poc-management"> | ||
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | ||
</responsible-party> | ||
<responsible-party role-id="system-poc-technical"> | ||
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | ||
</responsible-party> | ||
<responsible-party role-id="system-poc-other"> | ||
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | ||
</responsible-party> | ||
<responsible-party role-id="information-system-security-officer"> | ||
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | ||
</responsible-party> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor, non-blocking: all good changes but should we show example content even in a negative test for roles we recently confirm should not be included in FR requirements?
<responsible-party role-id="system-poc-management"> | |
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | |
</responsible-party> | |
<responsible-party role-id="system-poc-technical"> | |
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | |
</responsible-party> | |
<responsible-party role-id="system-poc-other"> | |
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | |
</responsible-party> | |
<responsible-party role-id="information-system-security-officer"> | |
<party-uuid>11111111-0000-4000-9000-000000000001</party-uuid> | |
</responsible-party> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's how interpreted the role requirements:
The following roles must be defined, and must have responsible-party
with a party
of type "person":
- system-owner
- authorizing-official-poc
- information-system-security-officer
The following roles are not required (are optional). But if they are specified, they should have responsible-party
with a party
of type "person":
- system-poc-management
- system-poc-technical
- system-poc-other
Note the 3 system-poc-* roles are considered optional (for now) because that information seems to have been removed from the latest legacy SSP template, however, this is very useful information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up to you, so you are saying you want to keep them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If so we add the prop and end it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, lets keep the roles for now. will update this PR the constraint help prop today
664edf4
to
14d9b36
Compare
Committer Notes
This PR adds responsible-party-is-person constraint, which checks that
responsible-party
assemblies withrole-id
set to certain values (e.g., "system-owner", "authorizing-official", "authorizing-official-poc", "system-poc-management", "system-poc-technical", "system-poc-other", and "information-system-security-officer") must reference aparty
of type "person".All Submissions:
If applicable, does this PR reference the issue it addresses and explain how it addresses the issue?By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.