Puppet Class: cis_security_hardening::rules::dracut_fips
- Defined in:
- manifests/rules/dracut_fips.pp
Summary
Ensure NIST FIPS-validated cryptography is configuredOverview
The operating system must implement NIST FIPS-validated cryptography for the following:
-
provision digital signatures
-
generate cryptographic hashes
-
protect data requiring data-at-rest protections in accordance with applicable federal
laws, Executive Orders, directives, policies, regulations, and standards.
Rationale: Use of weak or untested encryption algorithms undermines the purposes of using encryption to protect data. The operating system must implement cryptographic modules adhering to the higher standards approved by the federal government since this provides assurance they have been tested and validated.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'manifests/rules/dracut_fips.pp', line 24
class cis_security_hardening::rules::dracut_fips (
Boolean $enforce = false,
) {
if $enforce {
ensure_packages(['dracut-fips'], {
ensure => installed,
notify => Exec['recreate initramfs'],
})
exec { 'recreate initramfs':
command => 'dracut -f',
path => ['/sin','/usr/sbin','/bin','/usr/bin'],
refreshonly => true,
}
}
}
|