Ansible snippets and code for Lynis
- Lynis
Lynis is a security auditing tool for systems running Linux, Mac OS X, BSD, or some other UNIX-derivative.
This repository is supported by CISOfy and community contributions.
Ansible snippets and code for Lynis
License: GNU General Public License v3.0
One approach could be to read the syslog. Ansible produces lines like:
Jun 4 17:03:00 MyHost ansible-git: …
Jun 4 17:03:04 MyHost ansible-file: …
Jun 4 17:03:06 MyHost ansible-apt: …
Not sure how platform dependent that is, thought…
Ansible Galaxy is great and easy for role discovery and role imports in general. Currently only the https://github.com/tommarshall/ansible-role-lynis role is available there.
Include a clean-up task to remove the installed Lynis dir after running an audit.
Lynis returns an error code when warnings occur. Under normal circumstances this prevents a playbook from continuing, say across servers. Ideally there would be an easy way (other than ignore warnings flag) to prevent the error code.
Ease fetching the resulting logs and report data, as the terminal output will only go so far.
What good is a role when it doesn't include a task to run the script? As simple as it might be, having a simple boolean in the defaults for triggering the task would be easy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.