cookbook 'cis_centos6', '~> 0.5.2', :supermarket
cis_centos6 (3) Versions 0.5.2 Follow1
This cookbook implements server hardening as specified by the CIS Benchmark for CentOS 6, version 1.1.0.
cookbook 'cis_centos6', '~> 0.5.2'
knife cookbook site install cis_centos6
knife cookbook site download cis_centos6
CIS CentOS 6 Cookbook
This cookbook implements server hardening as specified by the CIS Benchmark for CentOS 6, version 1.1.0. The sections of the benchmark are largely split into different recipes:
- 1. Install Updates, Patches and Additional Security Software -
- 2. OS Services -
- 3. Special Purpose Services -
- 4. Network Configuration and Firewalls -
- 5. Logging and Auditing -
- 6. System Access, Authentication and Authorization -
- 7. User Accounts and Environment -
- 8. Warning Banners -
- 9. System Maintenance -
This cookbook cannot cover everything in the benchmark. For example server maintenance tasks like "1.2.3 Obtain Software Package Updates with yum" or auditing tasks like "9.1.1 Verify System File Permissions". It does aim to cover all server configuration items that can be done during the course of a Chef run.
It is recommended that you reboot the system after applying changes for the first time as some changes require a system reboot to take effect.
This cookbook does not perform partitioning of the filesystem. This will need to be done before the cookbook is run so that the filesystem recipe can apply updates to those entries in the fstab. See section 1.1 of the benchmark for details of which filesystems to create. The filesystem recipe will apply the options.
This cookbook enables iptables (as required by the benchmark) but does not configure any rules. Consider configuring firewall rules with another cookbook, for example the firewall cookbook.
Not all servers will be able to support all parts of the benchmark being applied. Most of the attributes are provided to customise or disable sections of the hardening. All of the hardening is enabled by default.
This cookbook has been applied to servers and tested using Nessus to ensure that the benchmark items have been implemented correctly.
It has been tested with Chef 12.7.2 but may work with earlier releases. It should work with later (minor) releases.
There is not currently any unit testing, integration testing or style linting.
The cookbook is licensed under the MIT license:
The MIT License (MIT) Copyright (c) 2016 Huddle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.
0.5.2 passed this metric
0.5.2 passed this metric