Skip to content

Latest commit

 

History

History
136 lines (105 loc) · 7.92 KB

CHANGELOG.md

File metadata and controls

136 lines (105 loc) · 7.92 KB

Release 0.7.2

Summary

Fixes network module not honoring ipv4_forwarding enabled.

Release 0.7.1

Summary

Contains minor bug fixes. Advice on module dependencies from Release 0.6.1 still apply.

Bug Fixes

  • Fixed creating /boot/grub/grub.conf on an EFI system when none should exist.
  • Added service notification from changes made to sshd_config.
  • Fixed a lint issue that was causing Travis build to fail.

Release 0.7.0

Summary

Contains bug fixes and updates for new release of the CISecurity benchmarks. New and modified variables exist in Hiera so you may need to adjust your settings.

Module Dependencies

  • herculesteam/augeasproviders_grub still has not been updated on the Forge from the PR they merged back in October. I recommend you continue using my GitHub site (https://github.com/cohdjn/augeasproviders_grub) in your Puppetfile or install the module from there depending on your environment. Future release will point back to the Forge once the fix has been merged and uploaded.

Enhancements

  • The awk script that has been used for external facts has been replaced with a Ruby version provided by jorhett. The manifest has been modified to delete the YAML file that was produced by the awk script so you will have to run the agent twice for the updated facts to be relevant.
  • Added Travis CI to provide build verification.
  • Updated compatibility to work with Puppet 5 (#4).

Hiera Changes for Red Hat 7

  • nfs-server has been renamed to nfs_server due to syntax error thrown during Puppet compile.
  • x11_org has been renamed to xorg_x11 due to change in the benchmark.
  • New variable libselinux added to support Control 1.6.2.
  • New variable configure_rsyslog_host added to support Control 4.2.1.5.
  • New variable configure_shell_timeout and shell_timeout added to support Control 5.4.5.

Hiera Changes for Red Hat 6

  • x11_org has been renamed to xorg_x11 due to change in the benchmark.
  • New variable libselinux added to support Control 1.6.2.
  • New variable configure_shell_timeout and shell_timeout added to support Control 5.4.5.

Bug Fixes

  • Fixed problem when trying to add multiple users to AllowUsers in sshd (#3).
  • Fixed problem when using chrony and disabling ntp (#5).
  • Fixed wrong permissions applied to system files when harden_system_file_perms is enabled.
  • Fixed wrong default value for bootloader_password on Red Hat 6.

Release 0.6.5

Summary

Contains more bug fixes. Advice on module dependencies from Release 0.6.1 still apply.

Bug Fixes

  • Fixed custom facts to not try to run subscription-manager on a CentOS system.
  • Fixed logic problem trying to enable services that do not exist on the system.
  • Added logic to check for undef custom facts that do not exist on first run.
  • Fixed bug where duplicate resources are created when remediating a file that has multiple ownership, group ownership, or world writable issues.

Release 0.6.1

Summary

Contains more bug fixes. Pay close attention to the module dependencies as they have changed!

Module Dependencies

  • The puppetlabs/stdlib module has been updated to v4.23.0. If you followed the advice from Release 0.4.0 to use GitHub for stdlib rather than the Forge, please change your Puppetfile back to the Forge.
  • herculesteam/augeasproviders_grub still has not been updated on the Forge from the PR they merged back in October. I recommend you continue using my GitHub site (https://github.com/cohdjn/augeasproviders_grub) in your Puppetfile or install the module from there depending on your environment. Future release will point back to the Forge once the fix has been merged and uploaded.
Bug Fixes
  • Fixed services not adding CRLF at EOF in cron.allow and at.allow.

Release 0.6.0

Summary

Contains more bug fixes and enhancements. Advice on module dependencies from Release 0.4.0 still apply.

Bug Fixes

  • Moved removal of at.deny and cron.deny to services module rather than filesystem module.
  • Removed switch statement from facts.d/cisecurity to support older versions of awk/gawk.
  • Added ignored as a valid keyword for service states to avoid duplicate resource statements during catalog compilation. You should use this parameter if you have another class or module that defines the state of a service rather than this one.

Enhancements

  • Added support for RHEL 6. This also adds puppet/firewall to the list of dependencies for this module to work.

Release 0.5.0

Summary

Contains a few bug fixes and enhancements. Advice on module dependencies from Release 0.4.0 still apply.

Bug Fixes

  • Fixed bad mount options for /tmp.
  • Added EFI detection as an external fact which is used to override whether the vfat filesystem is enabled or disabled. EFI requires a vfat partition to exist and system will not boot without vfat support.
  • Fixed bad variable substitution for root path.
  • Modified external facts to purposely remove double-colons and dots from root path to help deal with root path remediation.
  • Removed kemra102/bash as a dependency for cisecurity and flipped that functionality to use file_line resources instead.

Enhancements

  • Added auditd_admin_space_left, auditd_num_logs, and auditd_space_left parameters to services module to provide a few additional nice to have knobs that can be turned as necessary.

Release 0.4.1

Summary

Minor bug fix. Advice on module dependencies from Release 0.4.0 still apply.

Bug Fixes

  • Modified gpgcheck regex to properly account for spaces that may (or may not) already exist in the files in /etc/yum.repos.d/.

Release 0.4.0

Summary

Multiple fixes in this release. Pay close attention to the module dependencies!

Module Dependencies

  • The crayfishx/firewalld module has been updated to v3.4.0.
  • I created a fork of herculesteam-augeasproviders_grub that corrects a problem with EFI-based nodes. I recommend you change your Puppetfile to use my GitHub site (https://github.com/cohdjn/augeasproviders_grub) or install the module from there depending on your environment. Future release will point back to the Forge once the fix has been merged and uploaded.
  • Puppet Labs has an updated version of puppetlabs/stdlib that corrects a problem with pattern matching in file_line resources. I recommend you change your Puppetfile to use their GitHub site (https://github.com/puppetlabs/puppetlabs-stdlib) or install the module from there depending on your environment. Future release will point back to the Forge once the fix has been merged and uploaded.

Bug Fixes

  • Added evaluation of osrelease to submodules. Parameter declaration outside of Hiera breaks miserably when using EPP templates.
  • Fixed problem with file_line resources constantly appending umask to the end of file.

Enhancements

  • Moved log file remediation from exec resource to cron resource to prevent Puppet from always reporting intentional changes on every run. Two new parameters, log_file_perms_cron_start_hour and log_file_perms_cron_start_minute have been added to schedule to your environment.

Release 0.3.3

Summary

Fixed bad argument in services.

Release 0.3.2

Summary

Fixed bad Hiera parameter for home_directories_perm.

Release 0.3.1

Summary

Minor modifications to metadata.json to better Puppet Forge score.

Release 0.3.0

Summary

Finished manual auditing and testing of the module. No rspec tests have been done mostly because it's insanely confusing and I don't have the time to work through the process. If you happen to be good at running these tests, drop me a line because I'd love to work with you through the process.

Release 0.2.0

Summary

All critical errors from puppet runs have been corrected. Troubleshooting PAM module still needs to be happen because the config isn't laid down properly. No manual audit validation has been done yet either so there's no guarantee that everything will produce the correct desired state.

Release 0.1.0

Summary

First iteration of the cisecurity module.