Puppet Class: secure_windows::stig::v73237

Defined in:
manifests/stig/v73237.pp

Overview

This class manages V-73237 Domain-joined systems must have a Trusted Platform Module (TPM) enabled and ready for use.

Parameters:

  • enforced (Boolean) (defaults to: false)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/stig/v73237.pp', line 3

class secure_windows::stig::v73237 (
  Boolean $enforced = false,
) {
  if $enforced {
    if $facts['windows_type'] =~ /(1|3|4|5)/ {
      if $facts['tpm_version'] == 'TPM not enabled' {
        notify { 'v73237':
          message  => 'Not in compliance with DoD STIG V-73237. TPM is not enabled.',
          loglevel => warning,
        }
      }
    }
  }
}