Skip to content

Commit 28139f5

Browse files
committed
[skip ci] More spacing and formatting for GSA#798
1 parent 3eb6ae4 commit 28139f5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/validations/constraints/fedramp-external-constraints.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,18 @@
180180
<let var="statement-id" expression="('ac-1_smt.a', 'ac-2_smt.b')"/>
181181
<let var="control-id" expression="../../../@control-id"/>
182182
<let var="component-uuid" expression="@component-uuid"/>
183-
<let var="component-type" expression="('policy', 'process-procedure')"/>
183+
<expect id="control-statement-missing-policy-component" target=".[../@statement-id = $statement-id]" test="../../../../system-implementation/component[@uuid = $component-uuid and @type='policy']">
184+
<formal-name>Required Attachment is Present</formal-name>
185+
<prop name="help-url" namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" value="https://automate.fedramp.gov/placeholder" />
186+
<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>
187+
</expect>
184188
<expect id="control-statement-missing-policy-component"
185189
target=".[../@statement-id = $statement-id]"
186-
test="../../../../system-implementation/component[@uuid = $component-uuid and @type=$component-type]">
190+
test="../../../../system-implementation/component[@uuid = $component-uuid and @type='process-procedure']">
187191
<formal-name>Required Attachment is Present</formal-name>
188192
<prop name="help-url" namespace="https://docs.oasis-open.org/sarif/sarif/v2.1.0" value="https://automate.fedramp.gov/placeholder" />
189193
<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>
190-
</expect>
194+
</expect>
191195
</constraints>
192196
</context>
193197

0 commit comments

Comments
 (0)