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

RSS

Lynis (4) Versions 1.0.0

Installs/Configures Lynis

Policyfile
Berkshelf
Knife
cookbook 'Lynis', '= 1.0.0', :supermarket
cookbook 'Lynis', '= 1.0.0'
knife supermarket install Lynis
knife supermarket download Lynis
README
Dependencies
Changelog
Quality 50%

Lynis Cookbook

This cookbook installs Lynis and can also execute the security audit report if instructed.

What is Lynis?

Lynis is a software component to audit Unix based systems. Lynis Enterprise uses Lynis to gather data from machines. Additionally it has an administration interface, reporting, implementation plans, hardening guidance and more. For more details, refer to - https://cisofy.com/lynis-enterprise/

Requirements

Depends on cookbooks
* apt
* apt-transport-https

Platforms

  • Tested on ubuntu-16.04 only

Chef

  • Chef 12.0 or later

Attributes

None

Usage

Lynis::default

This would install lynis and execute the audit report

e.g.
Just include Lynis in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[Lynis]"
  ]
}

Lynis::install

This would install lynis only

e.g.
Just include Lynis::install in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[Lynis::install]"
  ]
}

Lynis::audit

This would execute the security audit report. It would also check if the lynis package is installed. The report is generated by default under /var/log/. The 2 report files are -
* lynis.log
* lynis-report.dat

e.g.
Just include Lynis::audit in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[Lynis::audit]"
  ]
}

Contributing

  1. Create a branch of the repository on Bitbucket
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Bitbucket

License and Authors

Authors: Mrinal Mukherjee

Dependent cookbooks

apt ~> 4.0.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Lynis CHANGELOG

This file is used to list changes made in each version of the Lynis cookbook.

0.1.0

  • [Mrinal Mukherjee] - Initial release of Lynis

0.2.0

  • [Mrinal Mukherjee] - Updated the licence to GPL since Lynis is released as GPL

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

1.0.0 passed this metric

Foodcritic Metric
            

1.0.0 failed this metric

FC064: Ensure issues_url is set in metadata: /tmp/1bf00314b8803ca53ed55e60/Lynis/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/1bf00314b8803ca53ed55e60/Lynis/metadata.rb:1