Skip to content

Commit

Permalink
[skip ci ] Adjust warning messages to align with style of other const…
Browse files Browse the repository at this point in the history
…raints
  • Loading branch information
aj-stein-gsa authored Sep 25, 2024
1 parent a869438 commit ba40cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validations/constraints/fedramp-external-constraints.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@
<message>A FedRAMP SSP must define a role for the point of contact for an information system security officer.</message>
</expect>
<expect id="party-has-responsibility" target="." test="every $person in //party[@type='person'] satisfies exists(.//responsible-party[party-uuid = $person/@uuid])" level="WARNING">
<message>One or more persons do not have any assigned responsibilities.</message>
<message>Every party in a FedRAMP SSP must be responsible for a role.</message>
</expect>
<expect id="party-has-one-responsibility" target="." test="every $person in //party[@type='person'] satisfies count(.//responsible-party[party-uuid = $person/@uuid]) eq 1" level="WARNING">
<message>One or more persons have multiple assigned responsibilities.</message>
<message>Every party in a FedRAMP SSP must be responsible for only one role.</message>
</expect>
</constraints>
</context>
Expand Down

0 comments on commit ba40cd2

Please sign in to comment.