Definition Type: Element
Name: tested_epoch
Namespace: http://oval.mitre.org/XMLSchema/oval_results#redhat
Type: oval_results:subtestStringType
Containing Schema: redhat-oval-results-schema.xsd
MinOccurs 1
MaxOccurs 1
Abstract
Documentation:
This is the epoch number to test against. The epoch is used as a kludge for version-release comparisons where the vendor has done some kind of re-numbering or version forking. This number is not revealed by a normal query of the RPM's information -- you must use a formatted rpm query command to gather this data from the command line, like so. For an already-installed RPM: rpm -q --qf '%{EPOCH}\n' installed_rpm For an RPM file that has not been installed: rpm -qp --qf '%{EPOCH}\n' rpm_file
Collapse XSD Schema Diagram:
Drilldown into version in schema oval-results-schema_xsd Drilldown into var_ref in schema oval-results-schema_xsd Drilldown into operator in schema oval-results-schema_xsd Drilldown into datatype in schema oval-results-schema_xsd Drilldown into subtestAttributes in schema oval-results-schema_xsd Drilldown into subtestStringType in schema oval-results-schema_xsdXSD Diagram of tested_epoch in schema redhat-oval-results-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="tested_epoch" type="oval_results:subtestStringType" minOccurs="1" maxOccurs="1">
    <xsd:annotation>
        <xsd:documentation>This is the epoch number to test against.  The epoch is used as a kludge for version-release comparisons where the vendor has done some kind of re-numbering or version forking.  This number is not revealed by a normal query of the RPM's information -- you must use a formatted rpm query command to gather this data from the command line, like so.  For an already-installed RPM:  rpm -q --qf '%{EPOCH}\n' installed_rpm  For an RPM file that has not been installed:  rpm -qp --qf '%{EPOCH}\n' rpm_file</xsd:documentation>
        <xsd:appinfo>
            <parent_test>RPM Version Compare Test</parent_test>
            <cardinality>1</cardinality>
            <content>string</content>
            <valid_datatypes>string</valid_datatypes>
            <valid_operators>equals, not equal, pattern match</valid_operators>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
datatype oval_results:datatype string Optional
operator oval_results:operator equals Optional
var_ref oval_results:var_ref Optional
version oval_results:version 1 Optional
Collapse Derivation Tree: