<?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-03T09:40:14.259-04:00</oval:timestamp>
  </generator>
  <definitions>
    <definition id="oval:org.mitre.oval:def:19008" version="5" class="inventory">
      <metadata>
        <title>Microsoft Windows Storage Server 2012 Standard is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows Storage Server 2012</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_storage_server_2012:::standard"/>
        <description>Microsoft Windows Storage Server 2012 Standard is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2013-10-14T13:00:00">
              <contributor organization="ALTX-SOFT">Maria Kedovskaya</contributor>
            </submitted>
            <status_change date="2013-10-17T12:01:33.247-04:00">DRAFT</status_change>
            <status_change date="2013-11-11T04:01:23.794-05:00">INTERIM</status_change>
            <status_change date="2013-11-26T13:49:21.798-05:00">ACCEPTED</status_change>
            <modified comment="EDITED oval:org.mitre.oval:ste:24121 - New inventories for MS Windows Storage Server 2012 R2 (Standard and Workgroup)" date="2015-04-09T12:58:00.751-04:00">
              <contributor organization="ALTX-SOFT">Sergey Artykhov</contributor>
            </modified>
            <status_change date="2015-04-09T13:00:46.940-04:00">INTERIM</status_change>
            <status_change date="2015-04-27T04:00:08.944-04:00">ACCEPTED</status_change>
          </dates>
          <status>ACCEPTED</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows Server 2012 is installed" definition_ref="oval:org.mitre.oval:def:16359"/>
        <criterion comment="Check if edition is Storage Server 2012 Standard" test_ref="oval:org.mitre.oval:tst:87069"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:18959" version="5" class="inventory">
      <metadata>
        <title>Microsoft Windows Storage Server 2012 Workgroup is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows Storage Server 2012</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_storage_server_2012:::workgroup"/>
        <description>Microsoft Windows Storage Server 2012 Workgroup is installed.</description>
        <oval_repository>
          <dates>
            <submitted date="2013-10-14T13:00:00">
              <contributor organization="ALTX-SOFT">Sergey Artykhov</contributor>
            </submitted>
            <status_change date="2013-10-17T12:01:33.967-04:00">DRAFT</status_change>
            <status_change date="2013-11-11T04:01:08.228-05:00">INTERIM</status_change>
            <status_change date="2013-11-26T13:49:18.969-05:00">ACCEPTED</status_change>
            <modified comment="EDITED oval:org.mitre.oval:ste:24281 - New inventories for MS Windows Storage Server 2012 R2 (Standard and Workgroup)" date="2015-04-09T12:58:00.751-04:00">
              <contributor organization="ALTX-SOFT">Sergey Artykhov</contributor>
            </modified>
            <status_change date="2015-04-09T13:00:46.726-04:00">INTERIM</status_change>
            <status_change date="2015-04-27T04:00:08.630-04:00">ACCEPTED</status_change>
          </dates>
          <status>ACCEPTED</status>
        </oval_repository>
      </metadata>
      <criteria>
        <extend_definition comment="Microsoft Windows Server 2012 is installed" definition_ref="oval:org.mitre.oval:def:16359"/>
        <criterion comment="Check if edition is Storage Server 2012 Workgroup" test_ref="oval:org.mitre.oval:tst:86548"/>
      </criteria>
    </definition>
    <definition id="oval:org.mitre.oval:def:16359" version="5" class="inventory">
      <metadata>
        <title>Microsoft Windows Server 2012 is installed</title>
        <affected family="windows">
          <platform>Microsoft Windows Server 2012</platform>
        </affected>
        <reference source="CPE" ref_id="cpe:/o:microsoft:windows_server_2012:-"/>
        <description>The operating system installed on the system is Microsoft Windows Server 2012.</description>
        <oval_repository>
          <dates>
            <submitted date="2013-01-10T15:45:10">
              <contributor organization="SecPod Technologies">SecPod Team</contributor>
            </submitted>
            <status_change date="2013-01-10T11:20:38.954-05:00">DRAFT</status_change>
            <status_change date="2013-01-28T04:01:02.965-05:00">INTERIM</status_change>
            <status_change date="2013-02-18T04:00:15.408-05:00">ACCEPTED</status_change>
            <modified comment="EDITED oval:org.mitre.oval:def:16359 - New inventory for MS Windows Storage Server 2012 and MS Windows Server 2012 R2" date="2013-10-17T11:59:00.123-04:00">
              <contributor organization="ALTX-SOFT">Maria Kedovskaya</contributor>
            </modified>
            <status_change date="2013-10-17T12:01:36.139-04:00">INTERIM</status_change>
            <status_change date="2013-11-04T04:00:38.993-05:00">ACCEPTED</status_change>
          </dates>
          <status>ACCEPTED</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="Check if Windows Server 2012 is installed" test_ref="oval:org.mitre.oval:tst:80500"/>
        <criterion negate="true" comment="Check if Windows Server 2012 R2 is installed" test_ref="oval:org.mitre.oval:tst:87015"/>
      </criteria>
    </definition>
  </definitions>
  <tests>
    <registry_test id="oval:org.mitre.oval:tst:87069" version="2" comment="Check if edition is Storage Server Standard" 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:24121"/>
    </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:87015" version="1" comment="Check if Windows Server 2012 R2 is installed" 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:5590"/>
      <state state_ref="oval:org.mitre.oval:ste:24147"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:80500" version="1" comment="Check if Windows Server 2012 is installed" 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:5590"/>
      <state state_ref="oval:org.mitre.oval:ste:20132"/>
    </registry_test>
    <registry_test id="oval:org.mitre.oval:tst:86548" version="2" comment="Check if edition is Storage Server Workgroup" 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:24281"/>
    </registry_test>
  </tests>
  <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"/>
    <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>
    <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>
  </objects>
  <states>
    <registry_state id="oval:org.mitre.oval:ste:24121" version="2" comment="The registry key matches Storage Server Standard" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">ServerStorageStandard</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:24147" version="1" comment="The registry key matches with Windows Server 2012 R2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*2012\s[rR]2[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:20132" version="1" comment="The registry key matches with Windows Server 2012" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*2012[a-zA-Z0-9\(\)\s]*$</value>
    </registry_state>
    <registry_state id="oval:org.mitre.oval:ste:24281" version="2" comment="The registry key matches Storage Server Workgroup" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
      <value operation="case insensitive equals">ServerStorageWorkgroup</value>
    </registry_state>
  </states>
</oval_definitions>