Puppet Class: secure_windows::stig::v73541
- Defined in:
- manifests/stig/v73541.pp
Overview
V-73541 Unauthenticated Remote Procedure Call (RPC) clients must be restricted from connecting to the RPC server.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/stig/v73541.pp', line 3
class secure_windows::stig::v73541 (
Boolean $enforced = false,
) {
if $enforced {
if($facts['windows_type'] =~ /(0|1|2|3)/) {
registry::value { 'v73541':
key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Rpc',
value => 'RestrictRemoteClients',
type => 'dword',
data => '0x00000001',
}
}
}
}
|