aboutsummaryrefslogtreecommitdiff
blob: 5ae9a7a0a91d4501bf59c02a9c970e64a18df48d (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="UTF-8"?>
<oval_results xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-results-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
  <generator>
    <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name>
    <oval:schema_version>5.10</oval:schema_version>
    <oval:timestamp>2013-09-17T20:24:00</oval:timestamp>
  </generator>
  <directives>
    <definition_true reported="true" content="full"/>
    <definition_false reported="true" content="full"/>
    <definition_unknown reported="true" content="full"/>
    <definition_error reported="true" content="full"/>
    <definition_not_evaluated reported="true" content="full"/>
    <definition_not_applicable reported="true" content="full"/>
  </directives>
  <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="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://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-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: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_id="CCE-14559-9" ref_url="http://nvd.nist.gov/cce/index.cfm"/>
          <description>
        This definition tests whether the /home location is a separate file
	system.
      </description>
        </metadata>
        <criteria>
          <criterion test_ref="oval:org.gentoo.dev.swift:tst:2" comment="The /home location is on a separate partition"/>
        </criteria>
      </definition>
      <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>
    </definitions>
    <tests>
      <lin-def:partition_test id="oval:org.gentoo.dev.swift:tst:2" version="1" check_existence="all_exist" check="all" comment="Tests that /home is a separate file system">
        <lin-def:object object_ref="oval:org.gentoo.dev.swift:obj:2"/>
      </lin-def:partition_test>
      <unix-def:file_test id="oval:org.gentoo.dev.swift:tst:1" version="1" check_existence="all_exist" check="all" comment="Tests that /etc/gentoo-release exists">
        <unix-def:object object_ref="oval:org.gentoo.dev.swift:obj:1"/>
      </unix-def:file_test>
    </tests>
    <objects>
      <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>
      <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>
    </objects>
  </oval_definitions>
  <results>
    <system>
      <definitions>
        <definition definition_id="oval:org.gentoo.dev.swift:def:2" result="true" version="1">
          <criteria operator="AND" result="true">
            <criterion test_ref="oval:org.gentoo.dev.swift:tst:2" version="1" result="true"/>
          </criteria>
        </definition>
        <definition definition_id="oval:org.gentoo.dev.swift:def:1" result="not evaluated" version="1">
          <criteria operator="AND" result="not evaluated">
            <criterion test_ref="oval:org.gentoo.dev.swift:tst:1" version="1" result="not evaluated"/>
          </criteria>
        </definition>
      </definitions>
      <tests>
        <test test_id="oval:org.gentoo.dev.swift:tst:2" version="1" check_existence="all_exist" check="all" result="true">
          <tested_item item_id="1277011" result="not evaluated"/>
        </test>
        <test test_id="oval:org.gentoo.dev.swift:tst:1" version="1" check_existence="all_exist" check="all" result="not evaluated"/>
      </tests>
      <oval_system_characteristics xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix" xmlns:ind-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent" xmlns:lin-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5 oval-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent independent-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix unix-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux linux-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
        <generator>
          <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name>
          <oval:schema_version>5.10</oval:schema_version>
          <oval:timestamp>2013-09-17T20:24:00</oval:timestamp>
        </generator>
        <system_info>
          <os_name>Linux</os_name>
          <os_version>#5 SMP PREEMPT Wed Aug 14 18:25:47 CEST 2013</os_version>
          <architecture>x86_64</architecture>
          <primary_host_name>hpl</primary_host_name>
          <interfaces>
            <interface>
              <interface_name>lo</interface_name>
              <ip_address>127.0.0.1</ip_address>
              <mac_address>00:00:00:00:00:00</mac_address>
            </interface>
            <interface>
              <interface_name>wlan0</interface_name>
              <ip_address>192.168.1.3</ip_address>
              <mac_address>F0:7B:CB:0F:5A:3B</mac_address>
            </interface>
            <interface>
              <interface_name>tap0</interface_name>
              <ip_address>192.168.100.1</ip_address>
              <mac_address>22:45:EA:47:E5:69</mac_address>
            </interface>
            <interface>
              <interface_name>lo</interface_name>
              <ip_address>::1</ip_address>
              <mac_address>00:00:00:00:00:00</mac_address>
            </interface>
            <interface>
              <interface_name>wlan0</interface_name>
              <ip_address>fe80::f27b:cbff:fe0f:5a3b</ip_address>
              <mac_address>F0:7B:CB:0F:5A:3B</mac_address>
            </interface>
            <interface>
              <interface_name>tap0</interface_name>
              <ip_address>2001:db8:81:e2:0:26b5:365b:5072</ip_address>
              <mac_address>22:45:EA:47:E5:69</mac_address>
            </interface>
            <interface>
              <interface_name>tap0</interface_name>
              <ip_address>fe80::2045:eaff:fe47:e569</ip_address>
              <mac_address>22:45:EA:47:E5:69</mac_address>
            </interface>
          </interfaces>
        </system_info>
        <collected_objects>
          <object id="oval:org.gentoo.dev.swift:obj:2" version="1" flag="complete">
            <reference item_ref="1277011"/>
          </object>
        </collected_objects>
        <system_data>
          <lin-sys:partition_item id="1277011" status="exists">
            <lin-sys:mount_point>/home</lin-sys:mount_point>
            <lin-sys:device>/dev/mapper/volgrp-home</lin-sys:device>
            <lin-sys:fs_type>ext4</lin-sys:fs_type>
            <lin-sys:mount_options>rw</lin-sys:mount_options>
            <lin-sys:mount_options>seclabel</lin-sys:mount_options>
            <lin-sys:mount_options>nosuid</lin-sys:mount_options>
            <lin-sys:mount_options>nodev</lin-sys:mount_options>
            <lin-sys:mount_options>noatime</lin-sys:mount_options>
            <lin-sys:mount_options>nodelalloc</lin-sys:mount_options>
            <lin-sys:mount_options>data=journal</lin-sys:mount_options>
            <lin-sys:total_space datatype="int">15449087</lin-sys:total_space>
            <lin-sys:space_used datatype="int">12723993</lin-sys:space_used>
            <lin-sys:space_left datatype="int">2725094</lin-sys:space_left>
          </lin-sys:partition_item>
        </system_data>
      </oval_system_characteristics>
    </system>
  </results>
</oval_results>