Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


auditd (16) Versions 0.2.0

Installs/Configures auditd

cookbook 'auditd', '= 0.2.0', :supermarket
cookbook 'auditd', '= 0.2.0'
knife supermarket install auditd
knife supermarket download auditd
Quality 50%

auditd Cookbook

Cookbook Version

A simple cookbook to install auditd and provided rulesets. Rulesets
included in the OS auditd/audit package as examples are based on 4
established standards:

The OS package provides the client side tools for working with the
linux kernel audit framework.


Linux : any distribution in theory, but only Ubuntu and RHEL 6 have been tested.


  • node['auditd']['ruleset'] - ruleset to use, either "default" (the default if unset) or one of the provided examples
  • node['auditd']['backlog'] - backlog size, default is 320 should be larger for busy systems


If you're using one of the default rulesets set the correct attribute
based on the ruleset desired, one of:

  • "capp" : Controlled Access Protection Profile
  • "lspp" : Labeled Security Protection Profile
  • "nispom" : National Industrial Security Program Operating Manual (NISPOM)
  • "stig" : Security Technical Implementation Guides
  • "cis" : Center for Internet Security auditd recommendations

And include recipe[auditd::rules] in your run list. You can also set
the attribute node['auditd']['ruleset'] to the name of a custom rule
template to be used instead of one of the default rules.

If you are using the recipe from a wrapper cookbook, include the
default recipe recipe[auditd] to setup the service and use the
auditd_ruleset resource to place your rule template of choice.

If you are not satisfied with any of the provided templates, you can
specify the cookbook attribute in auditd_ruleset to use your own
set of rules. In this case, do not include recipe[auditd::rules].

Use the auditd::remove recipe to uninstall auditd.


Ideally the auditd_ruleset resource could make use of a data bag
search to build the data driven ruleset

Make builtins an array attribute to allow user updates without
cookbook release.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

stig Applicable Versions

CHANGELOG for auditd

This file is used to list changes made in each version of auditd.

0.2.0 (2016-08-11)

  • Add uninstall/remove support
  • Update docs with testing and contributing process
  • Use Berkshelf not Librarian for dependency management
  • Add a travis config
  • Add a license file
  • Update the testing to use Rake and remove test deps from the Gemfile. We assume you're in ChefDK now
  • Update the cookbook owner and add chef_version metadata
  • Use the new notification syntax in templates
  • Cookstyle fixes to the code
  • Remove the utf encoding comments. There's no need for this
  • Remove Chef 10 compatibility


  • add coc and contributing documents
  • update gitignore list for some chef related files
  • update supermarket uri
  • use correct restart command when under systemd on rhel
  • better rule definition support for rhel systems that no longer ship with examples
  • add test suite for capp rules


  • excluded non-default rulesets for RedHat; they use a version-specific path that I can't find any easy way to determine programatically


  • added RedHat support


  • Initial release of auditd

Collaborator Number Metric

0.2.0 passed this metric

Foodcritic Metric

0.2.0 failed this metric

FC017: LWRP does not notify when updated: /tmp/c0c764fef124c59f2e492eb1/auditd/providers/builtins.rb:22
FC017: LWRP does not notify when updated: /tmp/c0c764fef124c59f2e492eb1/auditd/providers/ruleset.rb:21
FC059: LWRP provider does not declare use_inline_resources: /tmp/c0c764fef124c59f2e492eb1/auditd/providers/builtins.rb:1
FC059: LWRP provider does not declare use_inline_resources: /tmp/c0c764fef124c59f2e492eb1/auditd/providers/ruleset.rb:1