softasap / sa-secure-audit-lynis

Lynis is a security auditing tool for UNIX derivatives. Open source software, part of CISOfy's Lynis Enterprise product. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless
4 stars 1 forks source link
lynis security security-audit

sa-secure-audit-lynis

Build Status

Lynis is a security auditing tool for UNIX derivatives. Open source software, part of CISOfy's Lynis Enterprise product. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless.

Example of use: check box-example

Installation is done via git, thus version update is achieved by git pull

Simple:


     - {
         role: "sa-secure-audit-lynis"
       }

Advanced:

tool will try to install mailutils, if they are not installed. To gain more control over your system, I would recommend configure system for mail sending in advance, rather than rely on defaults. sa-postfix is one of the possible roles, included in box-example


     - {
         role: "sa-postfix",
         tags: ["create", "update"]
       }
     - {
         role: "sa-secure-audit-lynis",
         option_install_git: false,
         lynis_version: "2.4.0",
         lynis_user: lynis

       }

Using lynis:


sudo lynis audit system

Usage with ansible galaxy workflow

If you installed the sa-secure-audit-lynis role using the command

ansible galaxy install softasap.sa-secure-audit-lynis

the role will be available in the folder library\softasap.sa-secure-audit-lynis. Please adjust the path accordingly.


     - {
         role: "softasap.sa-secure-audit-lynis"
       }

Copyright and license

Code is dual licensed under the [BSD 3 clause] (https://opensource.org/licenses/BSD-3-Clause) and the [MIT License] (http://opensource.org/licenses/MIT). Choose the one that suits you best.

Reach us:

Subscribe for roles updates at [FB] (https://www.facebook.com/SoftAsap/)

Join gitter discussion channel at Gitter

Discover other roles at http://www.softasap.com/roles/registry_generated.html

visit our blog at http://www.softasap.com/blog/archive.html