Puppet Class: profile::diffscan

Defined in:
modules/profile/manifests/diffscan.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class: diffscan

This class installs & manages diffscan, an nmap wrapper for differential port scans. See github.com/ameihm0912/diffscan2

Parameters

ipranges

The list of IP/masks to scan. See nmap doc for accepted formats.

emailto

Diff emails recipient. Defaults to “root”.

groupname

An identifier to distinguish between several instances. Defaults to “diffscan”.

Parameters:

  • ipranges (Array[Stdlib::IP::Address]) (defaults to: lookup('profile::diffscan::ipranges'))
  • emailto (String) (defaults to: lookup('profile::diffscan::emailto'))
  • groupname (String) (defaults to: lookup('profile::diffscan::groupname'))


20
21
22
23
24
25
26
27
28
29
30
# File 'modules/profile/manifests/diffscan.pp', line 20

class profile::diffscan(
  Array[Stdlib::IP::Address] $ipranges = lookup('profile::diffscan::ipranges'),
  String $emailto                      = lookup('profile::diffscan::emailto'),
  String $groupname                    = lookup('profile::diffscan::groupname'),
) {
    class { '::diffscan':
        ipranges  => $ipranges,
        emailto   => $emailto,
        groupname => $groupname,
    }
}