Debian Codegraph @

tests/API/OVAL/validate/oval-schema-fail.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:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-common-schema.xsd ">
3 <generator>
4 <oval:product_name>DISA FSO</oval:product_name>
5 <oval:schema_version>5.3</oval:schema_version>
6 <oval:timestamp>2011-07-12T12:00:00-04:00</oval:timestamp>
7 </generator>
8 <definitions>
9 <definition bal="pica" class="inventory" id="oval:mil.disa.fso.rhel:def:498" version="1">
10 <metadata>
11 <title>Red Hat Enterprise Linux 5</title>
12 <affected family="unix">
13 <platform>Red Hat Enterprise Linux 5</platform>
14 </affected>
15 <reference ref_id="cpe:/o:redhat:enterprise_linux:5" source="CPE" />
16 <description>The operating system installed on the system is Red Hat Enterprise Linux 5</description>
17 </metadata>
18 <criteria>
19 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:mil.disa.fso.rhel:tst:49800" />
20 <criterion comment="Red Hat Enterprise Linux 5 is installed" test_ref="oval:mil.disa.fso.rhel:tst:49801" />
21 </criteria>
22 </definition>
23 </definitions>
24 <tests>
25 <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check_existence="at_least_one_exists" id="oval:mil.disa.fso.rhel:tst:49800" version="1" check="only one" comment="installed operating system is part of the Unix family">
26 <object object_ref="oval:mil.disa.fso.rhel:obj:49800" />
27 <state state_ref="oval:mil.disa.fso.rhel:ste:49800" />
28 </family_test>
29 <rpminfo_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" check_existence="at_least_one_exists" id="oval:mil.disa.fso.rhel:tst:49801" version="1" check="at least one" comment="redhat-release is version 5">
30 <object object_ref="oval:mil.disa.fso.rhel:obj:49801" />
31 <state state_ref="oval:mil.disa.fso.rhel:ste:49801" />
32 </rpminfo_test>
33 </tests>
34 <objects>
35 <rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:mil.disa.fso.rhel:obj:49801" version="1">
36 <name datatype="string">redhat-release</name>
37 </rpminfo_object>
38 <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.rhel:obj:49800" version="1" />
39 </objects>
40 <states>
41 <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.rhel:ste:49800" version="1">
42 <family>unix</family>
43 </family_state>
44 <rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:mil.disa.fso.rhel:ste:49801" version="1">
45 <version operation="pattern match">^5</version>
46 </rpminfo_state>
47 </states>
48 </oval_definitions>
49