Debian Codegraph @

tests/oval_details/rpminfo.oval.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
6 </generator>
7
8 <definitions>
9 <definition class="compliance" version="1" id="oval:x:def:1">
10 <metadata>
11 <title>x</title>
12 <description>x</description>
13 <affected family="unix">
14 <platform>x</platform>
15 </affected>
16 </metadata>
17 <criteria>
18 <criterion test_ref="oval:x:tst:1" comment="always pass"/>
19 </criteria>
20 </definition>
21 </definitions>
22
23 <tests>
24 <textfilecontent_test id="oval:x:tst:1" version="1" comment="The version of the rpm package must be 666666666" check_existence="all_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
25 <object object_ref="oval:org.mitre.oval.test:obj:1"/>
26 <state state_ref="oval:org.mitre.oval.test:ste:1"/>
27 </textfilecontent_test>
28 </tests>
29
30 <objects>
31 <rpminfo_object id="oval:org.mitre.oval.test:obj:1" version="1" comment="Retrieve an rpminfo_item with a name equal to 'rpm'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
32 <name>rpm</name>
33 </rpminfo_object>
34 </objects>
35
36 <states>
37 <rpminfo_state id="oval:org.mitre.oval.test:ste:1" version="2" comment="This state represents an rpminfo_item that has a name equal to 'rpm', version 666666666, and an arch, epoch, release, evr, and signature_keyid that match the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
38 <name>rpm</name>
39 <arch operation="pattern match">.*</arch>
40 <epoch operation="pattern match">.*</epoch>
41 <release operation="pattern match">.*</release>
42 <version operation="pattern match">666666666</version>
43 <evr datatype="evr_string" operation="greater than or equal">0:0-0</evr>
44 <signature_keyid operation="pattern match">.*</signature_keyid>
45 </rpminfo_state>
46 </states>
47
48 </oval_definitions>