GithubHelp home page GithubHelp logo

isabella232 / garrison-agent-aws-sqs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forward3d/garrison-agent-aws-sqs

0.0 0.0 0.0 49 KB

Garrison Agent that provides AWS SQS compliance checks

Home Page: https://github.com/forward3d/garrison

Dockerfile 7.91% Ruby 92.09%

garrison-agent-aws-sqs's Introduction

Garrison Agent - AWS SQS

This is a part of the Garrison security project. This agent mainly provides compliance alerts and other basic checks.

Checks Provided

Function Name Description
check_dlq_retention Checks that the DeadLetterQueues have the max message retention period
check_encryption Checks that the queues have encryption enabled
check_redrive Checks for queues without a redrive policy (excluding those acting as one)

Installation & Example

Docker Hub - https://hub.docker.com/r/forward3d/garrison-agent-aws-sqs/

docker pull forward3d/garrison-agent-aws-sqs
docker run --rm -e "GARRISON_URL=https://garrison.internal.acme.com" forward3d/garrison-agent-aws-sqs check_encryption

AWS Authentication

As this requires access to the AWS API you will need this IAM policy as a minimum for it to operate correctly.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "sqs:ListQueues",
                "sqs:GetQueueAttributes"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ]
}

We recommend using EC2/ECS Task roles so that you don't need to send credentials into the container, however if you can't use those or want to send in specific Access Keys and Secret keys, please see the AWS Documentation as to how you do that.

Check Specific Configuration

Some checks provided by this agent have extra configuration options.

check_dlq_retention

Environmental Variable Default
GARRISON_SQS_MESSAGE_RETENTION_THRESHOLD 1209600 (14 days)

garrison-agent-aws-sqs's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar lloydpick 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.