Skip to content

Commit

Permalink
sort constraints per style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabeblis committed Nov 7, 2024
1 parent cdfd407 commit 7854335
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/validations/constraints/fedramp-external-constraints.xml
Original file line number Diff line number Diff line change
Expand Up @@ -344,21 +344,6 @@
<p>A FedRAMP SSP MUST use precise classifications for cloud deployment models. It MUST NOT use generic classifications like "hybrid-cloud".</p>
</remarks>
</expect>
<expect id="role-defined-prepared-by" target="metadata" test="exists(role[@id eq 'prepared-by'])" level="ERROR">
<formal-name>Role Defined Prepared By</formal-name>
<prop namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" name="help-url" value="https://automate.fedramp.gov/documentation/general-concepts/4-expressing-common-fedramp-template-elements-in-oscal/#prepared-by-csp-self-prepared"/>
<message>A FedRAMP SSP MUST define a role for preparing this document.</message>
</expect>
<expect id="responsible-party-prepared-by" target="metadata" test="exists(responsible-party[@role-id eq 'prepared-by'])" level="ERROR">
<formal-name>Responsible Party Prepared By</formal-name>
<prop namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" name="help-url" value="https://automate.fedramp.gov/documentation/general-concepts/4-expressing-common-fedramp-template-elements-in-oscal/#prepared-by-csp-self-prepared"/>
<message>A FedRAMP SSP MUST have a responsible party that defines which party performs the role of preparing the document.</message>
</expect>
<expect id="responsible-party-prepared-by-location-valid" target="." test="($prepared-by-party/address[@type='work'] and $prepared-by-party/address/addr-line and $prepared-by-party/address/city and $prepared-by-party/address/state and $prepared-by-party/address/postal-code) or ($prepared-by-location/address[@type='work'] and $prepared-by-location/address/addr-line and $prepared-by-location/address/city and $prepared-by-location/address/state and $prepared-by-location/address/postal-code)" level="WARNING">
<formal-name>Responsible Party Prepared By Location Valid</formal-name>
<prop namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" name="help-url" value="https://automate.fedramp.gov/documentation/general-concepts/4-expressing-common-fedramp-template-elements-in-oscal/#prepared-by-csp-self-prepared"/>
<message>A FedRAMP SSP MUST have a responsible party for preparing the document, and that party MUST define an address.</message>
</expect>
</constraints>
</context>

Expand Down

0 comments on commit 7854335

Please sign in to comment.