/usr/share/doc/libopenscap-dev/examples/package-test.xml is in libopenscap-dev 1.2.9-1+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | <?xml version="1.0" encoding="UTF-8"?>
<definition xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"
xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"
xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
class="compliance"
version="1"
id="oval:tresys.example:def:1">
<generator>
<oval:product_name>oval_probes Python Example</oval:product_name>
<oval:product_version>1.0</oval:product_version>
<oval:schema_version>5.5</oval:schema_version>
<oval:timestamp>2010-01-12T00:00:00-00:00</oval:timestamp>
</generator>
<definitions>
<definition class="inventory" version="1" id="oval:tresys.example:def:1">
<metadata>
<title>Fedora OS installed</title>
<affected family="unix">
<platform>Fedora</platform>
</affected>
<reference ref_id="cpe:/o:fedoraproject:fedora" source="CPE"/>
<description>You are running the test on a Fedora System</description>
</metadata>
<criteria>
<criterion test_ref="oval:tresys.example:tst:1"
comment="Fedora is installed"/>
<criterion test_ref="oval:tresys.example:tst:2"
comment="Installed operating system is part of the unix family"/>
</criteria>
</definition>
</definitions>
<tests>
<rpminfo_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"
check_existence="at_least_one_exists"
comment="Fedora Version is 1-12"
version="1"
id="oval:tresys.example:tst:1"
check="at least one">
<object object_ref="oval:tresys.example:obj:1"/>
<state state_ref="oval:tresys.example:ste:1"/>
</rpminfo_test>
<family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
check_existence="at_least_one_exists"
comment="System is part of the Unix family"
version="1"
id="oval:tresys.example:tst:2"
check="only one">
<object object_ref="oval:tresys.example:obj:2"/>
<state state_ref="oval:tresys.example:ste:2"/>
</family_test>
</tests>
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" version="1"
id="oval:tresys.example:obj:1">
<name>fedora-release</name>
</rpminfo_object>
<family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
version="1"
id="oval:tresys.example:obj:2"/>
</objects>
<states>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" version="1"
id="oval:tresys.example:ste:1">
<version operation="pattern match">[0-9]*</version>
</rpminfo_state>
<family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
version="1"
id="oval:tresys.example:ste:2">
<family>unix</family>
</family_state>
</states>
</definition>
|