Debian Codegraph @

tests/API/OVAL/unittests/deprecated_def.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <oval_definitions 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
3 <generator>
4 <oval:schema_version>5.10</oval:schema_version>
5 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
6 </generator>
7 <definitions>
8
9 <definition id="oval:org.mitre.oval.test:def:282" version="3" class="miscellaneous" deprecated="true">
10 <metadata>
11 <title>Deprecated definition</title>
12 <description>Deprecated definition without criteria child element must evaluate to "not evaluated" </description>
13 </metadata>
14 </definition>
15
16 <definition id="oval:org.mitre.oval.test:def:283" version="3" class="miscellaneous" deprecated="true">
17 <metadata>
18 <title>Deprecated definition</title>
19 <description>Deprecated definition with criteria - evaluation is optional</description>
20 </metadata>
21 <criteria>
22 <criterion comment="Test that all files are from /etc directory." test_ref="oval:org.mitre.oval.test:tst:1289"/>
23 </criteria>
24 </definition>
25
26 </definitions>
27
28 <tests>
29 <file_test id="oval:org.mitre.oval.test:tst:1289" version="1" comment="Test that all files are from /etc directory." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
30 <object object_ref="oval:org.mitre.oval.test:obj:512"/>
31 <state state_ref="oval:org.mitre.oval.test:ste:1762"/>
32 </file_test>
33 </tests>
34
35 <objects>
36 <file_object id="oval:org.mitre.oval.test:obj:512" version="1" comment="Files in etc" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
37 <path operation="pattern match">^/etc$</path>
38 <filename operation="pattern match"></filename>
39 </file_object>
40 </objects>
41
42 <states>
43 <file_state id="oval:org.mitre.oval.test:ste:1761" version="1" comment="/etc/passwd" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
44 <path>/etc</path>
45 <filename>passwd</filename>
46 </file_state>
47 <file_state id="oval:org.mitre.oval.test:ste:1762" version="1" comment="any /etc file" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
48 <path>/etc</path>
49 <filename operation="pattern match"></filename>
50 </file_state>
51 </states>
52
53 </oval_definitions>