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

snort (21) Versions 5.0.6

Installs Snort IDS packages

Policyfile
Berkshelf
Knife
cookbook 'snort', '= 5.0.6', :supermarket
cookbook 'snort', '= 5.0.6'
knife supermarket install snort
knife supermarket download snort
README
Dependencies
Changelog
Quality 33%

snort Cookbook

Cookbook Version
Build Status
OpenCollective
OpenCollective
License

Installs the SNORT IDS daemon.

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Requirements

Platforms

  • Ubuntu 14.04+
  • RHEL/CentOS, 7.0 and higher only.
  • Fedora
  • Debian 8+

Chef

  • Chef 12.7+

Resources

Install

  • On Ubuntu systems, the packages from apt are used.
  • On RHEL and Fedora systems, the packages are retrieved directly from the SNORT project site.
  • On Debian the test recipe forces a compiled install.

Config

Configures /etc/snort/snort.conf. We recommend you put your own config in disk using the file resource.

Rules

Downloads rules for snort.

Service

Used to setup the snort_service for use in other resources.

Usage

An example usage pattern can be found in the test cookbook.

  • Use the snort_install to install the package. This also creates the snort_service resource which you can use to stop, start & enable the snort service correctly.

RHEL based systems you must use the following resources (optional on Debian based systems).

  • Use snort_config to configure the system.
  • Use snort_rules to install rules. You will need a licence for this.

Example configs can be found in test/fixtures/cookbooks/test/

References

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Dependent cookbooks

yum-epel >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

snort Cookbook CHANGELOG

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

5.0.6 - 2023-06-08

5.0.5 - 2023-06-08

Standardise files with files in sous-chefs/repo-management

5.0.4 - 2023-02-14

5.0.3 - 2022-02-08

  • Remove delivery folder

5.0.2 - 2021-08-30

  • Standardise files with files in sous-chefs/repo-management

5.0.1 (2021-06-01)

  • Standardise files with files in sous-chefs/repo-management

5.0.0 (2020-05-05)

  • Migrate to Github Actions
  • Replace zip extraction with archive_file Breaking change

v4.0.2 (2019-06-25)

  • Added CircleCI 2.0 support

v4.0.1 (2018-12-14)

  • Updated checksums for the snort package on CentOS and Fedora

v4.0.0 (2018-08-28)

  • Drop Chef-12 support

v3.0.1 (2018-08-28)

  • Fix service start bug on RHEL platforms
  • Move resource helpers to a shared helpes file

v3.0.0 (2017-05-03)

  • New custom resources for snort_install, snort_compile, snort_rules, snort_config
  • Updated snort_service

v2.1.0

  • Update the versions to the latest snort on RHEL/Fedora
  • Require at least compat_resource 12.9 to prevent random issues
  • Remove Chef 11 compatibility from the metadata file
  • Use kitchen-dokken in Travis CI

v2.0.0

  • Added new snort_service custom resource and a _service.rb recipe. The recipe is called by the default.rb recipe. The custom resource can be used to write wrapper cookbooks and supports the standard service actions (enable, start, restart, reload). The custom resource used the new Chef 12.5 customer resource format and the compat_resource cookbook for compatibility with 12.0+

v1.1.0

  • Updated to the latest daq and snort packages for RHEL
  • Added Chefspecs for RHEL/Debian platforms
  • Moved all install logic into _install.rb recipe which is called by the default recipe. This changes nothing, but prepares things for adding more functionality at a later date.
  • Updated platforms in the Kitchen CI config
  • Added source_url and issues_url metadata for Supermarket
  • Updated Travis config to test via ChefDK and to use kitchen-docker for integration tests
  • Removed yum cookbook from the Berksfile since it wasn't needed
  • Removed the Contributing doc since it was from when this cookbook was managed by Chef Software Inc.
  • Added standard Chef development gems to the Gemfile
  • Removed references to database output from the Readme
  • Added a Rakefile for simplified testing

v1.0.0

  • Updated to the latest Snort packages on RHEL / Fedora. For RHEL the minimum supported release is now RHEL 7 due to Snort requirements
  • The default package action is now install and not upgrade to prevent service restarts on Chef runs
  • Switched to platform_family to support all Debian / RHEL derivitives
  • Switch file/dir mode declarations to strings to preserve the leading 0s
  • Updated the Contributing doc to reflect the new process
  • Added a chef ignore file to prevent unecessary files on the Chef server
  • Added a rubocop file and resolved all Rubocop warnings
  • Added a Test Kitchen config for testing supported platforms
  • Added a Gemfile with development dependencies
  • Added a Berksfile for development dependencies

v0.10.0

  • [COOK-1512] - Update SNORT cookbook with upstream changes for RHEL platforms

Collaborator Number Metric
            

5.0.6 passed this metric

Contributing File Metric
            

5.0.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

5.0.6 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): snort/resources/compile.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): snort/resources/config.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): snort/resources/install.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): snort/resources/rules.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): snort/resources/service.rb: 1
Chef/Modernize/ClassEvalActionClass: In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. (https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass): snort/resources/compile.rb: 72
Chef/Modernize/ClassEvalActionClass: In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. (https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass): snort/resources/install.rb: 127
Chef/Modernize/ClassEvalActionClass: In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. (https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass): snort/resources/rules.rb: 18
Chef/Modernize/ClassEvalActionClass: In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. (https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass): snort/resources/service.rb: 48
Chef/Modernize/UseChefLanguageSystemdHelper: Chef Infra Client 15.5 and later include a `systemd?` helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper): snort/resources/service.rb: 5
Chef/Modernize/UseChefLanguageSystemdHelper: Chef Infra Client 15.5 and later include a `systemd?` helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper): snort/resources/service.rb: 18
Chef/Modernize/UseChefLanguageSystemdHelper: Chef Infra Client 15.5 and later include a `systemd?` helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper): snort/resources/service.rb: 30
Chef/Modernize/UseChefLanguageSystemdHelper: Chef Infra Client 15.5 and later include a `systemd?` helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper): snort/resources/service.rb: 44
Chef/Modernize/UseChefLanguageSystemdHelper: Chef Infra Client 15.5 and later include a `systemd?` helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper): snort/resources/service.rb: 50

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

5.0.6 passed this metric

Testing File Metric
            

5.0.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

5.0.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number