<?xml version="1.0" encoding="UTF-8"?>
<oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5">
  <generator>
    <oval:product_name>The OVAL Repository</oval:product_name>
    <oval:schema_version>5.8</oval:schema_version>
    <oval:timestamp>2015-09-03T08:00:11.107-04:00</oval:timestamp>
  </generator>
  <definitions>
    <definition id="oval:org.mitre.oval:def:29489" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 Professional is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::professional"/>
        <description>Microsoft Windows 10 Professional is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-07T08:31:03">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-10T13:48:41.317-04:00">DRAFT</status_change>
            <status_change date="2015-08-31T04:00:27.891-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows 10 is installed" definition_ref="oval:org.mitre.oval:def:28545"/>
        <criterion comment="Check if edition is Professional" test_ref="oval:org.mitre.oval:tst:81098"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:29471" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 (x86) is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::x86"/>
        <description>The operating system installed on the system is Microsoft Windows 10 x86</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-05T16:00:00">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-06T11:30:03.858-04:00">DRAFT</status_change>
            <status_change date="2015-08-24T04:00:06.144-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
        <criterion comment="Windows 10 is installed" test_ref="oval:org.mitre.oval:tst:141330"/>
        <criterion comment="a version of Windows for the x86 architecture is installed" test_ref="oval:org.mitre.oval:tst:3823"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:29438" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 Home is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::home"/>
        <description>Microsoft Windows 10 Home is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-07T08:31:03">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-10T13:48:41.457-04:00">DRAFT</status_change>
            <status_change date="2015-08-31T04:00:26.242-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows 10 is installed" definition_ref="oval:org.mitre.oval:def:28545"/>
        <criterion comment="Check if edition is Core" test_ref="oval:org.mitre.oval:tst:80935"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:29412" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 Enterprise is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::enterprise"/>
        <description>Microsoft Windows 10 Enterprise is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-07T08:31:03">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-10T13:44:42.269-04:00">DRAFT</status_change>
            <status_change date="2015-08-31T04:00:24.879-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows 10 is installed" definition_ref="oval:org.mitre.oval:def:28545"/>
        <criterion comment="Check if edition is Enterprise" test_ref="oval:org.mitre.oval:tst:80888"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:29389" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 Education is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::education"/>
        <description>Microsoft Windows 10 Education is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-07T08:31:03">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-10T13:48:41.176-04:00">DRAFT</status_change>
            <status_change date="2015-08-31T04:00:23.761-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows 10 is installed" definition_ref="oval:org.mitre.oval:def:28545"/>
        <criterion comment="Check if edition is Education" test_ref="oval:org.mitre.oval:tst:141486"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:29117" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 (x64) is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10:::x64"/>
        <description>The operating system installed on the system is Microsoft Windows 10 x64</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-05T16:00:00">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-06T11:30:04.130-04:00">DRAFT</status_change>
            <status_change date="2015-08-24T04:00:05.438-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
        <criterion comment="Windows 10 is installed" test_ref="oval:org.mitre.oval:tst:141330"/>
        <criterion comment="a version of Windows for the x64 architecture is installed" test_ref="oval:org.mitre.oval:tst:3653"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:28545" version="2" class="inventory">
      <metadata>
        <title>Microsoft Windows 10 is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows 10</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_10"/>
        <description>The operating system installed on the system is Microsoft Windows 10.</description>
        <oval_repository>
          <dates>
            <submitted date="2015-08-05T16:00:00">
              <contributor organization="ALTX-SOFT">Maria Mikhno</contributor>
            </submitted>
            <status_change date="2015-08-06T11:30:03.649-04:00">DRAFT</status_change>
            <status_change date="2015-08-24T04:00:04.491-04:00">INTERIM</status_change>
          </dates>
          <status>INTERIM</status>
        </oval_repository>
      </metadata>
      <criteria>
        <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
        <criterion comment="Windows 10 is installed" test_ref="oval:org.mitre.oval:tst:141330"/>
      </criteria>
    </definition>
  </definitions>
  <tests>
    <registry_test id="oval:org.mitre.oval:tst:81098" version="1" comment="Check if edition is Professional" check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:24057"/>
      <state state_ref="oval:org.mitre.oval:ste:20526"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:3823" version="2" comment="a version of Windows for the x86 architecture is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:1576"/>
      <state state_ref="oval:org.mitre.oval:ste:3649"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:80935" version="1" comment="Check if edition is Core" check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:24057"/>
      <state state_ref="oval:org.mitre.oval:ste:20421"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:80888" version="1" comment="Check if edition is Enterprise" check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:24057"/>
      <state state_ref="oval:org.mitre.oval:ste:20314"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:141486" version="1" comment="Check if edition is Education" check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:24057"/>
      <state state_ref="oval:org.mitre.oval:ste:39776"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:3653" version="4" comment="a version of Windows for the x64 architecture is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:1576"/>
      <state state_ref="oval:org.mitre.oval:ste:3180"/>
    </registry_test>
    <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">
      <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:141330" version="1" comment="Windows 10 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <object object_ref="oval:org.mitre.oval:obj:5590"/>
      <state state_ref="oval:org.mitre.oval:ste:38974"/>
    </registry_test>
  </tests>
  <objects>
    <registry_object id="oval:org.mitre.oval:obj:24057" version="1" comment="This registry key identifies the Windows EditionID" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <hive>HKEY_LOCAL_MACHINE</hive>
      <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
      <name>EditionID</name>
    </registry_object>
    <registry_object id="oval:org.mitre.oval:obj:1576" version="1" comment="This registry key identifies the architecture on the system" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <hive>HKEY_LOCAL_MACHINE</hive>
      <key>SYSTEM\CurrentControlSet\Control\Session Manager\Environment</key>
      <name>PROCESSOR_ARCHITECTURE</name>
    </registry_object>
    <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"/>
    <registry_object id="oval:org.mitre.oval:obj:5590" version="1" comment="This registry key identifies the Windows ProductName" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <hive>HKEY_LOCAL_MACHINE</hive>
      <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
      <name>ProductName</name>
    </registry_object>
  </objects>
  <states>
    <registry_state id="oval:org.mitre.oval:ste:20526" version="1" comment="The registry key matches Professional Edition" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">Professional</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:3649" version="2" comment="x86 architecture" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">x86</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:20421" version="1" comment="The registry key matches Core Edition" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">Core</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:20314" version="1" comment="The registry key matches Enterprise Edition" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">Enterprise</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:39776" version="1" comment="The registry key matches Education Edition" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">Education</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:3180" version="4" comment="amd64 architecture" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="pattern match">^[Aa][Mm][Dd]64$</value>
    </registry_state>
    <family_state id="oval:org.mitre.oval:ste:99" version="2" comment="Microsoft Windows family" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <family operation="case insensitive equals">windows</family>
    </family_state>
    <registry_state id="oval:org.mitre.oval:ste:38974" version="1" comment="The registry key matches with Windows 10" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*[Ww][Ii][Nn][Dd][Oo][Ww][Ss] 10[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
  </states>
</oval_definitions>