Giter Club home page Giter Club logo

threatstack-chef's Introduction

Threat Stack Cookbook

Build Status Cookbook Version

** NOTE **: As of 2.x of this cookbook we only explicitly support chef 12.15 or greater.

Chef recipes to deploy the Threat Stack server agent

Requirements

  • chef > 12.15

Platforms

  • Amazon Linux
  • CentOS
  • RedHat
  • Ubuntu

Cookbooks

The following Opscode cookbooks are dependencies:

  • apt
  • yum

Recipes

default

Installs the Threat Stack agent package and register the agent with the service

repo

Sets up the Apt or Yum repo for installing the Threat Stack agent package

Usage

  1. Add this cookbook to your Chef Server or add to your Berksfile
cookbook 'threatstack', '~> 1.0.0'
  1. Add your deploy api key. The recommended way is to use an encrypted databag with name and item specified by the corresponding attributes. The cookbook will use the 'deploy_key' value from the databag by default. You can also set the key directly or using a wrapper cookbook in the node['threatstack']['deploy_key'] attribute. Setting the key will disable the encrypted data bag lookup.

Additionally you we can read the deploy key from the node.run_state['threatstack']['deploy_key'] location Simply set the value of the deploy key in the run state at that location.

  1. Set the node['threatstack']['feature_plan'] appropriately for your organzation

  2. Add this recipe to your runlist or include in another recipe

Attributes

node['threatstack']['version'] - Set to pin to a specific Threat Stack agent release version.

node['threatstack']['pkg_action'] - Set to :upgrade if you want to take the latest release (defaults to :install).

node['threatstack']['deploy_key'] - Override this with your deploy key for agent registration.

node['threatstack']['feature_plan'] - Threat Stack feature plan. (values: monitor, investigate, legacy; see: https://www.threatstack.com/plans)

node['threatstack']['data_bag_name'] - Name of the encrypted databag containing Threat Stack secrets

node['threatstack']['data_bag_item'] - Name of the encrypted databag item containing Threat Stack secrets.

node['threatstack']['rulesets'] - Set or override this with an array of rulesets to apply to the node.

node['threatstack']['hostname'] - register the agent in the UI by a specific name (defaults to hostname).

node['threatstack']['agent_config_args'] - array of arguments to enable platform features via cloudsight config.

node['threatstack']['cloudsight_service_timer'] - a Chef timer to manage the agent service with.

Encrypted Data Bag Contents

deploy_key - the deploy key for agent registration.

threatstack-chef's People

Contributors

petecheslock avatar tmclaugh avatar patcable avatar chaddressler avatar maxvt avatar

Watchers

Paul Pedersen avatar David Colwell avatar Josh Pasqualetto avatar Jérémie Astori avatar Jarrod Taylor avatar Chris Boyle avatar BrindleFly avatar Radu Helstern avatar Asjad Khan avatar Adam Schepis (he/him) avatar Joey Parshley avatar Rudi Wirth avatar Adam Abrevaya avatar Ben Rousseau avatar Andi Abes avatar Brad Neighbors avatar James Cloos avatar Nivetha R avatar Scott Stackley avatar Sriram Nookala avatar Jeremie Roche avatar SCOTT JENSEN avatar Ashutosh Tiwari avatar Gaurav Singh avatar Siddharth Tewari avatar Peter Melko avatar Five Objects avatar Francesca Nannizzi avatar Efe Yardimci avatar Sahil Singhal avatar Vikram Pillai avatar UmaMaheshwar Bonagiri avatar Sivaraj M avatar Hina Gandhi avatar Mike G avatar Becky Bell avatar Rahul Arora avatar Hanbin Cho avatar Rajesh Kannikanti avatar Daniel Recker avatar Peter R. avatar srivathsan K R avatar Naina Verma avatar Haley Pelletier avatar Will Juffras avatar Raaghul Kannan avatar Steven Picciano avatar Wes Fowlks avatar Ateev Nahar avatar Preetham avatar PrasannaSudharsan R avatar Mageshwaran Rajendran avatar Jeff Zhou avatar Mangesh Shanbhag avatar Xu Han avatar Krishna Karthik avatar Yan Liu avatar Aswin Prabhu avatar Diganth Channegowda avatar Giriraj Chauhan avatar Greg O'Hare avatar Duk Hwan Kim avatar Russ Moore avatar Sasank Vihari avatar Katie Hooley avatar Vishal Singh avatar Jeff Brainerd avatar David Nutting avatar Divang Sharma avatar Maya Dahan avatar Shiva Prasad H S avatar Gretchen avatar Samir Mehra avatar GopalaKrishnan M avatar Dhruv Patel avatar Stan Luke avatar Kumaran K avatar John Purcell avatar Alberto Massari avatar Chris Harris avatar Syed Sulthan avatar  avatar James Curran  avatar Madolyn Sullivan avatar Rishita Jaggi avatar Pranesh Ramakrishnan avatar Tarun Patel avatar Amey Deshmukh avatar  avatar Mike Jasnowski avatar Muzibur Rahiman Shaik avatar Xiaochao Li avatar Nirbhay Das avatar Manimaran Avudayappan avatar Leena Ramteke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.