Forge Home

openscap

Openscap management module

10,503 downloads

9,273 latest version

5.0 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.

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Feb 10th 2015
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'thbe-openscap', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thbe-openscap
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thbe-openscap --version 0.2.0

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

thbe/openscap — version 0.2.0 Feb 10th 2015

#openscap

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with openscap
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview

The openscap module provides the installation procedure for openscap.

##Module Description

The openscap module scan the local installation for known vulnerabilities and report them in a HTML page.

##Setup

###What openscap affects

  • openscap package.
  • openscap configuration file.
  • openscap service configuration.

###Beginning with openscap

include '::openscap' is enough to get you up and running if the parameters point to proper values. If you wish to pass in parameters like which servers to use then you can use:

class { '::openscap':
  profile => 'F14-Desktop',
}

##Usage

All interaction with the openscap module can do be done through the main openscap class. This means you can simply toggle the options in the openscap class to get at the full functionality.

###I just want openscap, what's the minimum I need?

include '::openscap'

##Reference

###Classes

  • openscap: Main class, includes all the rest.
  • openscap::install: Handles the packages.
  • openscap::config: Handles the configuration file.
  • openscap::service: Handles the alternative service link.

###Parameters

The following parameters are available in the openscap module

####report

Specify the file and path for the report.

####result

Specify the file and path for the result.

####ovalDefinition

Specify the file and path for the oval definition.

####xccdfDefinition

Specify the file and path for the xccd definition.

####profile

Specify the profile against which the system is checked.

####rootEmail

Specify the email that recieve the reports (not implemented yet).

##Limitations

This module has been built on and tested against Puppet 3.7 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 6/7
  • Scientific Linux 6/7
  • CentOS 6/7

Testing on other platforms has been light and cannot be guaranteed.

##Development

If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.