Skip to content

Commit

Permalink
Create<define-assembly name="impact">
Browse files Browse the repository at this point in the history
This fixes issues #1129
  • Loading branch information
guyzyl authored and david-waltermire committed Aug 25, 2022
1 parent e538d6e commit abd1912
Showing 1 changed file with 24 additions and 45 deletions.
69 changes: 24 additions & 45 deletions src/metaschema/oscal_ssp_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,51 +236,15 @@
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<define-assembly name="confidentiality-impact" min-occurs="1">
<formal-name>Confidentiality Impact Level</formal-name>
<description>The expected level of impact resulting from the unauthorized disclosure of the described information.</description>
<model>
<assembly ref="property" max-occurs="unbounded">
<group-as name="props" in-json="ARRAY"/>
</assembly>
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<field ref="base" min-occurs="1"/>
<field ref="selected"/>
<field ref="adjustment-justification" in-xml="WITH_WRAPPER"/>
</model>
</define-assembly>
<define-assembly name="integrity-impact" min-occurs="1">
<formal-name>Integrity Impact Level</formal-name>
<description>The expected level of impact resulting from the unauthorized modification of the described information.</description>
<model>
<assembly ref="property" max-occurs="unbounded">
<group-as name="props" in-json="ARRAY"/>
</assembly>
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<field ref="base" min-occurs="1"/>
<field ref="selected"/>
<field ref="adjustment-justification" in-xml="WITH_WRAPPER"/>
</model>
</define-assembly>
<define-assembly name="availability-impact" min-occurs="1">
<formal-name>Availability Impact Level</formal-name>
<description>The expected level of impact resulting from the disruption of access to or use of the described information or the information system.</description>
<model>
<assembly ref="property" max-occurs="unbounded">
<group-as name="props" in-json="ARRAY"/>
</assembly>
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<field ref="base" min-occurs="1"/>
<field ref="selected"/>
<field ref="adjustment-justification" in-xml="WITH_WRAPPER"/>
</model>
</define-assembly>
<assembly ref="impact">
<use-name>confidentiality-impact</use-name>
</assembly>
<assembly ref="impact">
<use-name>integrity-impact</use-name>
</assembly>
<assembly ref="impact">
<use-name>availability-impact</use-name>
</assembly>
</model>
<constraint>
<expect level="WARNING" target="." test="@uuid">
Expand Down Expand Up @@ -318,6 +282,21 @@
</allowed-values>
</constraint>
</define-assembly>
<define-assembly name="impact">
<formal-name>Impact Level</formal-name>
<description>The expected level of impact resulting from the described information.</description>
<model>
<assembly ref="property" max-occurs="unbounded">
<group-as name="props" in-json="ARRAY"/>
</assembly>
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<field ref="base" min-occurs="1"/>
<field ref="selected"/>
<field ref="adjustment-justification" in-xml="WITH_WRAPPER"/>
</model>
</define-assembly>
<define-field name="base" as-type="string" scope="local">
<formal-name>Base Level (Confidentiality, Integrity, or Availability)</formal-name>
<description>The prescribed base (Confidentiality, Integrity, or Availability) security impact level.</description>
Expand Down

0 comments on commit abd1912

Please sign in to comment.