Puppet Class: secure_windows::stig::v73647
- Defined in:
- manifests/stig/v73647.pp
Overview
V-73647 The required legal notice must be configured to display before console logon.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/stig/v73647.pp', line 3
class secure_windows::stig::v73647 (
String $legalnoticetext = 'I\'ve read & consent to terms in IS user agreement.',
Boolean $enforced = false,
) {
if $enforced {
# Any OS versions that do not support the full text version must state the following:
# "I've read & consent to terms in IS user agreem't."
# Deviations are not permitted except as authorized by the
# Deputy Assistant Secretary of Defense for Information and Identity Assurance.
#$legalnoticetext = 'I\'ve read & consent to terms in IS user agreement.'
registry::value { 'v73647':
key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System',
value => 'LegalNoticeText',
type => 'string',
data => $legalnoticetext,
}
# local_security_policy { 'Interactive logon: Message text for users attempting to log on':
# ensure => 'present',
# policy_setting => 'MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeText',
# policy_type => 'Registry Values',
# policy_value => "7,${legalnoticetext}",
# }
}
}
|