Puppet Class: secure_windows::stig::v73753

Defined in:
manifests/stig/v73753.pp

Overview

This class manages: V-73753 The Create symbolic links user right must only be assigned to the Administrators group.

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

class secure_windows::stig::v73753 (
  Boolean $enforced = false,
) {
  if $enforced {
    if ($facts['windows_role'] and
        $facts['windows_role'] =~ /(^20|,20,|,20$)/) {
      local_security_policy { 'Create symbolic links':
        ensure         => 'present',
        policy_setting => 'SeCreateSymbolicLinkPrivilege',
        policy_type    => 'Privilege Rights',
        policy_value   => '*S-1-5-32-544,*S-1-5-83-0',
      }
    }
    else {
      local_security_policy { 'Create symbolic links':
        ensure         => 'present',
        policy_setting => 'SeCreateSymbolicLinkPrivilege',
        policy_type    => 'Privilege Rights',
        policy_value   => '*S-1-5-32-544',
      }
    }
  }
}