Definition Type: Element
Name: file_item
Namespace: http://oval.mitre.org/XMLSchema/system_characteristics#debian
Type: system_characteristics:itemType
Containing Schema: debian-system-characteristics-schema.xsd
Abstract
Documentation:
This element has been deprecated in version 4.1 of the debian-system-characterics-schema and will be removed completely in version 5. It is recommended that all future OVAL Content use the file_item found in the unix-system-characterics-schema. This item stores file metadata.
Collapse XSD Schema Diagram:
Drilldown into data in schema debian-system-characteristics-schema_xsd Drilldown into object in schema debian-system-characteristics-schema_xsd Drilldown into message in schema system-characteristics-schema_xsd Drilldown into id in schema system-characteristics-schema_xsd Drilldown into itemType in schema system-characteristics-schema_xsdXSD Diagram of file_item in schema debian-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="file_item" substitutionGroup="system_characteristics:item">
    <xsd:annotation>
        <xsd:documentation>This element has been deprecated in version 4.1 of the debian-system-characterics-schema and will be removed completely in version 5.  It is recommended that all future OVAL Content use the file_item found in the unix-system-characterics-schema.</xsd:documentation>
        <xsd:documentation>This item stores file metadata.</xsd:documentation>
        <xsd:appinfo>
            <item_name>File Item</item_name>
            <extends>itemType</extends>
            <valid_sections>message, object, data</valid_sections>
            <example>
            </example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="system_characteristics:itemType">
                <xsd:sequence>
                    <xsd:element name="object" minOccurs="1" maxOccurs="1">
                        <xsd:complexType>
                            <xsd:complexContent>
                                <xsd:extension base="system_characteristics:objectType">
                                    <xsd:sequence>
                                        <xsd:element name="path" type="system_characteristics:objectStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Specifies the absolute path to a file on the machine.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:extension>
                            </xsd:complexContent>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="data" minOccurs="0" maxOccurs="1">
                        <xsd:complexType>
                            <xsd:complexContent>
                                <xsd:extension base="system_characteristics:dataType">
                                    <xsd:sequence>
                                        <xsd:element name="type" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the file's type: regular file (regular), directory, named pipe (fifo), symbolic link, socket or block special.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="group_id" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the group owner of the file, by group number.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="user_id" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>The numeric user id, or uid, is the third column of each user's entry in /etc/passwd.  This element represents the owner of the file.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="a_time" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the time of the last access, in seconds since the last epoch.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="c_time" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the time of the last change to the file's inode, which stores all.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="m_time" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the time of the last change to the file's contents.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="md5" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the MD5 hash of the file's contents, which serves as a kind of content
										integrity check.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="gexec" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the group owner of the file execute it or, if a directory, change into the directory?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="gread" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the group owner of the file read this file or, if a directory, read the directory contents?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="gwrite" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the group owner of the file write to this file or directory?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="oexec" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the other users execute this file or, if a directory, change into the directory?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="oread" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can all other users read this file or, if a directory, read the directory contents?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="owrite" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the other users write to this file or directory?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="sgid" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Does the program run with the gid (thus privileges) of the file's group owner, rather than the calling user's group?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="sticky" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can users delete each other's files in this directory, when said directory is writable by those users?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="suid" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Does the program run with the uid (thus privileges) of the file's owner, rather than the calling user?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="uexec" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the owner (user owner) of the file execute it or, if a directory, change into the directory?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="uread" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the owner (user owner) of the file read this file or, if a directory, read the directory contents?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="uwrite" type="system_characteristics:dataBoolType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>Can the owner (user owner) of the file read this file or, if a directory, read the directory contents?</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>File Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>boolean</content>
                                                    <valid_datatypes>boolean</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:extension>
                            </xsd:complexContent>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message system_characteristics:message 0 1
object debian:object 1 1
data debian:data 0 1
Collapse Child Attributes:
Name Type Default Value Use
id system_characteristics:id Required
Collapse Derivation Tree:
Collapse References:
system_characteristics:item