Adam Crews

Adam Crews

adamcrews

15,582 downloads

11,530 latest version

2.5 quality score

Version information

  • 0.3.2 (latest)
  • 0.3.1
  • 0.3.0
  • 0.2.0
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise >=3.2.0 <3.4.0
  • Puppet >=3.0.0 <4.0.0
  • RedHat
    ,
    CentOS

Start using this module

Documentation

adamcrews/nessus — version 0.3.2 Jul 3rd 2019

#nessus

Build Status Puppet Forge

####Table of Contents

  1. Overview
  2. Setup - The basics
  3. Usage - Configuration options and examples
  4. Reference - Class, parameter, and fact documentation
  5. Limitations
  6. ToDo
  7. Contributors

##Overview

The nessus module installs, configures, and manages the nessus vulnerability scanner software.

##Setup

include ::nessus is sufficient to get nessus installed and running with default settings. If you wish to activate an update feed, then you can specify an activation_code like this:

class { '::nessus':
  activation_code => 'XXXX-XXXX-XXXX-XXXX'
}

##Usage

All interaction with the nessus module can be done through the main nessus class. You can simply toggle the optios in ::nessus to have complete functionality.

###Bare minimum setup

include '::nessus'

###Install the professional feed

class { '::nessus':
  activation_code => 'XXXX-XXXX-XXXX-XXXX'
}

###Create a user

nessus::user { 'admin':
  password  => '1adam12_1adam12',
  admin     => true,
}

##Reference

###Classes

####Public Classes

  • nessus: Main class, includes all other classes.

####Private Classes

  • nessus::install: Handles installing the package. It must be available in wherever your system pulls packages from.
  • nessus::config: Activate and configure nessus.
  • nessus::service: Handles the service.

###Parameters

The following parameters are available in the nessus module:

####activation_code

The code used to download nessus plugin updates.

####package_name

The name of the nessus package being installed, defaults to 'Nessus'.

####package_ensure

Determines what to do with the package, valid options are present/installed, latest, or absent.

####security_center

Configure nessus to be connected to Security Center.

####service_name

The service name for nessusd.

####service_ensure

Determines the state of the service, valid options are running or stopped.

####service_manage

Selects wether puppet should manage the service.

##Facts

  • nessus_activation_code is set to the code that is active on the node, or undefined if no code is active.

##Limitations

This module has some tests in place, but not many yet. Additionally, it is not possible to completely test the activation portion of nessus, since each activation is unique, and you would need a new activation code from nessus every time you try to activate.

##ToDo

  • Manage nessus config items.
  • More spec tests are needed.
  • Expand supported platforms. So far only Nessus 5.2.7 and Nessus 6 on CentOS6 has been tested.

###Contributors

Many thanks to PuppetLabs and their ntp module for the template to work off of. Individual contributors can be found at: https://github.com/adamcrews/puppet-nessus/graphs/contributors