Puppet Class: secure_windows::stig::v73393
- Defined in:
- manifests/stig/v73393.pp
Overview
This class manages: V-73393 The Active Directory Infrastructure object must be configured with proper audit settings.
| 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 | # File 'manifests/stig/v73393.pp', line 4
class secure_windows::stig::v73393 (
  Boolean $enforced = false,
) {
  if $enforced {
    if $facts['windows_server_type'] == 'windowsdc' {
      $root_domain = $facts['root_domain']
      ad_acl { "CN=Infrastructure,${root_domain}":
        audit_rules  => [
          {
            'ad_rights'        => 'WriteProperty, ExtendedRight',
            'identity'         => 'S-1-1-0',
            'audit_flags'      => 'Success',
            'inheritance_type' => 'None',
          },
          {
            'ad_rights'        => 'GenericAll',
            'identity'         => 'S-1-1-0',
            'audit_flags'      => 'Failure',
            'inheritance_type' => 'None',
          },
        ],
      }
    }
  }
} |