Debian Codegraph @

tests/nist/R1100/r1100-scap11-win_rhel-cpe-oval.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/windows-definitions-schema.xsd
3 http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/independent-definitions-schema.xsd
4 http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-definitions-schema.xsd
5 http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-common-schema.xsd
6 http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/linux-definitions-schema.xsd
7 http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/unix-definitions-schema.xsd">
8 <generator>
9 <oval:product_name>National Institute of Standards and Technology</oval:product_name>
10 <oval:schema_version>5.8</oval:schema_version>
11 <oval:timestamp>2012-06-28T09:49:40.000-05:00</oval:timestamp>
12 </generator>
13 <definitions>
14 <!--====================================================================================================-->
15 <!--===================================== EXTENDED DEFINITIONS =========================================-->
16 <!--====================================================================================================-->
17 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:100" version="2">
18 <metadata>
19 <title>Red Hat Enterprise Linux 3, 4, 5, 6, or 7</title>
20 <affected family="unix">
21 <platform>Red Hat Enterprise Linux</platform>
22 </affected>
23 <reference ref_id="cpe:/o:redhat:enterprise_linux" source="CPE"/>
24 <description>The operating system installed on the system is Red Hat Enterprise Linux 3, 4, 5, 6, or 7</description>
25 </metadata>
26 <criteria>
27 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:gov.nist.validation.cpe.oval:tst:100"/>
28 <criterion comment="Red Hat Enterprise Linux 3, 4, 5, 6, or 7 is installed" test_ref="oval:gov.nist.validation.cpe.oval:tst:101"/>
29 </criteria>
30 </definition>
31 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:101" version="4">
32 <metadata>
33 <title>Microsoft Windows is installed</title>
34 <affected family="windows">
35 <platform>Microsoft Windows XP</platform>
36 <platform>Microsoft Windows Vista</platform>
37 <platform>Microsoft Windows 7</platform>
38 <platform>Microsoft Windows 8</platform>
39 <platform>Microsoft Windows 8.1</platform>
40 <platform>Microsoft Windows 10</platform>
41 <platform>Microsoft Windows Server 2012</platform>
42 <platform>Microsoft Windows Server 2012 R2</platform>
43 </affected>
44 <reference ref_id="cpe:/o:microsoft:windows" source="CPE"/>
45 <description>The operating system installed on the system is Microsoft Windows</description>
46 </metadata>
47 <criteria>
48 <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
49 </criteria>
50 </definition>
51 </definitions>
52 <!-- ==================================================================================================== -->
53 <!-- ============================================ TESTS =============================================== -->
54 <!-- ==================================================================================================== -->
55 <tests>
56 <family_test check_existence="at_least_one_exists" id="oval:gov.nist.validation.cpe.oval:tst:100" version="1" check="only one" comment="installed operating system is part of the Unix family" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
57 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:100"/>
58 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:100"/>
59 </family_test>
60 <rpminfo_test check_existence="at_least_one_exists" id="oval:gov.nist.validation.cpe.oval:tst:101" version="2" check="at least one" comment="redhat-release is version 3, 4, 5, 6, or 7" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
61 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:101"/>
62 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:101"/>
63 </rpminfo_test>
64 <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check="only one" check_existence="at_least_one_exists" comment="the installed operating system is part of the Microsoft Windows family" id="oval:org.mitre.oval:tst:99" version="1">
65 <object object_ref="oval:org.mitre.oval:obj:99"/>
66 <state state_ref="oval:org.mitre.oval:ste:99"/>
67 </family_test>
68 </tests>
69 <!-- ==================================================================================================== -->
70 <!-- ============================================ OBJECTS ============================================= -->
71 <!-- ==================================================================================================== -->
72 <objects>
73 <family_object id="oval:gov.nist.validation.cpe.oval:obj:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"/>
74 <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="This is the default family object. Only one family object should exist." id="oval:org.mitre.oval:obj:99" version="1"/>
75 <rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" comment="the redhat-release rpm" id="oval:gov.nist.validation.cpe.oval:obj:101" version="2">
76 <name operation="pattern match">^redhat-release.*$</name>
77 </rpminfo_object>
78 </objects>
79 <!-- ==================================================================================================== -->
80 <!-- ============================================= STATES ============================================= -->
81 <!-- ==================================================================================================== -->
82 <states>
83 <family_state id="oval:gov.nist.validation.cpe.oval:ste:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
84 <family>unix</family>
85 </family_state>
86 <rpminfo_state id="oval:gov.nist.validation.cpe.oval:ste:101" version="2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
87 <version operation="pattern match">^[3-7]\D</version>
88 </rpminfo_state>
89 <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="Microsoft Windows family" id="oval:org.mitre.oval:ste:99" version="2">
90 <family operation="equals">windows</family>
91 </family_state>
92 </states>
93 <!-- ==================================================================================================== -->
94 <!-- ==================================================================================================== -->
95 <!-- ==================================================================================================== -->
96 </oval_definitions>