| 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-common-5 oval-common-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="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-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:963" version="1" class="miscellaneous"> |
| 10 | <metadata> |
| 11 | <title>Evaluate to true if the unix-def:xinetd_test is properly supported</title> |
| 12 | <description>This definition is intended to evaluate to true if the interpreter properly supports unix-def:xinetd_test.</description> |
| 13 | </metadata> |
| 14 | <criteria operator="AND"> |
| 15 | <criterion comment="Test that the xinetd_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:492"/> |
| 16 | <criterion comment="Test that the xinetd_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:70"/> |
| 17 | <criterion comment="Test that the xinetd_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:483"/> |
| 18 | </criteria> |
| 19 | </definition> |
| 20 | </definitions> |
| 21 | <tests> |
| 22 | <xinetd_test id="oval:org.mitre.oval.test:tst:492" version="1" comment="Test that the xinetd_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:705"/> |
| 24 | <state state_ref="oval:org.mitre.oval.test:ste:423"/> |
| 25 | </xinetd_test> |
| 26 | <xinetd_test id="oval:org.mitre.oval.test:tst:70" version="1" comment="Test that the xinetd_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:30"/> |
| 28 | <state state_ref="oval:org.mitre.oval.test:ste:314"/> |
| 29 | </xinetd_test> |
| 30 | <xinetd_test id="oval:org.mitre.oval.test:tst:483" version="1" comment="Test that the xinetd_object is supported with the protocol entity matching some regular expression and the service_name entity matching some regular expression." check_existence="any_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"> |
| 31 | <object object_ref="oval:org.mitre.oval.test:obj:917"/> |
| 32 | <state state_ref="oval:org.mitre.oval.test:ste:423"/> |
| 33 | </xinetd_test> |
| 34 | </tests> |
| 35 | <objects> |
| 36 | <xinetd_object id="oval:org.mitre.oval.test:obj:705" version="1" comment="This xinetd_object represents an xinetd_item with a protocol equal to 'tcp' and a service_name equal to 'telnet'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"> |
| 37 | <protocol>tcp</protocol> |
| 38 | <service_name>telnet</service_name> |
| 39 | </xinetd_object> |
| 40 | <xinetd_object id="oval:org.mitre.oval.test:obj:30" version="1" comment="This xinetd_object represents an xinetd_item with a protocol not equal to 'tpc' and a service_name 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 | </xinetd_object> |
| 44 | <xinetd_object id="oval:org.mitre.oval.test:obj:917" version="1" comment="This xinetd_object represents an xinetd_item with 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"> |
| 45 | <protocol operation="pattern match">^t.p$</protocol> |
| 46 | <service_name operation="pattern match">^te.n.t$</service_name> |
| 47 | </xinetd_object> |
| 48 | </objects> |
| 49 | <states> |
| 50 | <xinetd_state id="oval:org.mitre.oval.test:ste:423" version="1" comment="This state represents an xinetd_item with 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 | </xinetd_state> |
| 54 | <xinetd_state id="oval:org.mitre.oval.test:ste:314" version="1" comment="This state represents an xinetd_item with 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 | </xinetd_state> |
| 58 | <xinetd_state id="oval:org.mitre.oval.test:ste:784" version="1" comment="This state represents an xinetd_item with 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 | </xinetd_state> |
| 62 | </states> |
| 63 | </oval_definitions> |