diff options
Diffstat (limited to 'xml/SCAP/gentoo-oval.xml')
-rw-r--r-- | xml/SCAP/gentoo-oval.xml | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml new file mode 100644 index 0000000..d2ece23 --- /dev/null +++ b/xml/SCAP/gentoo-oval.xml @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" + xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" + xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" + xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" + xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" + xsi:schemaLocation=" + http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd + http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd + http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd + http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd + http://standards.iso.org/iso/19770/-2/2009/schema.xsd schema.xsd"> + +<generator> + <oval:product_name>OVAL Gentoo Linux</oval:product_name> + <oval:product_version>20130917.1</oval:product_version> + <oval:schema_version>5.10</oval:schema_version> + <oval:timestamp>2013-09-17T19:42:00</oval:timestamp> +</generator> + +<definitions> + + <definition id="oval:org.gentoo.dev.swift:def:1" version="1" class="inventory"> + <metadata> + <title>Gentoo Linux is installed</title> + <affected family="unix"> + <platform>Gentoo Linux</platform> + </affected> + <description> + This definition tests whether Gentoo Linux is installed. + </description> + </metadata> + <criteria> + <criterion test_ref="oval:org.gentoo.dev.swift:tst:1" comment="The /etc/gentoo-release file exists" /> + </criteria> + </definition> + + <definition id="oval:org.gentoo.dev.swift:def:2" version="1" class="compliance"> + <metadata> + <title>The /home location must be a separate file system</title> + <affected family="unix"> + <platform>Gentoo Linux</platform> + </affected> + <reference source="CCE" ref_url="http://nvd.nist.gov/cce/index.cfm" ref_id="CCE-14559-9"/> + <description> + This definition tests whether the /home location is a separate file + system. + </description> + </metadata> + <criteria operator="AND"> + <criterion test_ref="oval:org.gentoo.dev.swift:tst:2" comment="The /home location is on a separate partition" /> + </criteria> + </definition> +</definitions> + +<tests> + + <unix-def:file_test id="oval:org.gentoo.dev.swift:tst:1" + version="1" check="all" check_existence="all_exist" + comment="Tests that /etc/gentoo-release exists"> + <!-- /etc/gentoo-release file --> + <unix-def:object object_ref="oval:org.gentoo.dev.swift:obj:1" /> + </unix-def:file_test> + + <lin-def:partition_test id="oval:org.gentoo.dev.swift:tst:2" + version="1" check="all" check_existence="all_exist" + comment="Tests that /home is a separate file system"> + <!-- /home partition --> + <lin-def:object object_ref="oval:org.gentoo.dev.swift:obj:2" /> + </lin-def:partition_test> +</tests> + +<objects> + + <unix-def:file_object id="oval:org.gentoo.dev.swift:obj:1" + version="1" comment="The /etc/gentoo-release file"> + <unix-def:filepath>/etc/gentoo-release</unix-def:filepath> + </unix-def:file_object> + + <lin-def:partition_object id="oval:org.gentoo.dev.swift:obj:2" + version="1" comment="The /home partition"> + <lin-def:mount_point>/home</lin-def:mount_point> + </lin-def:partition_object> +</objects> + +<!-- +<states> +</states> +--> + +<!-- +<variables> +</variables> +--> +</oval_definitions> |