Forge Home

nessus

Nessus Module

18,852 downloads

14,250 latest version

2.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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 Jan 29th 2016
This version is compatible with:
  • Puppet Enterprise >=3.2.0 <3.4.0
  • Puppet >=3.0.0 <4.0.0
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'adamcrews-nessus', '0.3.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add adamcrews-nessus
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install adamcrews-nessus --version 0.3.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

adamcrews/nessus — version 0.3.2 Jan 29th 2016

#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