|
183 | 183 | </model> |
184 | 184 | <constraint> |
185 | 185 | <!-- TODO: Dave to double-check constraints here --> |
186 | | - <allowed-values target="prop/@name" allow-other="yes"> |
| 186 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
187 | 187 | <enum value="method">The assessment method to use. This typically appears on parts with the name "assessment".</enum> |
188 | 188 | </allowed-values> |
189 | | - <has-cardinality target="prop[@name='method']" min-occurs="1"/> |
190 | | - <allowed-values target="prop[@name='method']/@value"> |
| 189 | + <has-cardinality target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='method']" min-occurs="1"/> |
| 190 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='method']/@value"> |
191 | 191 | <enum value="INTERVIEW">The process of holding discussions with individuals or groups of individuals within an organization to once again, facilitate assessor understanding, achieve clarification, or obtain evidence.</enum> |
192 | 192 | <enum value="EXAMINE">The process of reviewing, inspecting, observing, studying, or analyzing one or more assessment objects (i.e., specifications, mechanisms, or activities).</enum> |
193 | 193 | <enum value="TEST">The process of exercising one or more assessment objects (i.e., activities or mechanisms) under specified conditions to compare actual with expected behavior.</enum> |
|
1272 | 1272 | <field ref="remarks" in-xml="WITH_WRAPPER" min-occurs="0" max-occurs="1"/> |
1273 | 1273 | </model> |
1274 | 1274 | <constraint> |
1275 | | - <allowed-values target="prop/@name" allow-other="yes"> |
| 1275 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
1276 | 1276 | <enum value="type">The type of remediation tracking entry. Can be multi-valued.</enum> |
1277 | 1277 | </allowed-values> |
1278 | | - <allowed-values target="prop[@name='type']/@value" allow-other="yes"> |
| 1278 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='type']/@value" allow-other="yes"> |
1279 | 1279 | <enum value="vendor-check-in">Contacted vendor to determine the status of a pending fix to a known vulnerability.</enum> |
1280 | 1280 | <enum value="status-update">Information related to the current state of response to this risk.</enum> |
1281 | 1281 | <enum value="milestone-complete">A significant step in the response plan has been achieved.</enum> |
|
1305 | 1305 | </define-assembly> |
1306 | 1306 | </model> |
1307 | 1307 | <constraint> |
1308 | | - <allowed-values target="prop/@name"> |
| 1308 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
1309 | 1309 | <enum value="false-positive">The risk has been confirmed to be a false positive.</enum> |
1310 | 1310 | <enum value="accepted">The risk has been accepted. No further action will be taken.</enum> |
1311 | 1311 | <enum value="risk-adjusted">The risk has been adjusted.</enum> |
1312 | 1312 | <enum value="priority">A numeric value indicating the sequence in which risks should be addressed. (Lower numbers are higher priority)</enum> |
1313 | 1313 | </allowed-values> |
1314 | | - <matches target="prop[@name='priority']/@value" datatype="integer" /> |
| 1314 | + <matches target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='priority']/@value" datatype="integer" /> |
1315 | 1315 | </constraint> |
1316 | 1316 | </define-assembly> |
1317 | 1317 |
|
|
1401 | 1401 | <field ref="remarks" in-xml="WITH_WRAPPER"/> |
1402 | 1402 | </model> |
1403 | 1403 | <constraint> |
1404 | | - <allowed-values target="prop/@name"> |
| 1404 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
1405 | 1405 | <enum value="state">Indicates if the facet is 'initial' as first identified, or 'adjusted' indicating that the value has be changed after some adjustments have been made (e.g., to identify residual risk).</enum> |
1406 | 1406 | </allowed-values> |
1407 | | - <allowed-values target="prop[@name='risk-state']/@value" allow-other="yes"><!-- For values related to initial and residual (mitigated) risk --> |
| 1407 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='state']/@value"><!-- For values related to initial and residual (mitigated) risk --> |
1408 | 1408 | <enum value="initial">As first identified.</enum> |
1409 | 1409 | <enum value="adjusted">Indicates that residual risk remains after some adjustments have been made.</enum> |
1410 | 1410 | </allowed-values> |
1411 | 1411 | <!-- TODO: What about "vulnerability-id", "plugin-id"? Should this be added to FedRAMP? --> |
1412 | | - <allowed-values target="(.)[@system='http://csrc.nist.gov/ns/oscal']/@name" allow-other="yes"> |
| 1412 | + <allowed-values target="(.)[@system='http://csrc.nist.gov/ns/oscal']/@name"> |
1413 | 1413 | <enum value="likelihood">General likelihood rating.</enum> |
1414 | 1414 | <enum value="impact">General impact rating.</enum> |
1415 | 1415 | <enum value="risk">General risk rating.</enum> |
1416 | 1416 | <enum value="severity">General severity rating.</enum> |
1417 | 1417 | </allowed-values> |
1418 | | - <allowed-values target="(.)[@system=('http://fedramp.gov','http://fedramp.gov/ns/oscal')]/@name" allow-other="yes"> |
| 1418 | + <allowed-values target="(.)[@system=('http://fedramp.gov','http://fedramp.gov/ns/oscal')]/@name"> |
1419 | 1419 | <enum value="likelihood">Likelihood as defined by FedRAMP. The <code>class</code> can be used to specify 'initial' and 'adjusted' risk states.</enum> |
1420 | 1420 | <enum value="impact">Impact as defined by FedRAMP. The <code>class</code> can be used to specify 'initial' and 'adjusted' risk states.</enum> |
1421 | 1421 | <enum value="risk">Risk as calculated according to FedRAMP. The <code>class</code> can be used to specify 'initial' and 'adjusted' risk states.</enum> |
|
1683 | 1683 | <field ref="remarks" in-xml="WITH_WRAPPER" min-occurs="0" max-occurs="1"/> |
1684 | 1684 | </model> |
1685 | 1685 | <constraint> |
1686 | | - <allowed-values target="prop/@name" allow-other="yes"> |
| 1686 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
1687 | 1687 | <enum value="type"></enum> |
1688 | 1688 | </allowed-values> |
1689 | | - <allowed-values target="prop[@name='type']/@value" allow-other="yes"> |
| 1689 | + <allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='type']/@value"> |
1690 | 1690 | <enum value="avoid">The risk will be eliminated.</enum> |
1691 | 1691 | <enum value="mitigate">The risk will be reduced.</enum> |
1692 | 1692 | <enum value="transfer">The risk will be transferred to another organization or entity.</enum> |
|
1766 | 1766 | <!-- <any/> --> |
1767 | 1767 | </model> |
1768 | 1768 | <constraint> |
1769 | | - <allowed-values target=".[@name='objective']/prop/@name" allow-other="yes"> |
| 1769 | + <allowed-values target=".[@name='objective']/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> |
1770 | 1770 | <enum value="method">The assessment method to use. This typically appears on parts with the name "objective".</enum> |
1771 | 1771 | </allowed-values> |
1772 | | - <has-cardinality target=".[@name='objective']/prop[@name='method']" min-occurs="1"/> |
1773 | | - <allowed-values target=".[@name='objective']/prop[@name='method']/@value"> |
| 1772 | + <has-cardinality target=".[@name='objective']/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='method']" min-occurs="1"/> |
| 1773 | + <allowed-values target=".[@name='objective']/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='method']/@value"> |
1774 | 1774 | <enum value="INTERVIEW">The process of holding discussions with individuals or groups of individuals within an organization to once again, facilitate assessor understanding, achieve clarification, or obtain evidence.</enum> |
1775 | 1775 | <enum value="EXAMINE">The process of reviewing, inspecting, observing, studying, or analyzing one or more assessment objects (i.e., specifications, mechanisms, or activities).</enum> |
1776 | 1776 | <enum value="TEST">The process of exercising one or more assessment objects (i.e., activities or mechanisms) under specified conditions to compare actual with expected behavior.</enum> |
|
0 commit comments