Definition Type: ComplexType
Name: SccsBehaviors
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#unix
Containing Schema: unix-definitions-schema.xsd
Abstract
Documentation:
These behaviors allow a more detailed definition of the sccs objects being specified.
Collapse XSD Schema Diagram:
Drilldown into recurse_file_system in schema unix-definitions-schema_xsd Drilldown into recurse_direction in schema unix-definitions-schema_xsd Drilldown into recurse in schema unix-definitions-schema_xsd Drilldown into max_depth in schema unix-definitions-schema_xsdXSD Diagram of SccsBehaviors in schema unix-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="SccsBehaviors">
    <xsd:annotation>
        <xsd:documentation>These behaviors allow a more detailed definition of the sccs objects being specified.</xsd:documentation>
    </xsd:annotation>
    <xsd:attribute name="max_depth" use="optional" default="-1">
        <xsd:annotation>
            <xsd:documentation>'max_depth' defines how many directories to recurse when a recurse direction is specified. The default value is '-1' meaning no limitation. A value of '0' is equivalent to no recursion, '1' means to step only one directory level up/down, and so on.</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" use="optional" default="symlinks and directories">
        <xsd:annotation>
            <xsd:documentation>The recurse attribute defines how to recurse into the PATH entity, in other words what to follow during recursion. Options includ symlinks, directories, or both. Note that a max-depth has be specified for recursion to take place and for this attribute to mean anything. The values of 'none', 'files', and 'files and directories' have been deprecated and will be removed in a future version since it is not possible to recures files.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="none" />
                <xsd:enumeration value="files" />
                <xsd:enumeration value="directories" />
                <xsd:enumeration value="files and directories" />
                <xsd:enumeration value="symlinks" />
                <xsd:enumeration value="symlinks and directories" />
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="recurse_direction" use="optional" default="none">
        <xsd:annotation>
            <xsd:documentation>'recurse_direction' defines the direction to recurse, either 'up' to parent directories, or 'down' into child directories. 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:attribute name="recurse_file_system" use="optional" default="all">
        <xsd:annotation>
            <xsd:documentation>'recurse_file_system' defines the file system limitation of any recursion, either 'local' limiting data collection to local file systems (as opposed to file systems mounted from an external system), or 'defined' to keep any recursion within the file system that the file_object (path+filename) has specified. The default value is 'all' meaning to use all available file systems for data collection.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="all" />
                <xsd:enumeration value="local" />
                <xsd:enumeration value="defined" />
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
max_depth unix-def:max_depth -1 Optional
recurse unix-def:recurse symlinks and directories Optional
recurse_direction unix-def:recurse_direction none Optional
recurse_file_system unix-def:recurse_file_system all Optional
Collapse Derivation Tree:
Collapse References:
unix-def:behaviors