Debian Codegraph @

tests/probes/fileextendedattribute/test_probes_fileextendedattribute.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
4 <generator>
5 <oval:product_name>emacs</oval:product_name>
6 <oval:product_version>1.0</oval:product_version>
7 <oval:schema_version>5.8</oval:schema_version>
8 <oval:timestamp>2008-03-31T00:00:00-00:00</oval:timestamp>
9 </generator>
10 <definitions>
11 <definition class="compliance" version="1" id="oval:1:def:1"> <!-- comment="true" -->
12 <metadata>
13 <title></title>
14 <description></description>
15 </metadata>
16 <criteria>
17 <criteria operator="AND">
18 <criterion test_ref="oval:1:tst:1"/>
19 <criterion test_ref="oval:1:tst:2"/>
20 <criterion test_ref="oval:1:tst:3"/>
21 </criteria>
22 </criteria>
23 </definition>
24 </definitions>
25
26 <tests>
27 <fileextendedattribute_test version="1" id="oval:1:tst:1" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
28 <object object_ref="oval:1:obj:1"/>
29 <state state_ref="oval:1:ste:2"/>
30 </fileextendedattribute_test>
31
32 <fileextendedattribute_test version="1" id="oval:1:tst:2" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
33 <object object_ref="oval:1:obj:2"/>
34 <state state_ref="oval:1:ste:2"/>
35 </fileextendedattribute_test>
36
37 <fileextendedattribute_test version="1" id="oval:1:tst:3" check_existence="none_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
38 <object object_ref="oval:1:obj:3"/>
39 </fileextendedattribute_test>
40 </tests>
41
42 <objects>
43 <fileextendedattribute_object version="1" id="oval:1:obj:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
44 <path>/tmp</path>
45 <filename>xattr_with_val</filename>
46 <attribute_name>user.fooattr</attribute_name>
47 </fileextendedattribute_object>
48
49 <fileextendedattribute_object version="1" id="oval:1:obj:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
50 <path>/tmp</path>
51 <filename>xattr_without_val</filename>
52 <attribute_name>user.fooattr</attribute_name>
53 </fileextendedattribute_object>
54
55 <fileextendedattribute_object version="1" id="oval:1:obj:3" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
56 <path>/tmp</path>
57 <filename>xattr_noattr</filename>
58 <attribute_name>user.fooattr</attribute_name>
59 </fileextendedattribute_object>
60 </objects>
61
62 <states>
63 <fileextendedattribute_state version="1" id="oval:1:ste:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
64 <path>/tmp</path>
65 <filename>xattr_with_val</filename>
66 <attribute_name>user.fooattr</attribute_name>
67 <value>foo</value>
68 </fileextendedattribute_state>
69
70 <fileextendedattribute_state version="1" id="oval:1:ste:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
71 <path>/tmp</path>
72 <filename>xattr_without_val</filename>
73 <attribute_name>user.fooattr</attribute_name>
74 <value></value>
75 </fileextendedattribute_state>
76 </states>
77 </oval_definitions>