Debian Codegraph @

tests/mitre/unix-def_process_test.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.1</oval:schema_version>
5 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
6 <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the license described in terms.txt.</terms_of_use>
7 </generator>
8 <definitions>
9 <definition id="oval:org.mitre.oval.test:def:646" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the unix-def:process_test is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the unix-def:process_test.</description>
13 </metadata>
14 <notes>
15 <note>It is important to note that the values used in this test definition are specific to a particular machine, and may not necessarily apply to your system. As a result, in order to have the definition return a result of 'true', you must either change these values to the ones found on your particular system, or you must configure your system to use these values.</note>
16 </notes>
17 <criteria operator="AND">
18 <criterion comment="Test that the process_object is supported with the name entity equal to some value." test_ref="oval:org.mitre.oval.test:tst:893"/>
19 <criterion comment="Test that the process_object is supported with the name entity not equal to some value." test_ref="oval:org.mitre.oval.test:tst:775"/>
20 <criterion comment="Test that the process_object is supported with the name entity matching some regular expression." test_ref="oval:org.mitre.oval.test:tst:720"/>
21 </criteria>
22 </definition>
23 </definitions>
24 <tests>
25 <process_test id="oval:org.mitre.oval.test:tst:893" version="1" comment="Test that the process_object is supported with the name entity equal to some value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
26 <object object_ref="oval:org.mitre.oval.test:obj:783"/>
27 <state state_ref="oval:org.mitre.oval.test:ste:420"/>
28 </process_test>
29 <process_test id="oval:org.mitre.oval.test:tst:775" version="1" comment="Test that the process_object is supported with the name entity not equal to some value." 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:801"/>
31 <state state_ref="oval:org.mitre.oval.test:ste:743"/>
32 </process_test>
33 <process_test id="oval:org.mitre.oval.test:tst:720" version="1" comment="Test that the process_object is supported with the name entity matching some regular expression." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
34 <object object_ref="oval:org.mitre.oval.test:obj:35"/>
35 <state state_ref="oval:org.mitre.oval.test:ste:280"/>
36 </process_test>
37 </tests>
38 <objects>
39 <process_object id="oval:org.mitre.oval.test:obj:783" version="1" comment="Retrieve an process_item with a name equal to 'hald'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
40 <command>hald</command>
41 </process_object>
42 <process_object id="oval:org.mitre.oval.test:obj:801" version="1" comment="Retrieve process_items with names that are not equal to 'hald'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
43 <command operation="not equal">hald</command>
44 </process_object>
45 <process_object id="oval:org.mitre.oval.test:obj:35" version="1" comment="Retrieve process_items with names that match the regular expression '^ha.d$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
46 <command operation="pattern match">^ha.d$</command>
47 </process_object>
48 </objects>
49 <states>
50 <process_state id="oval:org.mitre.oval.test:ste:420" version="1" comment="This state represents an process_item that has a name equal to 'hald'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
51 <command>hald</command>
52 </process_state>
53 <process_state id="oval:org.mitre.oval.test:ste:743" version="1" comment="This state represents process_items that have a name not equal to 'hald'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
54 <command operation="not equal">hald</command>
55 </process_state>
56 <process_state id="oval:org.mitre.oval.test:ste:280" version="1" comment="This state represents process_items that have a name that matches the regular expression '^ha.d$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
57 <command operation="pattern match">^ha.d$</command>
58 </process_state>
59 </states>
60 </oval_definitions>