Puppet Class: secure_windows::stig::v73807

Defined in:
manifests/stig/v73807.pp

Overview

V-73807 The Smart Card removal option must be configured to Force Logoff or Lock Workstation.

Parameters:

  • enforced (Boolean) (defaults to: false)
  • scremoveoption (Enum['1','2']) (defaults to: '1')


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

class secure_windows::stig::v73807 (
  Boolean $enforced = false,
  Enum['1','2'] $scremoveoption = '1',
) {

  if $enforced {

    registry::value { 'v73807':
      key   => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon',
      value => 'scremoveoption',
      type  => 'string',
      data  => $scremoveoption,
    }

  }

}