components/openscap/files/cpe/openscap-cpe-oval.xml
author Jacob Varughese <jacob.varughese@oracle.com>
Wed, 24 Feb 2016 14:19:35 -0800
branchs11u3-sru
changeset 5494 4d99913076de
parent 4343 df06342a3259
permissions -rw-r--r--
22188277 upgrade openscap to 1.2.6 21051102 Need smfproperty probe to check smfproperty values in OVAL 21928864 oscap is limited to processing 32K records due to memory checks in the code 21636352 Fix the cpe OVAL checks

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
-->
<oval_definitions 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"
     xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
     xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
  <generator>
    <oval:product_name>Oracle Solaris</oval:product_name>
    <oval:product_version />
    <oval:schema_version>5.9</oval:schema_version>
    <oval:timestamp>2015-01-28T13:10:39</oval:timestamp>
  </generator>
  <definitions>
    <definition id="oval:com.oracle.solaris.cpe:def:1" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris">
        <criterion comment="Oracle Solaris"
             test_ref="oval:com.oracle.solaris.cpe:tst:11" />
      </criteria>
    </definition>
    <definition id="oval:com.oracle.solaris.cpe:def:11" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris 11</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris 11
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris 11">
        <criterion comment="Oracle Solaris 11"
             test_ref="oval:com.oracle.solaris.cpe:tst:11" />
      </criteria>
    </definition>
    <definition id="oval:com.oracle.solaris.cpe:def:111" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris 11.1</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris 11.1
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris 11.1">
        <criterion comment="Oracle Solaris 11.1"
             test_ref="oval:com.oracle.solaris.cpe:tst:111" />
      </criteria>
    </definition>
    <definition id="oval:com.oracle.solaris.cpe:def:112" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris 11.2</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris 11.2
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris 11.2">
        <criterion comment="Oracle Solaris 11.2"
             test_ref="oval:com.oracle.solaris.cpe:tst:112" />
      </criteria>
    </definition>
    <definition id="oval:com.oracle.solaris.cpe:def:113" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris 11.3</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris 11.3
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris 11.3">
        <criterion comment="Oracle Solaris 11.3"
             test_ref="oval:com.oracle.solaris.cpe:tst:113" />
      </criteria>
    </definition>
    <definition id="oval:com.oracle.solaris.cpe:def:12" version="1"
         class="inventory">
      <metadata>
        <title>Oracle Solaris 12</title>
        <affected family="unix">
          <product>Oracle Solaris</product>
        </affected>
        <description>
          Oracle Solaris 12
        </description>
      </metadata>
      <criteria operator="AND" negate="false"
           comment="Operating System is Oracle Solaris 12">
        <criterion comment="Oracle Solaris 12"
             test_ref="oval:com.oracle.solaris.cpe:tst:12" />
      </criteria>
    </definition>
  </definitions>
  <tests>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:1" version="0" check="all"
         comment="Oracle Solaris" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:1" />
    </uname_test>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:11" version="1" check="all"
         comment="Oracle Solaris 11" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:11" />
    </uname_test>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:111" version="111" check="all"
         comment="Oracle Solaris 11.1" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:111" />
    </uname_test>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:112" version="11" check="all"
         comment="Oracle Solaris 11.2" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:112" />
    </uname_test>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:113" version="113" check="all"
         comment="Oracle Solaris 11.3" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:113" />
    </uname_test>
    <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:tst:12" version="12" check="all"
         comment="Oracle Solaris 12" check_existence="all_exist">
      <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
      <state state_ref="oval:com.oracle.solaris.cpe:ste:12" />
    </uname_test>
  </tests>
  <objects>
    <uname_object
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:obj:1" version="1"
         comment="Oracle Solaris release" />
  </objects>
  <states>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:1" version="1"
         comment="Oracle Solaris">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="pattern match"
          entity_check="all" >^5.*$</os_release>
    </uname_state>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:11" version="1"
         comment="Oracle Solaris 11">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="equals"
          entity_check="all">5.11</os_release>
    </uname_state>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:111" version="1"
         comment="Oracle Solaris 11.1">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="equals"
          entity_check="all">5.11</os_release>
      <os_version datatype="string" operation="equals"
          entity_check="all">11.1</os_version>
    </uname_state>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:112" version="1"
         comment="Oracle Solaris 11.2">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="equals"
          entity_check="all">5.11</os_release>
      <os_version datatype="string" operation="equals"
          entity_check="all">11.2</os_version>
    </uname_state>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:113" version="1"
         comment="Oracle Solaris 11.3">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="equals"
          entity_check="all">5.11</os_release>
      <os_version datatype="string" operation="equals"
          entity_check="all">11.3</os_version>
    </uname_state>
    <uname_state
         xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
         id="oval:com.oracle.solaris.cpe:ste:12" version="1"
         comment="Oracle Solaris 12">
      <os_name datatype="string" operation="equals"
          entity_check="all">SunOS</os_name>
      <os_release datatype="string" operation="equals"
          entity_check="all">5.12</os_release>
    </uname_state>
  </states>
</oval_definitions>