Definition Type: ComplexType
Name: componentType
Namespace: http://oval.mitre.org/XMLSchema/oval#unix
Type: oval:subtestBaseType
Containing Schema: unix-schema.xsd
Abstract
Documentation:
The componentType allows a value to be obtained by combining pieces from different sources. Each string defined by the different component elements is concatenated together to form the final string used. Each child component element has an attribute called type. The value of this attribute determines where to get the string used to build the file path. A type of literal means to use the value of the child component element as is, and to just concatenated it to the other strings. If a pattern match operator has been specified with a componentType, then the final string should be thought of as the pattern to test. As of Version 4 of the OVAL schema, pattern match can not be specified for the idividual components.
Collapse XSD Schema Diagram:
Drilldown into component in schema unix-schema_xsd Drilldown into var_ref in schema oval-schema_xsd Drilldown into operator in schema oval-schema_xsd Drilldown into datatype in schema oval-schema_xsd Drilldown into subtestAttributes in schema oval-schema_xsd Drilldown into subtestBaseType in schema oval-schema_xsdXSD Diagram of componentType in schema unix-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="componentType">
    <xsd:annotation>
        <xsd:documentation>The componentType allows a value to be obtained by combining pieces from different sources.  Each string defined by the different component elements is concatenated together to form the final string used.  Each child component element has an attribute called type.  The value of this attribute determines where to get the string used to build the file path.  A type of literal means to use the value of the child component element as is, and to just concatenated it to the other strings.  If a pattern match operator has been specified with a componentType, then the final string should be thought of as the pattern to test.  As of Version 4 of the OVAL schema, pattern match can not be specified for the idividual components.</xsd:documentation>
        <xsd:appinfo>
            <extends>oval:subtestBaseType</extends>
            <attributes>(includes oval:subtestAttributes)</attributes>
            <content>none</content>
            <child_elements>component</child_elements>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexContent>
        <xsd:extension base="oval:subtestBaseType">
            <xsd:sequence>
                <xsd:element name="component" maxOccurs="unbounded">
                    <xsd:complexType>
                        <xsd:simpleContent>
                            <xsd:extension base="xsd:string">
                                <xsd:attribute name="type" use="required">
                                    <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                            <xsd:enumeration value="environment_variable" />
                                            <xsd:enumeration value="group_homedirs" />
                                            <xsd:enumeration value="literal" />
                                            <xsd:enumeration value="user_homedirs" />
                                        </xsd:restriction>
                                    </xsd:simpleType>
                                </xsd:attribute>
                            </xsd:extension>
                        </xsd:simpleContent>
                    </xsd:complexType>
                </xsd:element>
            </xsd:sequence>
        </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
component unix:component (1) unbounded
Collapse Child Attributes:
Name Type Default Value Use
datatype oval:datatype string Optional
operator oval:operator equals Optional
var_ref oval:var_ref Optional
<anyAttribute>
Collapse Derivation Tree:
Collapse References:
unix:path, unix:path