1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
<generator>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2018-01-12T10:41:00-05:00</oval:timestamp>
</generator>
<definitions>
<definition class="compliance" id="oval:x:def:1" version="1">
<metadata>
<title>FAIL</title>
<description>always fail</description>
</metadata>
<criteria>
<criterion comment="always failing test" test_ref="oval:x:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:x:def:2" version="1">
<metadata>
<title>PASS</title>
<description>always pass</description>
</metadata>
<criteria>
<criterion comment="always passing test" test_ref="oval:x:tst:2"/>
</criteria>
</definition>
</definitions>
<tests>
<variable_test id="oval:x:tst:1" check="all" comment="always fail" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<object object_ref="oval:x:obj:1"/>
<state state_ref="oval:x:ste:1"/>
</variable_test>
<variable_test id="oval:x:tst:2" check="all" comment="always pass" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<object object_ref="oval:x:obj:1"/>
<state state_ref="oval:x:ste:2"/>
</variable_test>
</tests>
<objects>
<variable_object id="oval:x:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<var_ref>oval:x:var:1</var_ref>
</variable_object>
</objects>
<states>
<variable_state id="oval:x:ste:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<value datatype="int" operation="equals">0</value>
</variable_state>
<variable_state id="oval:x:ste:2" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<value datatype="int" operation="equals">100</value>
</variable_state>
</states>
<variables>
<constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int">
<value>100</value>
</constant_variable>
</variables>
</oval_definitions>
|