Debian Codegraph @

tests/mitre/unix-def_inetd_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">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>2009-08-07T17:25:07-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:260" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the unix-def:inetd_test is properly supported</title>
12 <description>This definition is intended to evaluate to true if the interpreter properly supports unix-def:inetd_test.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="Test that the inetd_object is supported with the protocol entity equal to some value and the service_name entity equal to some value." test_ref="oval:org.mitre.oval.test:tst:53"/>
16 <criterion comment="Test that the inetd_object is supported with the protocol entity not equal to some value and the service_name entity not equal to some value." test_ref="oval:org.mitre.oval.test:tst:381"/>
17 <criterion comment="Test that the inetd_object is supported with the protocol entity matching some regular expression and the service_name entity matching some regular expression." test_ref="oval:org.mitre.oval.test:tst:701"/>
18 </criteria>
19 </definition>
20 </definitions>
21 <tests>
22 <inetd_test id="oval:org.mitre.oval.test:tst:53" version="1" comment="Test that the inetd_object is supported with the protocol entity equal to some value and the service_name entity equal to some value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
23 <object object_ref="oval:org.mitre.oval.test:obj:987"/>
24 <state state_ref="oval:org.mitre.oval.test:ste:672"/>
25 </inetd_test>
26 <inetd_test id="oval:org.mitre.oval.test:tst:381" version="1" comment="Test that the inetd_object is supported with the protocol entity not equal to some value and the service_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">
27 <object object_ref="oval:org.mitre.oval.test:obj:720"/>
28 <state state_ref="oval:org.mitre.oval.test:ste:300"/>
29 </inetd_test>
30 <inetd_test id="oval:org.mitre.oval.test:tst:701" version="1" comment="Test that the inetd_object is supported with the protocol entity matching some regular expression and the service_name entity matching some regular expression." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
31 <object object_ref="oval:org.mitre.oval.test:obj:863"/>
32 <state state_ref="oval:org.mitre.oval.test:ste:771"/>
33 </inetd_test>
34 </tests>
35 <objects>
36 <inetd_object id="oval:org.mitre.oval.test:obj:987" version="1" comment="This inetd_object represents an inetd_item where the protocol equals 'tcp' and the service_name equals 'telnet'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
37 <protocol>tcp</protocol>
38 <service_name>telnet</service_name>
39 </inetd_object>
40 <inetd_object id="oval:org.mitre.oval.test:obj:720" version="1" comment="This inetd_object represents an inetd_item where the protocol is not equal to 'tcp' and the service_name is not equal to 'telnet'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
41 <protocol operation="not equal">tcp</protocol>
42 <service_name operation="not equal">telnet</service_name>
43 </inetd_object>
44 <inetd_object id="oval:org.mitre.oval.test:obj:863" version="1" comment="This inetd_object represents an inetd_item where the protocol matches the regular expression '^t.p$' and the service_name matches the regular expression '^te.n.t$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
45 <protocol operation="pattern match">^t.p$</protocol>
46 <service_name operation="pattern match">^te.n.t$</service_name>
47 </inetd_object>
48 </objects>
49 <states>
50 <inetd_state id="oval:org.mitre.oval.test:ste:672" version="1" comment="This inetd_state represents an inetd_item which has a protocol equal to 'tcp' and a service_name equal to 'telnet'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
51 <protocol>tcp</protocol>
52 <service_name>telnet</service_name>
53 </inetd_state>
54 <inetd_state id="oval:org.mitre.oval.test:ste:300" version="1" comment="This inetd_state represents an inetd_item which has a protocol not equal to 'tcp' and a service_name not equal to 'telnet'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
55 <protocol operation="not equal">tcp</protocol>
56 <service_name operation="not equal">telnet</service_name>
57 </inetd_state>
58 <inetd_state id="oval:org.mitre.oval.test:ste:771" version="1" comment="This inetd_state represents an inetd_item which has a protocol that matches the regular expression '^t.p$' and a service_name that matches the regular expression '^te.n.t$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
59 <protocol operation="pattern match">^t.p$</protocol>
60 <service_name operation="pattern match">^te.n.t$</service_name>
61 </inetd_state>
62 </states>
63 </oval_definitions>