Definition Type: ComplexType
Name: Filemd5Behaviors
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#independent
Containing Schema: independent-definitions-schema.xsd
Abstract
Documentation:
The Filemd5Behaviors complex type defines a number of behaviors that allow a more detailed definition of the filemd5_object being specified.
Collapse XSD Schema Diagram:
Drilldown into recurse_direction in schema independent-definitions-schema_xsd Drilldown into max_depth in schema independent-definitions-schema_xsdXSD Diagram of Filemd5Behaviors in schema independent-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="Filemd5Behaviors">
    <xsd:annotation>
        <xsd:documentation>The Filemd5Behaviors complex type defines a number of behaviors that allow a more detailed definition of the filemd5_object being specified.</xsd:documentation>
    </xsd:annotation>
    <xsd:attribute name="max_depth" use="optional" default="1">
        <xsd:annotation>
            <xsd:documentation>'max_depth' defines the maximum depth of recursion to perform when a recurse_direction is specified. A value of '0' is equivalent to no recursion, '1' means to step only one directory level up/down, and so on. The default value is '-1' meaning no limitation. Note that the default recurse_direction behavior is 'none' so even though max_depth specifies no limitation by default, the recurse_direction behavior turns recusion off.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
                <xsd:fractionDigits value="0" />
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="recurse_direction" use="optional" default="none">
        <xsd:annotation>
            <xsd:documentation>'recurse_direction' defines the direction, either 'up' to parent directories, or 'down' into child directories to recursively search for files. When recursing up or down, one is limited by the max_depth behavior. Note that it is not an error if max_depth specifies a certain level of recursion and that level does not exist. Recursing should only go as deep as available. The default value is 'none' for no recursion.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="none" />
                <xsd:enumeration value="up" />
                <xsd:enumeration value="down" />
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
max_depth ind-def:max_depth 1 Optional
recurse_direction ind-def:recurse_direction none Optional
Collapse Derivation Tree:
Collapse References:
ind-def:behaviors