File: template_OVAL_mount

package info (click to toggle)
scap-security-guide 0.1.39-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 31,836 kB
  • sloc: xml: 129,736; python: 7,462; sh: 3,796; makefile: 27
file content (25 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
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
<def-group>
  <definition class="compliance" id="partition_for%POINTID%" version="1">
    <metadata>
      <title>Ensure %MOUNTPOINT% Located On Separate Partition</title>
      <affected family="unix">
        <platform>multi_platform_all</platform>
      </affected>
      <description>If stored locally, create a separate partition for
      %MOUNTPOINT%. If %MOUNTPOINT% will be mounted from another
      system such as an NFS server, then creating a separate partition is not
      necessary at this time, and the mountpoint can instead be configured
      later.</description>
    </metadata>
    <criteria>
      <criterion test_ref="test%POINTID%_partition" comment="%MOUNTPOINT% on own partition" />
    </criteria>
  </definition>
  <linux:partition_test check="all" check_existence="all_exist"
  id="test%POINTID%_partition" version="1" comment="%MOUNTPOINT% on own partition">
    <linux:object object_ref="object_mount%POINTID%_own_partition" />
  </linux:partition_test>
  <linux:partition_object id="object_mount%POINTID%_own_partition" version="1">
    <linux:mount_point>%MOUNTPOINT%</linux:mount_point>
  </linux:partition_object>
</def-group>