Forge Home

sophos_av

Installation and configuration of Sophos Antivirus for Servers

6,486 downloads

6,486 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.

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.1.0 (latest)
released Sep 20th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'jadestorm-sophos_av', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jadestorm-sophos_av
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jadestorm-sophos_av --version 0.1.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

jadestorm/sophos_av — version 0.1.0 Sep 20th 2018

sophos_av

Build Status Code Coverage Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores

Table of Contents

  1. Description
  2. Setup - The basics of getting started with sophos_av
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how

Description

Installs and manages Sophos Antivirus for Linux (free edition).

Setup

What sophos_av affects

  • /opt/sophos-av
  • systemd components

Beginning with sophos_av

Basically just: include sophos_av

Usage

I'm not writing out what the options actually do right now, so take a look at init.pp/params.pp to get a list of what options there are.

At a minimum, you -must- set source_package to a location where the module can retrieve the install tarball. ie:

class { '::sophos_av':
  source_package => 'http://mypackages.example.org/sav-linux-free-9.tgz',
}

Reference

Options you can pass to the class mostly map directory to SAV options. For configuration assistance and help figuring out what options mean: Sophos Anti-Virus for Linux configuration guide

The available options are as follows:

  • source_package: Where to get the package from. You can get the package from Sophos's own site and then place it somewhere your hosts can get to. Required Type: String

  • install_dir: Controls where Sophos AV is installed. It is highly recommended that you leave this as default. Default: '/opt/sophos-av' Type: String

  • auto_start: Controls whether Sophos AV is started immediately after install. It is highly recommended you leave this as default. Default: false Options: false, true Type: Boolean

  • enable_on_boot: Start SAV on boot? Default: true Options: false, true Type: Boolean

  • live_protection: Should SAV scan and block files on read/write? Default: true Options: false, true Type: Boolean

  • update_source_type: Where does SAV get it's updates from? Leave default unless you know what you are doing. Default: sophos Options: sophos, local, disable Type: String

  • prefer_fanotify: Prefer to use the Fanotify functionality? Default: true (on RedHat family, false on others) Options: false, true Type: Boolean

  • email_target: Where to email reports/notifications to. Default: root@localhost Type: String

  • email_demand_summary: Should we email the demand summary? Default: true Options: false, true Type: Boolean

  • email_language: What language the email should be in. Default: English Type: String

  • email_notifier: Should we notify via email? Default: true Options: false, true Type: Boolean

  • email_server: What email server to use for notifications. Default: localhost:25 Type: String

  • enable_on_start: Should we enable SAV on startup? Default: true Options: false, true Type: Boolean

  • log_max_size: Max size of log files. Default: 100 Type: Numeric

  • notify_on_update: Should we send an update when we perform an update? Default: false Options: false, true Type: Boolean

  • upload_samples: Should we upload samples of files to Sophos? Default: false Options: false, true Type: Boolean

  • send_error_email: Should we send emails on errors? Default: true Options: false, true Type: Boolean

  • send_threat_email: Should we send emails on threats found? Default: true Options: false, true Type: Boolean

  • ui_notifier: Activate the UI notifier? Default: true Options: false, true Type: Boolean

  • ui_popup_notification: Should the UI notifier use GUI popups? Default: true Options: false, true Type: Boolean

  • ui_tty_notification: Should the UI notifier use TTY notifications? Default: true Options: false, true Type: Boolean

  • update_period: How often should we update our definitions (in minutes)? Default: 60 Type: Numeric

  • scan_archives: Should we scan inside archives? Default: mixed Options: mixed, enabled, disabled Type: String

  • exclusion_encodings: Encodings to use for exclusion checking. Default: ['UTF-8','EUC-JP','ISO-8859-1'] Type: Array

  • exclude_file_paths: Exclude files at or under these paths. Default: [] Type: Array

  • exclude_file_on_glob: Exclude files matching these glob patterns. Default: [] Type: Array

  • exclude_filesystems: Exclude these file systems. Default: [] Type: Array