<?xml version="1.0" encoding="UTF-8"?>
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" 
      xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" 
      xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" 
      xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" 
      xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/windows-definitions-schema.xsd
      http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/independent-definitions-schema.xsd
      http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/oval-definitions-schema.xsd
      http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/oval-common-schema.xsd">
      <generator>
            <oval:product_name>National Institute of Standards and Technology</oval:product_name>
            <oval:schema_version>5.3</oval:schema_version>
            <oval:timestamp>2008-09-02T12:28:40.000-04:00</oval:timestamp>
      </generator>
      <!-- ==================================================================================================== -->
      <!-- ==========================================  DEFINITIONS  =========================================== -->
      <!-- ==================================================================================================== -->
      <definitions>
            <definition id="oval:org.mitre.oval:def:228" version="3" class="inventory" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <metadata>
                        <title>Microsoft Windows Vista is installed</title>
                        <affected family="windows">
                              <platform>Microsoft Windows Vista</platform>
                        </affected>
                        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_vista"/>
                        <description>The operating system installed on the system is Microsoft Windows Vista</description>
                        <oval_repository>
                              <dates>
                                    <submitted date="2007-02-13T12:46:06">
                                          <contributor organization="Secure Elements, Inc.">Dragos Prisaca</contributor>
                                    </submitted>
                                    <status_change date="2007-02-13T14:53:06-04:00">DRAFT</status_change>
                                    <status_change date="2007-03-21T16:17:12.775-04:00">INTERIM</status_change>
                                    <status_change date="2007-04-13T15:13:39.760-04:00">ACCEPTED</status_change>
                                    <modified comment="Added CPE reference." date="2007-04-30T07:48:00.893-04:00">
                                          <contributor organization="The MITRE Corporation">Jonathan Baker</contributor>
                                    </modified>
                                    <status_change date="2007-04-30T07:56:25.929-04:00">INTERIM</status_change>
                                    <status_change date="2007-05-23T15:05:40.286-04:00">ACCEPTED</status_change>
                                    <modified comment="Vista test updated because of the conflictions with Server 2008" date="2008-03-26T10:51:02.210-04:00">
                                          <contributor organization="Secure Elements, Inc.">Sudhir Gandhe</contributor>
                                    </modified>
                                    <status_change date="2008-03-31T04:00:22.690-04:00">INTERIM</status_change>
                                    <modified comment="Changed the CPE reference" date="2008-04-04T11:17:00.315-04:00">
                                          <contributor organization="The MITRE Corporation">Andrew Buttner</contributor>
                                    </modified>
                                    <status_change date="2008-04-21T04:00:18.129-04:00">ACCEPTED</status_change>
                              </dates>
                              <status>ACCEPTED</status>
                        </oval_repository>
                  </metadata>
                  <criteria operator="AND">
                        <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
                        <criterion comment="Windows Vista is installed" test_ref="oval:org.mitre.oval:tst:7914"/>
                  </criteria>
            </definition>
      </definitions>
      <!-- ==================================================================================================== -->
      <!-- ============================================  TESTS  =============================================== -->
      <!-- ==================================================================================================== -->
      <tests>
            <family_test id="oval:org.mitre.oval:tst:99" version="1" comment="the installed operating system is part of the Microsoft Windows family" check_existence="at_least_one_exists" check="only one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <object object_ref="oval:org.mitre.oval:obj:99"/>
                  <state state_ref="oval:org.mitre.oval:ste:99"/>
            </family_test>
            <registry_test id="oval:org.mitre.oval:tst:7914" version="1" comment="Windows Vista is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <object object_ref="oval:org.mitre.oval:obj:5590"/>
                  <state state_ref="oval:org.mitre.oval:ste:3828"/>
            </registry_test>
      </tests>
      <!-- ==================================================================================================== -->
      <!-- ============================================  OBJECTS  ============================================= -->
      <!-- ==================================================================================================== -->
      <objects>
            <family_object id="oval:org.mitre.oval:obj:99" version="1" comment="This is the default family object. Only one family object should exist." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"/>
            <registry_object id="oval:org.mitre.oval:obj:5590" version="1" comment="This registry key  ProductName" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <hive>HKEY_LOCAL_MACHINE</hive>
                  <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
                  <name>ProductName</name>
            </registry_object>
      </objects>
      <!-- ==================================================================================================== -->
      <!-- =============================================  STATES  ============================================= -->
      <!-- ==================================================================================================== -->
      <states>
            <family_state id="oval:org.mitre.oval:ste:99" version="1" comment="Microsoft Windows family" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <family>windows</family>
            </family_state>
            <registry_state id="oval:org.mitre.oval:ste:3828" version="1" comment="The registry key matches with Vista" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
                  <value operation="pattern match">.*[Vv]ista.*</value>
            </registry_state>
      </states>
      <!-- ==================================================================================================== -->
      <!-- ==================================================================================================== -->
      <!-- ==================================================================================================== -->
</oval_definitions>
