Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Audit Policy Resource #8299

rachelrice opened this Issue Mar 14, 2019 · 0 comments


None yet
2 participants
Copy link

rachelrice commented Mar 14, 2019

Core Chef Resource Checklist

Before suggesting a resource for inclusion please make sure your suggestion meets these criteria for resources built into Chef:

  • Automates an operating system component that ships by default on systems such as authentication, raid, disk partitions, firewalls, containers, or virtualization systems.
  • Does not attempt automate 3rd party applications such as database, web, or application servers, which are best suited for cookbooks due to their fast moving nature.

Describe the resource:

CIS and other security standards dictate settings for the different categories of a Windows systems audit policy. There are several categories and subcategories that need to be set to either Success, Failure, or Success and Failure. A windows_audit_policy resource would allow the user to set a category, subcategory, or array of the two then enable the categories Success or Failure. Here is a reference to the best practice settings from windows. Here is the documentation on the auditpol command.

Why should this be included out of the box?:

The standard way to set these settings is through Group Policy but by using Chef a user can take advantage of the auditpol command. Currently though this often requires numerous powershell_script resource commands making the cookbook difficult to read and understand.

What operating systems would it run on?


Current cookbook implementation:

Can We Help You Implement This?:

Yes, @rmoles @rachelrice @james-stocks @TheLunaticScripter are all for moving this ourselves and helping better understand the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.