Puppet Class: secure_windows::stig::v73709

Defined in:
manifests/stig/v73709.pp

Overview

V-73709 UIAccess applications must not be allowed to prompt for elevation without using the secure desktop.

Parameters:

  • enforced (Boolean) (defaults to: false)


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

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

  if $enforced {
    if ($facts['windows_role'] and
        $facts['windows_role'] =~ /(^35|,35,|,35$)/) {
        registry::value { 'v73709':
          key   => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System',
          value => 'EnableUIADesktopToggle',
          type  => 'dword',
          data  => '0x00000000',
        }
    }
  }

}