This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Parses AWS Config events from SNS and will raise PagerDuty incidents if resources | |
// go non-compliant, resolving the incident when they return to compliant. | |
// | |
// This file is intended to be used with a PagerDuty Custom Event Transformer. | |
// https://www.pagerduty.com/docs/guides/custom-event-transformer/ | |
// | |
// Create a new Custom Event Transformer integration in PagerDuty, and subscribe it's | |
// Integration URL on the SNS Topic that you send AWS Config events to. | |
// | |
// You can see all the different notifications Config sends here: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am richadams on github. | |
* I am richadams (https://keybase.io/richadams) on keybase. | |
* I have a public key whose fingerprint is 48F4 05D4 8567 234C D6D0 196E 71AB E159 1504 8ED2 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requires: awscli (http://aws.amazon.com/cli/) | |
# Prints out a list of all security groups and their settings, just for quickly auditing it. | |
# Your AWS credentials | |
if [ -z ${AWS_ACCESS_KEY_ID} ]; then | |
export AWS_ACCESS_KEY_ID='***' | |
export AWS_SECRET_ACCESS_KEY='***' | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requires: awscli (http://aws.amazon.com/cli/) | |
# Your AWS credentials | |
export AWS_ACCESS_KEY_ID='***' | |
export AWS_SECRET_ACCESS_KEY='***' | |
# This is the base policy that will be used. | |
POLICY="ELBSecurityPolicy-2014-10" |