Skip to content
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

Update component and inventory prop type names #2111

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
<enum value="isa-remote-system-name">The name of the remote interconnected system.</enum>
&allowed-values-property-name-networked-components;
</allowed-values>
<allowed-values id="oscal-component-service-software-prop-name-values" target="[@type=('service', 'software')]/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name">
<allowed-values id="oscal-component-service-software-prop-name-values" target="[@type=('interconnection', 'service', 'software', 'system')]/prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal')]/@name">
&allowed-values-property-name-networked-components;
</allowed-values>
<allowed-values id="oscal-component-prop-ipaddress-class-values" target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name=('ipv4-address','ipv6-address')]/@class">
Expand Down Expand Up @@ -567,25 +567,6 @@
<enum value="mac-address">The media access control (MAC) address for the asset.</enum>
<enum value="physical-location">The physical location of the asset's hardware (e.g., Data Center ID, Cage#, Rack#, or other meaningful location identifiers).</enum>
<enum value="is-scanned">is the asset subjected to network scans? (yes/no)</enum>
<!-- =========================================================================================== -->
<!-- = The following is to support the legacy approach for inventory-items without components. = -->
<!-- =========================================================================================== -->
<!-- This is "model" in the context of a component -->
<enum value="hardware-model">The model number of the hardware used by the asset.</enum>
<!-- This is "name" in the context of a component -->
<enum value="os-name">The name of the operating system used by the asset.</enum>
<!-- This is "version" in the context of a component -->
<enum value="os-version">The version of the operating system used by the asset.</enum>
<!-- This is "name" in the context of a component -->
<enum value="software-name">The software product name used by the asset.</enum>
<!-- This is "version" in the context of a component -->
<enum value="software-version">The software product version used by the asset.</enum>
<!-- This is "patch-level" in the context of a component -->
<enum value="software-patch-level">The software product patch level used by the asset.</enum>

<!-- =========================================================================================== -->
<!-- = The following is shared with system-component. = -->
<!-- =========================================================================================== -->
&allowed-values-component_inventory-item_property-name;

</allowed-values>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="baseline-configuration-name">The name of the baseline configuration for the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="allows-authenticated-scan">Can the asset be check with an authenticated scan? (yes/no)</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="function">The function provided by the asset for the system.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="hardware-model" deprecated="1.1.4">**(deprecated)** Use 'model' instead.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="model">The model of system used by the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="os-name">The name of the operating system used by the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="os-version">The version of the operating system used by the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="software-name">The software product name used by the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="software-version">The software product version used by the asset.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="software-patch-level">The software product patch level used by the asset.</enum>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<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>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="ipv4-address">The Internet Protocol Version 4 address is for an interconnection, service, or software component.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="ipv6-address">The Internet Protocol Version 6 address is for an interconnection, service, or software component.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="direction">The direction categorizes the network connectivity of an interconnection, service, or software component.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="uri">A Uniform Resource Identifier (URI) is for an interconnection, service, or software component.</enum>
<enum xmlns="http://csrc.nist.gov/ns/oscal/metaschema/1.0" value="fqdn">The full-qualified domain name (FQDN) of the asset.</enum>