<?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>2017-04-03T12:14:48</oval:timestamp>
  </generator>
  <definitions>
    <definition id="oval:mil.disa.fso.windows:def:3930" version="3" class="inventory">
      <metadata>
        <title>Microsoft Windows 8 is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 8</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_8" />
        <description>A version of Microsoft Windows 8 is installed.</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:393000" />
        <criteria operator="OR">
          <criterion comment="Windows 8 is installed" test_ref="oval:mil.disa.fso.windows:tst:393001" />
        </criteria>
      </criteria>
    </definition>
    <definition id="oval:mil.disa.fso.windows:def:4969" version="1" class="inventory">
      <metadata>
        <title>Microsoft Windows 8.1 is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 8</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_8.1" />
        <description>A version of Microsoft Windows 8.1 is installed.</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:393000" />
        <criteria operator="OR">
          <criterion comment="Windows 8.1 is installed" test_ref="oval:mil.disa.fso.windows:tst:393002" />
        </criteria>
      </criteria>
    </definition>
  </definitions>
  <tests>
    <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.windows:tst:393000" 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:393000" />
      <state state_ref="oval:mil.disa.fso.windows:ste:393000" />
    </family_test>
    <registry_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:tst:393001" version="1" comment="Windows 8 is installed" check_existence="at_least_one_exists" check="at least one">
      <object object_ref="oval:mil.disa.fso.windows:obj:393001" />
      <state state_ref="oval:mil.disa.fso.windows:ste:393001" />
    </registry_test>
    <registry_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:tst:393002" version="1" comment="Windows 8.1 is installed" check_existence="at_least_one_exists" check="at least one">
      <object object_ref="oval:mil.disa.fso.windows:obj:393001" />
      <state state_ref="oval:mil.disa.fso.windows:ste:393002" />
    </registry_test>
  </tests>
  <objects>
    <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.windows:obj:393000" version="1" comment="Family" />
    <registry_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:obj:393001" 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:393000" 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:393001" version="1" comment="The registry key matches with Windows 8">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*[Ww][Ii][Nn][Dd][Oo][Ww][Ss] 8[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
    <registry_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" id="oval:mil.disa.fso.windows:ste:393002" version="1" comment="The registry key matches with Windows 8.1">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*[Ww][Ii][Nn][Dd][Oo][Ww][Ss] 8\.1[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
  </states>
</oval_definitions>

