Skip to content

MacLeodMike/puppet-appcanary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-appcanary

####Table of Contents

  1. Description
  2. Setup - The basics of getting started with appCanary
  3. Usage
  4. Reference
  5. Limitations
  6. Development

##Description

appCanary is a security service that monitors your infrastructure for security vulnerabilities. This module will manage the agent on your hosts.

You'll need to provide the module with your API key and a list of paths to monitor.

##Setup

###Setup Requirements

The appCanary agent package is hosted on packagecloud.io, so be sure to grab computology/packagecloud from the Forge. You can just add the following to your Puppetfile:

mod 'computology/packagecloud'

###Beginning with appCanary

You'll need your API key from https://appcanary.com/settings. With that in hand this will get you started:

class { '::appcanary':
  api_key: yourapikeyhere
}

##Usage

To have appCanary monitor the gems in your Ruby application for vulnerabilities you need to provide a path to your Gemfile:

class { '::appcanary':
  api_key: yourapikeyhere
  paths:
    - /path/to/your/Gemfile
}

##Reference

###Classes

####Public Classes

  • appcanary: Main class, includes all other classes.

####Private Classes

  • appcanary::prereq: Installs the packagecloud.io repository where appCanary resides
  • appcanary::install: Installs appCanary
  • appcanary::config: Configures appCanary
  • appcanary::service: Ensures appCanary runs

###Parameters The following parameters are available in the ::appcanary class:

####api_key Specifies your API key from https://appcanary.com/settings

####paths Specifies the paths to your Gemfiles

##Limitations

Only tested on Ubuntu Trusty so far. Should work on any platform supported by the packagecloud.io module and by appCanary itself.

##Development

Contributions are welcome anytime. Open issues or send pull requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 87.5%
  • HTML 12.5%