-
Notifications
You must be signed in to change notification settings - Fork 92
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
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
src/validations/constraints/content/ssp-responsible-party-is-person-INVALID.xml
Outdated
Show resolved
Hide resolved
664edf4
to
14d9b36
Compare
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 changes and questions
src/validations/constraints/content/ssp-responsible-party-is-person-INVALID.xml
Outdated
Show resolved
Hide resolved
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.
Other reviewers' comments aside, looks good to me.
14d9b36
to
5e2b250
Compare
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.
This looks good to me, thanks!
* Add responsible-party-is-person constraint * Add help-url * Update constraint to only validate required roles * Make updates resolving review feedback comments
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.