Puppet Class: secure_windows::stig::v73405
- Defined in:
- manifests/stig/v73405.pp
Overview
This class manages: V-73405 Permissions for the Application event log must prevent access by non-privileged accounts. V-73407 Permissions for the Security event log must prevent access by non-privileged accounts. V-73409 Permissions for the System event log must prevent access by non-privileged accounts.
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 34 35 36 37 38 |
# File 'manifests/stig/v73405.pp', line 8
class secure_windows::stig::v73405 (
Boolean $enforced = false,
) {
if $enforced {
$system_root = $facts['os']['windows']['system32']
acl { [ "${system_root}\\winevt\\Logs\\Application.evtx",
"${system_root}\\winevt\\Logs\\Security.evtx",
"${system_root}\\winevt\\Logs\\System.evtx",
]:
inherit_parent_permissions => false,
permissions => [
{
'identity' => 'NT SERVICE\\EventLog',
'rights' => ['full'],
'affects' => 'self_only',
},
{
'identity' => 'S-1-5-18',
'rights' => ['full'],
'affects' => 'self_only',
},
{
'identity' => 'S-1-5-32-544',
'rights' => ['full'],
'affects' => 'self_only',
}
],
}
}
}
|