Skip to content

Commit

Permalink
Fix messages to be less jargony
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabeblis committed Nov 7, 2024
1 parent 75317f8 commit 4191951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/validations/constraints/fedramp-external-constraints.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,17 +242,17 @@
<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 have a role defined as "prepared-by". </message>
<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 references a role defined as "prepared-by". </message>
<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 defined as "prepared-by" that references a party with a valid location. </message>
<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 4191951

Please sign in to comment.