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
|
<?xml version='1.0' encoding='UTF-8'?>
<oval_definitions xmlns='http://oval.mitre.org/XMLSchema/oval-definitions-5' xmlns:unix-def='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix' xmlns:ind-def ='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent' xmlns:oval='http://oval.mitre.org/XMLSchema/oval-common-5' xmlns:oval-def='http://oval.mitre.org/XMLSchema/oval-definitions-5' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent /usr/share/ovaldi/xml/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux /usr/share/ovaldi/xml/linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix /usr/share/ovaldi/xml/unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 /usr/share/ovaldi/xml/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 /usr/share/ovaldi/xml/oval-common-schema.xsd' xmlns:linux-def='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux'>
<generator>
<oval:product_name>Debian</oval:product_name>
<oval:schema_version>5.3</oval:schema_version>
<oval:timestamp>2007-08-08T22:18:08.188-04:00</oval:timestamp>
</generator>
<definitions>
<definition version='1' id='oval:org.debian:def:1325' class='vulnerability'>
<metadata>
<title>Debian release example definition</title>
<affected family='unix'>
<platform>Debian GNU/Linux 4.0</platform>
</affected>
<description>Test instalation of Debian 4.0 (etch) release</description>
</metadata>
<criteria comment='Release section' operator='AND'>
<criterion comment='Debian 4.0 is installed' test_ref='oval:org.debian.oval:tst:1'/>
</criteria>
</definition>
</definitions>
<tests>
<textfilecontent_test comment='Debian GNU/Linux 4.0 is installed' xmlns='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent' id='oval:org.debian.oval:tst:1' version='1' check='all' check_existence='at_least_one_exists'>
<object object_ref='oval:org.debian.oval:obj:1'/>
<state state_ref='oval:org.debian.oval:ste:1'/>
</textfilecontent_test>
</tests>
<objects>
<textfilecontent_object version='1' id='oval:org.debian.oval:obj:1' xmlns='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent'>
<path>/etc</path>
<filename>debian_version</filename>
<line operation='pattern match'>\d\.\d</line>
</textfilecontent_object>
</objects>
<states>
<textfilecontent_state version='1' id='oval:org.debian.oval:ste:1' xmlns='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent'>
<line operation='equals'>4.0</line>
</textfilecontent_state>
</states>
</oval_definitions>
|