Categorygithub.com/RIPGlobal/aws-slack-notifications
module
0.0.0-20200407025041-1b32fef1e1d0
Repository: https://github.com/ripglobal/aws-slack-notifications.git
Documentation: pkg.go.dev

# README

Serverless Go Report Card License

AWS Slack Notifications

A generic set up for sending AWS notifications to Slack.

Uses:

  • Golang
  • Serverless

Services

Notifications are set up as individual Serverless services, making them deployable individually. While sharing common code.

CodePipeline Notifications

GuardDuty Notifications

Service Setup

AWS

Serverless Guide to AWS Credentials Setup

Slack

1. Login to https://api.slack.com/apps and Create New App

  • The App name you use will be the user reporting the notifications in slack
  • The App will need to be installed for you to get an OAuth token.

Required Permissions

These are service specific (see Service README) but commonly:

chat:write:bot # Send messages as AWS Notifications

Environment Variables

These are service specific (see Service README) but commonly:

export AWS_SLACK_NOTIFICATIONS_OAUTH_ACCESS_TOKEN=xoxp-825209819346-837534187124-837535618052-6597eb2eaceccd85340e0fe5033b43db