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

RSS

stig (31) Versions 0.3.4

Installs/Configures CIS STIG benchmarks

Berkshelf/Librarian
Policyfile
Knife
cookbook 'stig', '= 0.3.4'
cookbook 'stig', '= 0.3.4', :supermarket
knife cookbook site install stig
knife cookbook site download stig
README
Dependencies
Quality 0%

STIG Cookbook

Installs and configures the CIS CentOS Linux 6 benchmark.
These sets of recipes aim to harden the operating system in order to pass all scored CIS benchmarks and optionally all unscored CIS benchmarks.

More information about CIS benchmarks may be found at http://benchmarks.cisecurity.org

Requirements

Platforms

  • CentOS 6.6

Cookbooks

  • auditd

Attributes

  • node['stig']['grub']['hashedpassword'] = The hashed grub password to use. Ex: openssl passwd -1 ChangeMe (String (MD5 Hash))
  • node['stig']['auditd']['max_log_file'] = See: Auditd Configuration
  • node['stig']['auditd']['space_left_action'] = See: Auditd Configuration
  • node['stig']['auditd']['action_mail_acct'] = See: Auditd Configuration
  • node['stig']['auditd']['admin_space_left_action'] = See: Auditd Configuration
  • node['stig']['auditd']['max_log_file_action'] = See: Auditd Configuration
  • node['stig']['auditd']['kernel_audit_grub'] = See: Auditd Configuration
  • node['stig']['mount_disable']['cramfs'] = Disable cramfs filesystem (Boolean)
  • node['stig']['mount_disable']['freevxfs'] = Disable freevxfs filesystem (Boolean)
  • node['stig']['mount_disable']['jffs2'] = Disable jffs2 filesystem (Boolean)
  • node['stig']['mount_disable']['hfs'] = Disable hfs filesystem (Boolean)
  • node['stig']['mount_disable']['hfsplus'] = Disable hfsplus filesystem (Boolean)
  • node['stig']['mount_disable']['squashfs'] = Disable squashfs filesystem (Boolean)
  • node['stig']['mount_disable']['udf'] = Disable udf filesystem (Boolean)
  • node['stig']['mail_transfer_agent']['inet_interfaces'] = Configure Mail Transfer Agent for Local-Only Mode - If the system is intended to be a mail server, change from "localhost" (String)
  • node['stig']['network']['zeroconf'] = Disable Avahi Server (true = disabled, false = enabled) (Boolean)
  • node['stig']['network']['ip_forwarding'] = Disable IP Forwarding (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['packet_redirects'] = Disable Send Packet Redirects (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['icmp_redirect_accept'] = Disable ICMP Redirect Acceptance (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['icmp_all_secure_redirect_accept'] = Disable Secure ICMP Redirect Acceptance (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['log_suspicious_packets'] = Log Suspicious Packets (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['rfc_source_route_validation'] = Enable RFC-recommended Source Route Validation (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['ipv6_redirect_accept'] = Disable IPv6 Redirect Acceptance (true = enabled, false = disabled) (Boolean)
  • node['stig']['network']['hosts_allow'] = Create /etc/hosts.allow - An array of <net>/<mask> combinations or 'ALL' (Array of String)
  • node['stig']['network']['hosts_deny'] = Create /etc/hosts.deny - An array of <net>/<mask> combinations or 'ALL' (Array of String)
  • node['stig']['network']['disable_dcpp'] = Disable DCCP (true = disable, false = enable) (Boolean)
  • node['stig']['network']['disable_sctp'] = Disable SCTP (true = disable, false = enable) (Boolean)
  • node['stig']['network']['disable_rds'] = Disable RDS (true = disable, false = enable) (Boolean)
  • node['stig']['network']['disable_tipc'] = Disable TIPC (true = disable, false = enable) (Boolean)
  • node['stig']['network']['ipv6'] = Disable IPV6 ("no" = disable, "yes" = enable) (String)
  • node['stig']['logging']['rsyslog_rules'] = Configure /etc/rsyslog.conf - Include rules for logging in array with space separating rule with log location (Array of String)
  • node['stig']['sshd_config']['log_level'] = SSHd log level (String)
  • node['stig']['sshd_config']['max_auth_tries'] = SSHd Max auth tries (Integer)
  • node['stig']['sshd_config']['ignore_rhosts'] = SSHd Ignore rhosts (Boolean)
  • node['stig']['sshd_config']['host_based_auth'] = Set SSH HostbasedAuthentication to No (Boolean)
  • node['stig']['sshd_config']['permit_root_login'] = Allow SSH root login (Boolean)
  • node['stig']['sshd_config']['permit_empty_passwords'] = Allow SSH to permit empty passwords (Boolean)
  • node['stig']['sshd_config']['allow_users_set_env_opts'] = Allow Users to Set Environment Options (Boolean)
  • node['stig']['sshd_config']['banner_path'] = Set SSH login banner path (String)
  • node['stig']['sshd_config']['deny_users'] = List of users to deny SSH login to (Array of String)
  • node['stig']['system_auth']['pass_reuse_limit'] = Limit password reuse - Represents the amount of passwords the user is forced to not reuse (Integer)
  • node['stig']['login_defs']['pass_max_days'] = Password expiration in days (Integer)
  • node['stig']['login_defs']['pass_min_days'] = Minimum wait time, in days, before changing password (Integer)
  • node['stig']['login_defs']['pass_warn_age'] = Number of days before password expires where system begins warning user (Integer)
  • node['stig']['login_banner']['motd'] = Login banner (String)
  • node['stig']['login_banner']['issue'] = Login banner (String)
  • node['stig']['login_banner']['issue_net'] = Login banner (String)

Usage

Simply include the default recipe (stig::default) on an instance that needs to be hardened.

Authors

License

Unless otherwise noted below, this software is in the public domain because it contains materials that originally came from the United States Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at: http://www.usgs.gov/visual-id/credit_usgs.html#copyright

More information in license file

Dependent cookbooks

logrotate ~> 1.9.2
auditd ~> 0.1.4

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.3.4 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/avahi_daemon.rb:27
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/dhcp.rb:12
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/file_permissions.rb:45
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/fstab_tmp.rb:49
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/proc_hard.rb:94
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/proc_hard.rb:124
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/su_restriction.rb:8
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/su_restriction.rb:17
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/system-auth.rb:14
FC023: Prefer conditional attributes: /tmp/cook/90134a1cddc3fea22efca6d9/stig/recipes/system-auth.rb:26