All Projects → Signiant → aws-iam-slack-notifer

Signiant / aws-iam-slack-notifer

Licence: MIT License
Notifies slack when an IAM policy is created, changed or assigned to a role

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to aws-iam-slack-notifer

Hodor
Hodor is a an automation application that is used to open the door controlled by an intercom system from Slack using a custom slash command.
Stars: ✭ 21 (-40%)
Mutual labels:  slack, aws-lambda
My Arsenal Of Aws Security Tools
List of open source tools for AWS security: defensive, offensive, auditing, DFIR, etc.
Stars: ✭ 6,464 (+18368.57%)
Mutual labels:  aws-lambda, iam
terraform-aws-organization-access-group
Terraform module to create an IAM Group and Policy to grant permissions to delegated IAM users in the Organization's master account to access a member account
Stars: ✭ 16 (-54.29%)
Mutual labels:  iam, iam-policy
Aws Serverless Auth Reference App
Serverless reference app and backend API, showcasing authentication and authorization patterns using Amazon Cognito, Amazon API Gateway, AWS Lambda, and AWS IAM.
Stars: ✭ 724 (+1968.57%)
Mutual labels:  aws-lambda, iam
Aws Maintenance Lambda
A lambda function to send alerts (to Slack, HipChat) on AWS maintenance events.
Stars: ✭ 133 (+280%)
Mutual labels:  slack, aws-lambda
terraform-aws-cloudtrail-s3-bucket
S3 bucket with built in IAM policy to allow CloudTrail logs
Stars: ✭ 38 (+8.57%)
Mutual labels:  iam, iam-policy
Lambdaguard
AWS Serverless Security
Stars: ✭ 300 (+757.14%)
Mutual labels:  aws-lambda, iam
Aws To Slack
Forward AWS CloudWatch Alarms and other notifications from Amazon SNS to Slack.
Stars: ✭ 261 (+645.71%)
Mutual labels:  slack, aws-lambda
Terraform Aws Notify Slack
Terraform module which creates SNS topic and Lambda function which sends notifications to Slack
Stars: ✭ 290 (+728.57%)
Mutual labels:  slack, aws-lambda
Claudia Bot Builder
Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes
Stars: ✭ 1,717 (+4805.71%)
Mutual labels:  slack, aws-lambda
bakery
(Not maintained anymore) Bakery - Centralised AWS identity and access management solution for multiple accounts
Stars: ✭ 50 (+42.86%)
Mutual labels:  iam, iam-policy
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (-60%)
Mutual labels:  slack
cfn-api-gateway-custom-domain
API Gateway custom domains as CloudFormation resources, backed by Let's Encrypt
Stars: ✭ 17 (-51.43%)
Mutual labels:  aws-lambda
mangum-cli
CLI tools for use with Mangum
Stars: ✭ 14 (-60%)
Mutual labels:  aws-lambda
amazon-api-gateway-mutating-webhook-for-k8
AWS API Gateway as K8S mutating webhook to modify in K8S Pod automatically
Stars: ✭ 21 (-40%)
Mutual labels:  aws-lambda
kubernetes-vault-example
Placeholder for training material related to TA usage of Vault for securing Kubernetes apps.
Stars: ✭ 16 (-54.29%)
Mutual labels:  iam
jschr.io
The static website generator service behind jschr.io.
Stars: ✭ 70 (+100%)
Mutual labels:  aws-lambda
lambda-checklist
The checklist for meticulous serverless engineers
Stars: ✭ 26 (-25.71%)
Mutual labels:  aws-lambda
node-slack-events-api
Slack Events API for Node
Stars: ✭ 93 (+165.71%)
Mutual labels:  slack
twitter
A serverless social network that's under development with some cool stuff, such as Serverless Framework, AppSync, GraphQL, Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
Stars: ✭ 29 (-17.14%)
Mutual labels:  aws-lambda

aws-iam-policy-slack-notifer

Notifies slack when an IAM policy is created, changed or assigned to a role

Build Status

Purpose

Notifies a slack channel when an AWS IAM policy is manipulated

Sample Output

Sample Slack Posts

Installing and Configuring

Slack Setup

Before installing anything to AWS, you will need to configure a "bot" in Slack to handle the posts for you. To do this:

  • In Slack, choose Manage Apps -> Custom Integrations -> Bots
    • Add a new bot configuration
    • username: aws-iam-notifier
    • Copy the API Token.
    • Don't worry about other parameters - the notifier over-rides them anyway

AWS Setup

  • Grab the latest Lambda function zip from Releases
  • Create a new cloudformation stack using the template in the cfn folder

The stack asks for the function zip file location in S3, the slack API Key and the slack channel to post notifications to. Once the stack is created, a cloudwatch event is created to subscribe the lambda function to several IAM events around policy manipulation.

Filtering Slack Alerts

Using some optional environment variables defined on the Lambda function, you can also exclude certain Slack notifications for specific policy manipultation events. Set the following variables on the function to 0 if you wish to exclude these events from notifying Slack:

  • CREATE_POLICY_NOTIFY
  • CREATE_POLICY_VERSION_NOTIFY
  • ATTACH_GROUP_POLICY_NOTIFY / DETACH_GROUP_POLICY_NOTIFY
  • ATTACH_USER_POLICY_NOTIFY / DETACH_USER_POLICY_NOTIFY
  • ATTACH_ROLE_POLICY_NOTIFY / DETACH_ROLE_POLICY_NOTIFY
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].