Puppet Class: secure_windows::stig::v73757

Defined in:
manifests/stig/v73757.pp

Overview

This class manages: V-73757 The Deny access to this computer from the network user right on domain controllers must be configured to prevent unauthenticated access.

Parameters:

  • enforced (Boolean) (defaults to: false)


5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/stig/v73757.pp', line 5

class secure_windows::stig::v73757 (
  Boolean $enforced = false,
) {
  if $enforced {
    if($facts['windows_server_type'] == 'windowsdc') {
      local_security_policy { 'Deny access to this computer from the network':
        ensure         => 'present',
        policy_setting => 'SeDenyNetworkLogonRight',
        policy_type    => 'Privilege Rights',
        policy_value   => '*S-1-5-32-546',
      }
    }
  }
}