<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/windows-definitions-schema.xsd">
  <generator>
    <oval:product_name>repotool</oval:product_name>
    <oval:schema_version>5.8</oval:schema_version>
    <oval:timestamp>2016-12-28T15:32:08</oval:timestamp>
  </generator>
  <definitions>
    <definition id="oval:mil.disa.fso.windows:def:3174" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows Server 2008 R2 is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows Server 2008 R2</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_2008:r2" />
        <description>The operating system installed on the system is Microsoft Windows Server 2008 R2</description>
      </metadata>
      <criteria operator="AND">
        <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:mil.disa.fso.windows:tst:317400" />
        <criteria operator="OR">
          <criterion comment="Windows Server 2008 R2 is installed - PA5.2" test_ref="oval:mil.disa.fso.windows:tst:317402" />
          <criterion comment="Windows Server 2008 R2 is installed - PA5.3" test_ref="oval:mil.disa.fso.windows:tst:317403" />
        </criteria>
      </criteria>
    </definition>
  </definitions>
  <tests>
    <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.windows:tst:317400" version="1" comment="the installed operating system is part of the Microsoft Windows family" check_existence="at_least_one_exists" check="only one">
      <object object_ref="oval:mil.disa.fso.windows:obj:317400" />
      <state state_ref="oval:mil.disa.fso.windows:ste:317400" />
    </family_test>
    <registry_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:tst:317402" version="2" comment="Windows Server 2008 R2 is installed - PA5.2" check_existence="at_least_one_exists" check="at least one">
      <object object_ref="oval:mil.disa.fso.windows:obj:317401" />
      <state state_ref="oval:mil.disa.fso.windows:ste:317402" />
    </registry_test>
    <registry_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:tst:317403" version="1" comment="Windows Server 2008 R2 is installed - PA5.3" check_existence="at_least_one_exists" check="at least one">
      <object object_ref="oval:mil.disa.fso.windows:obj:317401" />
      <state state_ref="oval:mil.disa.fso.windows:ste:317403" />
    </registry_test>
  </tests>
  <objects>
    <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.windows:obj:317400" version="1" comment="This is the default family object. Only one family object should exist." />
    <registry_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:obj:317401" version="1" comment="This registry key identifies the Windows ProductName">
      <hive datatype="string">HKEY_LOCAL_MACHINE</hive>
      <key datatype="string">SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
      <name datatype="string">ProductName</name>
    </registry_object>
  </objects>
  <states>
    <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.windows:ste:317400" version="1" comment="Microsoft Windows family">
      <family operation="equals">windows</family>
    </family_state>
    <registry_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:ste:317402" version="2" comment="The registry key matches with 2008 R2 - PA5.2">
      <value operation="pattern match">^[a-zA-Z0-9\(\)[:space:]]*2008 [Rr]2[a-zA-Z0-9\(\)[:space:]]*$</value>
    </registry_state>
    <registry_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:ste:317403" version="1" comment="The registry key matches with 2008 R2 - PA5.3">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*2008 [Rr]2[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
  </states>
</oval_definitions>

