Sign inSign up

forward3d/garrison-agent-aws-sqs

By forward3d

•Updated over 5 years ago

Image
0

10K+

forward3d/garrison-agent-aws-sqs repository overview

⁠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 NameDescription
check_dlq_retentionChecks that the DeadLetterQueues have the max message retention period
check_encryptionChecks that the queues have encryption enabled
check_redriveChecks 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 VariableDefault
GARRISON_SQS_MESSAGE_RETENTION_THRESHOLD1209600 (14 days)

Tag summary

Content type

Image

Digest

Size

26.7 MB

Last updated

over 5 years ago

docker pull forward3d/garrison-agent-aws-sqs