Definition Type: Element
Name: affected
Namespace: http://oval.mitre.org/XMLSchema/oval
Containing Schema: oval-schema.xsd
Abstract
Documentation:
Each OVAL Definition is written to evaluate a certain type of system. The family, platform(s), and product(s) of this target are described in the affected element whose main purpose is to provide hints for tools using OVAL Definitions. For instance, to help keep Windows definitions from being needlessly evaluated on a Red Hat machine. Note, the inclusion of a particular platform or product does not mean the definition is physically checking for the existence of the platform or product. For the actual test to be performed, the correct test must still be included in the definition's criteria section. The required family attribute states the major category of operating system for which the definition is written. Each family has a corresponding family-specific definition schema which extends the Core Definition Schema.
Collapse XSD Schema Diagram:
Drilldown into product in schema oval-schema_xsd Drilldown into platformBase in schema oval-schema_xsd Drilldown into family in schema oval-schema_xsdXSD Diagram of affected in schema oval-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="affected">
    <xsd:annotation>
        <xsd:documentation>Each OVAL Definition is written to evaluate a certain type of system.  The family, platform(s), and product(s) of this target are described in the affected element whose main purpose is to provide hints for tools using OVAL Definitions.  For instance, to help keep Windows definitions from being needlessly evaluated on a Red Hat machine.  Note, the inclusion of a particular platform or product does not mean the definition is physically checking for the existence of the platform or product.  For the actual test to be performed, the correct test must still be included in the definition's criteria section.</xsd:documentation>
        <xsd:documentation>The required family attribute states the major category of operating system for which the definition is written.  Each family has a corresponding family-specific definition schema which extends the Core Definition Schema.</xsd:documentation>
        <xsd:appinfo>
            <cardinality>0-1</cardinality>
            <attributes>family</attributes>
            <content>none</content>
            <parent_elements>definition</parent_elements>
            <child_elements>platform, [product]</child_elements>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref="oval:platformBase" minOccurs="1" maxOccurs="unbounded" />
            <xsd:element ref="oval:product" minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
        <xsd:attribute name="family" type="oval:families" use="required" />
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
platformBase oval:platformBase 1 unbounded
product oval:product 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
family oval:family Required