Puppet Class: secure_windows::stig::v73239

Defined in:
manifests/stig/v73239.pp

Overview

This class manages V-73239 Systems must be maintained at a supported servicing level.

Parameters:

  • enforced (Boolean) (defaults to: false)


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

class secure_windows::stig::v73239 (
  Boolean $enforced = false,
) {

  if $enforced {
    if versioncmp($facts['kernelversion'], '10.0.14393') >= 0 {
      notice('In compliance with DoD STIG V-73239. System is at a supported servicing level.')
    }
    else {
      notify { 'Not in compliance with DoD STIG V-73239':
        message  => 'Not in compliance with DoD STIG V-73239. Please update the system to a supported servicing level.',
        loglevel => warning,
      }
    }
  }

}