Definition Type: Element
Name: sharedresource_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows
Type: oval-sc:ItemType
Containing Schema: windows-system-characteristics-schema.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into access_all_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_perm_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_atrib_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_delete_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_exec_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_create_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_write_permission in schema windows-system-characteristics-schema_xsd Drilldown into access_read_permission in schema windows-system-characteristics-schema_xsd Drilldown into local_path in schema windows-system-characteristics-schema_xsd Drilldown into current_uses in schema windows-system-characteristics-schema_xsd Drilldown into max_uses in schema windows-system-characteristics-schema_xsd Drilldown into shared_type in schema windows-system-characteristics-schema_xsd Drilldown into netname in schema windows-system-characteristics-schema_xsd Drilldown into message in schema oval-system-characteristics-schema_xsd Drilldown into status in schema oval-system-characteristics-schema_xsd Drilldown into id in schema oval-system-characteristics-schema_xsd Drilldown into ItemType in schema oval-system-characteristics-schema_xsdXSD Diagram of sharedresource_item in schema windows-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="sharedresource_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation />
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="netname" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The share name of the resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemnetname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:netname">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the netname entity of a sharedresource_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="shared_type" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The type of the shared resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemshared_type" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:shared_type">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the shared_type entity of a sharedresource_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="max_uses" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="unbounded">
                        <xsd:annotation>
                            <xsd:documentation>The maximum number of concurrent connections that the shared resource can accommodate.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemmax_uses" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:max_uses">
                                        <sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the max_uses entity of a sharedresource_item should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="current_uses" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="unbounded">
                        <xsd:annotation>
                            <xsd:documentation>The number of current connections to the shared resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemcurrent_uses" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:current_uses">
                                        <sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the current_uses entity of a sharedresource_item should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="local_path" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The local path for the shared resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemlocal_path" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:local_path">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the local_path entity of a sharedresource_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_read_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to read data from a resource and, by default, to execute the resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_read_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_read_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_read_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_write_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to write data to the resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_write_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_write_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_write_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_create_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to create an instance of the resource (such as a file); data can be written to the resource as the resource is created.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_create_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_create_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_create_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_exec_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to execute the resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_exec_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_exec_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_exec_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_delete_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to delete the resource.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_delete_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_delete_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_delete_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_atrib_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to modify the resource's attributes (such as the date and time when a file was last modified).</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_atrib_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_atrib_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_atrib_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_perm_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to modify the permissions (read, write, create, execute, and delete) assigned to a resource for a user or application.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_perm_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_perm_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_perm_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="access_all_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Permission to read, write, create, execute, and delete resources, and to modify their attributes and permissions.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="sritemaccess_all_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="win-sc:sharedresource_item/win-sc:access_all_permission">
                                        <sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_all_permission entity of a sharedresource_item should be 'bool'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message oval-sc:message 0 1
netname win-sc:netname 0 1
shared_type win-sc:shared_type 0 1
max_uses win-sc:max_uses 0 unbounded
current_uses win-sc:current_uses 0 unbounded
local_path win-sc:local_path 0 1
access_read_permission win-sc:access_read_permission 0 1
access_write_permission win-sc:access_write_permission 0 1
access_create_permission win-sc:access_create_permission 0 1
access_exec_permission win-sc:access_exec_permission 0 1
access_delete_permission win-sc:access_delete_permission 0 1
access_atrib_permission win-sc:access_atrib_permission 0 1
access_perm_permission win-sc:access_perm_permission 0 1
access_all_permission win-sc:access_all_permission 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-sc:id Required
status oval-sc:status exists Optional
Collapse Derivation Tree:
Collapse References:
oval-sc:item