components/openscap/files/cpe/openscap-cpe-oval.xml
branchs11-update
changeset 4343 df06342a3259
child 4823 3ef8b7f4d9d8
child 5494 4d99913076de
equal deleted inserted replaced
4340:729452029ab0 4343:df06342a3259
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!--
       
     3   Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
       
     4 -->
       
     5 <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
       
     6      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
     7      xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
       
     8      xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"
       
     9      xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
    10      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">
       
    11   <generator>
       
    12     <oval:product_name>Oracle Solaris</oval:product_name>
       
    13     <oval:product_version />
       
    14     <oval:schema_version>5.9</oval:schema_version>
       
    15     <oval:timestamp>2015-01-28T13:10:39</oval:timestamp>
       
    16   </generator>
       
    17   <definitions>
       
    18     <definition id="oval:com.oracle.solaris.cpe:def:1" version="1"
       
    19          class="inventory">
       
    20       <metadata>
       
    21         <title>Oracle Solaris</title>
       
    22         <affected family="unix">
       
    23           <product>Oracle Solaris</product>
       
    24         </affected>
       
    25         <description>
       
    26           Oracle Solaris
       
    27         </description>
       
    28       </metadata>
       
    29       <criteria operator="AND" negate="false"
       
    30            comment="Operating System is Oracle Solaris">
       
    31         <criterion comment="Oracle Solaris"
       
    32              test_ref="oval:com.oracle.solaris.cpe:tst:11" />
       
    33       </criteria>
       
    34     </definition>
       
    35     <definition id="oval:com.oracle.solaris.cpe:def:11" version="1"
       
    36          class="inventory">
       
    37       <metadata>
       
    38         <title>Oracle Solaris 11</title>
       
    39         <affected family="unix">
       
    40           <product>Oracle Solaris</product>
       
    41         </affected>
       
    42         <description>
       
    43           Oracle Solaris 11
       
    44         </description>
       
    45       </metadata>
       
    46       <criteria operator="AND" negate="false"
       
    47            comment="Operating System is Oracle Solaris 11">
       
    48         <criterion comment="Oracle Solaris 11"
       
    49              test_ref="oval:com.oracle.solaris.cpe:tst:11" />
       
    50       </criteria>
       
    51     </definition>
       
    52     <definition id="oval:com.oracle.solaris.cpe:def:111" version="1"
       
    53          class="inventory">
       
    54       <metadata>
       
    55         <title>Oracle Solaris 11.1</title>
       
    56         <affected family="unix">
       
    57           <product>Oracle Solaris</product>
       
    58         </affected>
       
    59         <description>
       
    60           Oracle Solaris 11.1
       
    61         </description>
       
    62       </metadata>
       
    63       <criteria operator="AND" negate="false"
       
    64            comment="Operating System is Oracle Solaris 11.1">
       
    65         <criterion comment="Oracle Solaris 11.1"
       
    66              test_ref="oval:com.oracle.solaris.cpe:tst:111" />
       
    67       </criteria>
       
    68     </definition>
       
    69     <definition id="oval:com.oracle.solaris.cpe:def:112" version="1"
       
    70          class="inventory">
       
    71       <metadata>
       
    72         <title>Oracle Solaris 11.2</title>
       
    73         <affected family="unix">
       
    74           <product>Oracle Solaris</product>
       
    75         </affected>
       
    76         <description>
       
    77           Oracle Solaris 11.2
       
    78         </description>
       
    79       </metadata>
       
    80       <criteria operator="AND" negate="false"
       
    81            comment="Operating System is Oracle Solaris 11.2">
       
    82         <criterion comment="Oracle Solaris 11.2"
       
    83              test_ref="oval:com.oracle.solaris.cpe:tst:112" />
       
    84       </criteria>
       
    85     </definition>
       
    86     <definition id="oval:com.oracle.solaris.cpe:def:113" version="1"
       
    87          class="inventory">
       
    88       <metadata>
       
    89         <title>Oracle Solaris 11.3</title>
       
    90         <affected family="unix">
       
    91           <product>Oracle Solaris</product>
       
    92         </affected>
       
    93         <description>
       
    94           Oracle Solaris 11.3
       
    95         </description>
       
    96       </metadata>
       
    97       <criteria operator="AND" negate="false"
       
    98            comment="Operating System is Oracle Solaris 11.3">
       
    99         <criterion comment="Oracle Solaris 11.3"
       
   100              test_ref="oval:com.oracle.solaris.cpe:tst:113" />
       
   101       </criteria>
       
   102     </definition>
       
   103     <definition id="oval:com.oracle.solaris.cpe:def:12" version="1"
       
   104          class="inventory">
       
   105       <metadata>
       
   106         <title>Oracle Solaris 12</title>
       
   107         <affected family="unix">
       
   108           <product>Oracle Solaris</product>
       
   109         </affected>
       
   110         <description>
       
   111           Oracle Solaris 12
       
   112         </description>
       
   113       </metadata>
       
   114       <criteria operator="AND" negate="false"
       
   115            comment="Operating System is Oracle Solaris 12">
       
   116         <criterion comment="Oracle Solaris 12"
       
   117              test_ref="oval:com.oracle.solaris.cpe:tst:12" />
       
   118       </criteria>
       
   119     </definition>
       
   120   </definitions>
       
   121   <tests>
       
   122     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   123          id="oval:com.oracle.solaris.cpe:tst:1" version="0" check="all"
       
   124          comment="Oracle Solaris" check_existence="all_exist">
       
   125       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   126       <state state_ref="oval:com.oracle.solaris.cpe:ste:1" />
       
   127     </uname_test>
       
   128     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   129          id="oval:com.oracle.solaris.cpe:tst:11" version="1" check="all"
       
   130          comment="Oracle Solaris 11" check_existence="all_exist">
       
   131       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   132       <state state_ref="oval:com.oracle.solaris.cpe:ste:11" />
       
   133     </uname_test>
       
   134     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   135          id="oval:com.oracle.solaris.cpe:tst:111" version="111" check="all"
       
   136          comment="Oracle Solaris 11.1" check_existence="all_exist">
       
   137       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   138       <state state_ref="oval:com.oracle.solaris.cpe:ste:111" />
       
   139     </uname_test>
       
   140     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   141          id="oval:com.oracle.solaris.cpe:tst:112" version="11" check="all"
       
   142          comment="Oracle Solaris 11.2" check_existence="all_exist">
       
   143       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   144       <state state_ref="oval:com.oracle.solaris.cpe:ste:112" />
       
   145     </uname_test>
       
   146     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   147          id="oval:com.oracle.solaris.cpe:tst:113" version="113" check="all"
       
   148          comment="Oracle Solaris 11.3" check_existence="all_exist">
       
   149       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   150       <state state_ref="oval:com.oracle.solaris.cpe:ste:113" />
       
   151     </uname_test>
       
   152     <uname_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   153          id="oval:com.oracle.solaris.cpe:tst:12" version="12" check="all"
       
   154          comment="Oracle Solaris 12" check_existence="all_exist">
       
   155       <object object_ref="oval:com.oracle.solaris.cpe:obj:1" />
       
   156       <state state_ref="oval:com.oracle.solaris.cpe:ste:12" />
       
   157     </uname_test>
       
   158   </tests>
       
   159   <objects>
       
   160     <uname_object
       
   161          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   162          id="oval:com.oracle.solaris.cpe:obj:1" version="1"
       
   163          comment="Oracle Solaris release" />
       
   164   </objects>
       
   165   <states>
       
   166     <uname_state
       
   167          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   168          id="oval:com.oracle.solaris.cpe:ste:1" version="1"
       
   169          comment="Oracle Solaris">
       
   170       <os_name datatype="string" operation="equals"
       
   171           entity_check="all">SunOS</os_name>
       
   172       <os_version datatype="string" operation="pattern match"
       
   173           entity_check="all" >^5.*$</os_version>
       
   174     </uname_state>
       
   175     <uname_state
       
   176          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   177          id="oval:com.oracle.solaris.cpe:ste:11" version="1"
       
   178          comment="Oracle Solaris 11">
       
   179       <os_name datatype="string" operation="equals"
       
   180           entity_check="all">SunOS</os_name>
       
   181       <os_version datatype="string" operation="equals"
       
   182           entity_check="all">5.11</os_version>
       
   183     </uname_state>
       
   184     <uname_state
       
   185          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   186          id="oval:com.oracle.solaris.cpe:ste:111" version="1"
       
   187          comment="Oracle Solaris 11.1">
       
   188       <os_name datatype="string" operation="equals"
       
   189           entity_check="all">SunOS</os_name>
       
   190       <os_release datatype="string" operation="equals"
       
   191           entity_check="all">11.1</os_release>
       
   192       <os_version datatype="string" operation="equals"
       
   193           entity_check="all">5.11</os_version>
       
   194     </uname_state>
       
   195     <uname_state
       
   196          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   197          id="oval:com.oracle.solaris.cpe:ste:112" version="1"
       
   198          comment="Oracle Solaris 11.2">
       
   199       <os_name datatype="string" operation="equals"
       
   200           entity_check="all">SunOS</os_name>
       
   201       <os_release datatype="string" operation="equals"
       
   202           entity_check="all">11.2</os_release>
       
   203       <os_version datatype="string" operation="equals"
       
   204           entity_check="all">5.11</os_version>
       
   205     </uname_state>
       
   206     <uname_state
       
   207          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   208          id="oval:com.oracle.solaris.cpe:ste:113" version="1"
       
   209          comment="Oracle Solaris 11.3">
       
   210       <os_name datatype="string" operation="equals"
       
   211           entity_check="all">SunOS</os_name>
       
   212       <os_release datatype="string" operation="equals"
       
   213           entity_check="all">11.3</os_release>
       
   214       <os_version datatype="string" operation="equals"
       
   215           entity_check="all">5.11</os_version>
       
   216     </uname_state>
       
   217     <uname_state
       
   218          xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
       
   219          id="oval:com.oracle.solaris.cpe:ste:12" version="1"
       
   220          comment="Oracle Solaris 12">
       
   221       <os_name datatype="string" operation="equals"
       
   222           entity_check="all">SunOS</os_name>
       
   223       <os_release datatype="string" operation="equals"
       
   224           entity_check="all">5.12</os_release>
       
   225     </uname_state>
       
   226   </states>
       
   227 </oval_definitions>