cookbook 'rkhunter', '~> 0.2.5'
rkhunter (1) Versions 0.2.5 Follow3
Installs/Configures rkhunter
cookbook 'rkhunter', '~> 0.2.5', :supermarket
knife supermarket install rkhunter
knife supermarket download rkhunter
rkhunter Cookbook
A Chef cookbook for installing and configuring rkhunter
Requirements
Chef.
Platforms
So far, only tested with a Debian 6 Vagrant Box.
Attributes
rkhunter::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['rkhunter']['cron_daily_run']</tt></td>
<td>Boolean</td>
<td>whether to run daily</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['cron_db_update']</tt></td>
<td>Boolean</td>
<td>whether to update db weekly</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['db_update_email']</tt></td>
<td>Boolean</td>
<td>enable reports of weekly database updates</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['report_email']</tt></td>
<td>String</td>
<td>email address to report to</td>
<td><tt>root</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['apt_autogen']</tt></td>
<td>Boolean</td>
<td>enable automatic database updates</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['nice']</tt></td>
<td>String</td>
<td>niceness of run-level</td>
<td><tt>0</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['run_check_on_battery']</tt></td>
<td>String</td>
<td>potentially run while on battery</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['allow_ssh_root_user']</tt></td>
<td>String</td>
<td>proper configuration of SSHD's PermitRootLogin option</td>
<td><tt>no</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['scriptwhitelist']</tt></td>
<td>Array</td>
<td>paths to commands which are allowed to be scripts</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['allowhiddendir']</tt></td>
<td>Array</td>
<td>paths to hidden directories for whitelisting</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['allowhiddenfile']</tt></td>
<td>Array</td>
<td>paths to hidden files for whitelisting</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['rkhunter']['port_whitelist']</tt></td>
<td>Array</td>
<td>paths and/or network ports to whitelist</td>
<td><tt>[]</tt></td>
</tr>
</table>
Usage
Just include rkhunter
in your node's run_list
OR create a simple role:
name "rkhunter" description "rkhunter config" run_list( "recipe[rkhunter]", ) default_attributes( :rkhunter => { :db_update_email => "true", :report_email => "your@email.com" } )
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
License: Apache
Authors: Greg Palmier
Collaborator Number Metric
0.2.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.5 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
Foodcritic Metric
0.2.5 failed this metric
FC064: Ensure issues_url is set in metadata: rkhunter/metadata.rb:1
FC065: Ensure source_url is set in metadata: rkhunter/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rkhunter/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: rkhunter/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rkhunter/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.5 passed this metric
Testing File Metric
0.2.5 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
0.2.5 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
0.2.5 failed this metric
0.2.5 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
Foodcritic Metric
0.2.5 failed this metric
FC064: Ensure issues_url is set in metadata: rkhunter/metadata.rb:1
FC065: Ensure source_url is set in metadata: rkhunter/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rkhunter/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: rkhunter/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rkhunter/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.5 passed this metric
Testing File Metric
0.2.5 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
0.2.5 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
0.2.5 failed this metric
FC065: Ensure source_url is set in metadata: rkhunter/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rkhunter/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: rkhunter/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rkhunter/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.5 passed this metric
Testing File Metric
0.2.5 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
0.2.5 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
0.2.5 failed this metric
0.2.5 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