-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust direction prop constraint and other related constraints for interconnection and other network components #2077
base: develop
Are you sure you want to change the base?
Changes from all commits
7d0ba86
96d8abb
faebade
76c7fb6
e30b946
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
<!ENTITY allowed-values-component_inventory-item_property-name SYSTEM "./shared-constraints/allowed-values-component_inventory-item_property-name.ent"> | ||
<!ENTITY allowed-values-component_component_link-rel SYSTEM "./shared-constraints/allowed-values-component_component_link-rel.ent"> | ||
<!ENTITY allowed-values-component-type SYSTEM "./shared-constraints/allowed-values-component-type.ent"> | ||
<!ENTITY allowed-values-property-name-networked-components SYSTEM "./shared-constraints/allowed-values-property-name-networked-components.ent"> | ||
]> | ||
<METASCHEMA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/metaschema/1.0 ../../build/metaschema-xslt/support/metaschema/schema/xml/metaschema.xsd" abstract="yes"> | ||
|
@@ -192,10 +193,11 @@ | |
<enum value="isa-title">Title of the Interconnection Security Agreement (ISA).</enum> | ||
<enum value="isa-date">Date of the Interconnection Security Agreement (ISA).</enum> | ||
<enum value="isa-remote-system-name">The name of the remote interconnected system.</enum> | ||
<enum value="ipv4-address">An Internet Protocol Version 4 interconnection address</enum> | ||
<enum value="ipv6-address">An Internet Protocol Version 6 interconnection address</enum> | ||
<enum value="direction">An Internet Protocol Version 6 interconnection address</enum> | ||
&allowed-values-property-name-networked-components; | ||
</allowed-values> | ||
<allowed-values target="[@type=('service', 'software')]/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name"> | ||
&allowed-values-property-name-networked-components; | ||
</allowed-values> | ||
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name=('ipv4-address','ipv6-address')]/@class"> | ||
<enum value="local">The identified IP address is for this system.</enum> | ||
<enum value="remote">The identified IP address is for the remote system to which this system is connected.</enum> | ||
|
@@ -213,6 +215,7 @@ | |
<matches target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='isa-date']/@value" datatype="date-time"/> | ||
<matches target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='ipv4-address']/@value" datatype="ip-v4-address" /> | ||
<matches target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='ipv6-address']/@value" datatype="ip-v6-address" /> | ||
<matches target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='uri']/@value" datatype="uri" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was not explicitly requested in #1913 (comment), but it standards to reason we make sure it is a URI, not just a string value for a prop with the |
||
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='direction']/@value"> | ||
<enum value="incoming">Data from the remote system flows into this system.</enum> | ||
<enum value="outgoing">Data from this system flows to the remote system.</enum> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<enum value="ipv4-address">The Internet Protocol Version 4 address is for an interconnection, service, or software component.</enum> | ||
<enum value="ipv6-address">The Internet Protocol Version 6 address is for an interconnection, service, or software component.</enum> | ||
<enum value="direction">The direction categorizes the network connectivity of an interconnection, service, or software component.</enum> | ||
<enum value="uri">A Uniform Resource Identifier (URI) is for an interconnection, service, or software component.</enum> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion in #1913 and refining the issue as posed by the comment in #1913 (comment), I am not sure why leveraged
system
typed components would not have similar need for likesoftware
andservice
, but I wanted to leave that open to interpretation here during the PR review.