Puppet Class: secure_windows::stig::v73249

Defined in:
manifests/stig/v73249.pp

Overview

This class manages: V-73249 Permissions for the system drive root directory (usually C:) must conform to minimum requirements.

Parameters:

  • enforced (Boolean) (defaults to: false)


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
# File 'manifests/stig/v73249.pp', line 4

class secure_windows::stig::v73249 (
  Boolean $enforced = false,
) {
  if $enforced {
    acl { 'C:\\':
      inherit_parent_permissions => false,
      permissions                => [
        {
          'identity' => 'S-1-5-18',
          'rights'   => ['full']
        },
        {
          'identity' => 'S-1-5-32-544',
          'rights'   => ['full']
        },
        {
          'identity' => 'S-1-5-32-545',
          'rights'   => ['read', 'execute']
        },
        {
          'identity'    => 'S-1-5-32-545',
          'rights'      => ['mask_specific'],
          'mask'        => '4',
          'child_types' => 'containers'
        },
        {
          'identity'    => 'S-1-5-32-545',
          'rights'      => ['mask_specific'],
          'mask'        => '2',
          'child_types' => 'containers',
          'affects'     => 'children_only'
        },
        {
          'identity' => 'S-1-3-0',
          'rights'   => ['full'],
          'affects'  => 'children_only'
        }
      ],
    }
  }
}