What is it?
A puppet module that installs lynis [rootkit.nl/projects/lynis.html] and allows you to configure profiles with associated daily cron entries. A script is provided as well that converts converts the lynis-report.dat file to json, adds the @timestamp and @version keys, and appends it to a file to be imported straight into logstash.
Generic lynis install
Adding a profile to be run manually
Adding a profile and using the random hour/minute cron settings, with JSONification of the report
Only tested on CentOS 6
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Push new topic branch
- Submit a PR
20150204 - v0.1.2 Disable emails when using LS 20150203 - v0.1.1 Disable emails on cron runs except on errors 20150105 - v0.1.0 Add acceptance tests Update helper files 20140604 - v0.0.1 Initial release
- puppetlabs/stdlib (>=3.2.0 <5.0.0)
Copyright 2013 EvenUp Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.