Skip to content

Commit 8c1a343

Browse files
authored
Add new metapath target to 'security-level' constraint (#1079)
1 parent 608080d commit 8c1a343

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/validations/constraints/content/ssp-security-level-INVALID.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,13 @@
2424
<security-objective-availability>INVALID-fips-199-moderate</security-objective-availability>
2525
</security-impact-level>
2626
</system-characteristics>
27+
<system-implementation>
28+
<leveraged-authorization uuid="11111111-2222-4000-8000-019000000001">
29+
<prop ns="http://fedramp.gov/ns/oscal" name="impact-level" value="INVALID-fips-199-moderate">
30+
<remarks>
31+
<p>For now, this is a required field. In the future we intend to pull this information directly from FedRAMP's records based on the "leveraged-system-identifier" property's value.</p>
32+
</remarks>
33+
</prop>
34+
</leveraged-authorization>
35+
</system-implementation>
2736
</system-security-plan>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,10 @@
647647
<metapath target="/system-security-plan/system-characteristics/security-sensitivity-level"/>
648648
<metapath target="/system-security-plan/system-characteristics/security-impact-level/(security-objective-confidentiality|security-objective-integrity|security-objective-availability)"/>
649649
<metapath target="/system-security-plan/system-characteristics/system-information/information-type/(confidentiality-impact|integrity-impact|availability-impact)/(base|selected)"/>
650+
<metapath target="/system-security-plan/system-implementation/leveraged-authorization"/>
650651
<constraints>
651-
652-
<allowed-values id="security-level" target="." allow-other="no" level="ERROR">
652+
<let var="security-level-target" expression="if (prop[@name='impact-level' and @ns='http://fedramp.gov/ns/oscal']) then prop[@name='impact-level' and @ns='http://fedramp.gov/ns/oscal']/@value else ."/>
653+
<allowed-values id="security-level" target="$security-level-target" allow-other="no" level="ERROR">
653654
<formal-name>Security Impact Level</formal-name>
654655
<description>The security objective level as defined by <a href="https://doi.org/10.6028/NIST.SP.800-60v1r1">NIST SP 800-60</a>.
655656
</description>

0 commit comments

Comments
 (0)