Puppet Class: secure_windows::stig::v73649

Defined in:
manifests/stig/v73649.pp

Overview

V-73649 The Windows dialog box title for the legal banner must be configured with the appropriate text.

Parameters:

  • enforced (Boolean) (defaults to: false)
  • legalnoticetitle (String) (defaults to: 'US Department of Defense Warning Statement')


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

class secure_windows::stig::v73649 (
  Boolean $enforced = false,
  String $legalnoticetitle = 'US Department of Defense Warning Statement'
) {

  if $enforced {

    # Alternatively, the title below is also valid...
    # $legalnoticetitle = 'DoD Notice and Consent Banner'

    registry::value { 'v73649':
      key   => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System',
      value => 'LegalNoticeCaption',
      type  => 'string',
      data  => $legalnoticetitle,
    }

  }

}