Skip to content

Commit

Permalink
[skip ci] More spacing and formatting for #798
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-gsa committed Dec 13, 2024
1 parent c8f9787 commit 820141e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/validations/constraints/fedramp-external-constraints.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,18 @@
<let var="statement-id" expression="('ac-1_smt.a', 'ac-2_smt.b')"/>
<let var="control-id" expression="../../../@control-id"/>
<let var="component-uuid" expression="@component-uuid"/>
<let var="component-type" expression="('policy', 'process-procedure')"/>
<expect id="control-statement-missing-policy-component" target=".[../@statement-id = $statement-id]" test="../../../../system-implementation/component[@uuid = $component-uuid and @type='policy']">
<formal-name>Required Attachment is Present</formal-name>
<prop name="help-url" namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" value="https://automate.fedramp.gov/placeholder" />
<message>A FedRAMP SSP MUST define attachments that document control implementation in a policy component. Control statement {../@statement-id} is missing such a policy component.</message>
</expect>
<expect id="control-statement-missing-policy-component"
target=".[../@statement-id = $statement-id]"
test="../../../../system-implementation/component[@uuid = $component-uuid and @type=$component-type]">
test="../../../../system-implementation/component[@uuid = $component-uuid and @type='process-procedure']">
<formal-name>Required Attachment is Present</formal-name>
<prop name="help-url" namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" value="https://automate.fedramp.gov/placeholder" />
<message>A FedRAMP SSP MUST define attachments that document control implementation in a policy component. Control statement {../@statement-id} is missing such a policy component.</message>
</expect>
</expect>
</constraints>
</context>

Expand Down

0 comments on commit 820141e

Please sign in to comment.