Puppet Class: secure_windows::stig::v73651

Defined in:
manifests/stig/v73651.pp

Overview

V-73651 Caching of logon credentials must be limited.

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/v73651.pp', line 3

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

  if $enforced {
    if($facts['windows_type'] =~ /(1|3)/) {
      registry::value { 'v73651':
        key   => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon',
        value => 'CachedLogonsCount',
        type  => 'string',
        data  => '4',
      }
    }
  }

}