dev-sec / chef-windows-hardening

This chef cookbook provides windows hardening configurations for the DevSec Windows baseline profile.
http://dev-sec.io
97 stars 42 forks source link

Added case platform windows #19

Closed grdnrio closed 7 years ago

grdnrio commented 7 years ago

Wrapped all policy in case platform windows to. This allows this hardening cookbook to be added to a remediation role that can be used to address Windows and other platforms.

Verified 100% coverage against test profile - https://github.com/dev-sec/windows-baseline

chris-rock commented 7 years ago

@grdnrio could we just use

return unless node['platform_family'] == 'windows'

at the top of the recipe?