GithubHelp home page GithubHelp logo

isabella232 / deprecated-patrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mapbox/deprecated-patrol

0.0 0.0 0.0 16 KB

DEPRECATED - An AWS Lambda powered monitoring framework for security, compliance, and best practices.

License: BSD 2-Clause "Simplified" License

deprecated-patrol's Introduction

Patrol

An AWS Lambda powered monitoring framework for security, compliance, and best practices across an organization. Patrol uses lambda-cfn to quickly generate and deploy AWS Lambda rule functions and notifications.

This is an issue and documentation only repo for managing the Patrol project and its related repositories. As of v2.0.0 of lambda-cfn you no longer need to use a parent Patrol repository to deploy your Patrol rule functions.

Getting started

See the getting started guide for a quick start tutorial on how to create and deploy Patrol rules.

Architecture

Patrol consists of a set of Patrol rules or rule functions that monitor for insecure or non-compliant events in a third party service. Each rule is powered by its own AWS Lambda function, which is deployed as its own independent AWS CloudFormation stack using lambda-cfn. Rule event sources can be CloudWatch event rules, scheduled rules, SNS subscriptions, and webhook events.

Rule example

The cloudTrail rule function in patrol-rules-aws monitors for disallowed actions on CloudTrail trails. Disallowed actions such as DeleteTrail and StopLogging (types of CloudWatch events) are provided as parameters at deploy time using the function's function.template.js CloudFormation template.

When a disallowed event occurs this fires off the Lambda function, which sends a message to an SNS topic that's configured with an email address. This allows you to connect your Patrol rule function to a monitoring or alerting system such as PagerDuty.

Patrol rule repositories

Related Patrol rules are grouped into the same shared GitHub repository. Rules are generally grouped by the third party service that they monitor. Their GitHub repositories follow the naming convention patrol-rules-<service>.

Have another third party service you'd to monitor that's not listed above? Create a new issue with your idea or show us your new Patrol stack!

Deploying Patrol rules

Deploy Patrol rules to AWS using lambda-cfn.

Each Patrol rule is its own independent CloudFormation stack - you'll need to deploy each rule separately.

Contributing

This is an issue and documentation only repo - you're welcome to open a new issue. Also, check out the CONTRIBUTING.md for lambda-cfn, patrol-rules-aws, patrol-rules-github, and other related repositories.

deprecated-patrol's People

Contributors

ianshward avatar alulsh avatar zmully avatar tmcw 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.