Puppet Class: secure_windows::stig::v73669

Defined in:
manifests/stig/v73669.pp

Overview

V-73669 Anonymous enumeration of shares must not be allowed.

Parameters:

  • enforced (Boolean) (defaults to: false)


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

class secure_windows::stig::v73669 (
  Boolean $enforced = false,
) {

  if $enforced {

    registry::value { 'v73669':
      key   => 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa',
      value => 'RestrictAnonymous',
      type  => 'dword',
      data  => '0x00000001',
    }

  }

}