Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Reports GuardDuty Findings to Slack out of CloudWatch Events

License

Notifications You must be signed in to change notification settings

LoyaltyNZ/guardduty-slack-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Go Report Card License

GuardDuty Slack Reporter

A serverless application for reporting findings from GuardDuty via Cloudwatch events to Slack.

Setup

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

  • The App name you use will be the user reporting the guard duty findings
  • The App will need to be installed for you to get an OAuth token.

2. After creating the application in Slack we need to set tokens for the App to use:

  • These are region specific if you haven't set AWS_PROFILE you may want to use the flag --region
  # The verification token
  # can be found under Basic Information in the App on https://api.slack.com/apps
  # This gives us the ability to check the messages sent to the App are actually coming from Slack
  aws ssm put-parameter --name guardBotOAuthAccessToken --type String --value SecretToken

  # The channel we want to post into
  aws ssm put-parameter --name guardChannel --type String --value ChannelID

3. After this is all set you will need to deploy the application

  make
  sls deploy

About

Reports GuardDuty Findings to Slack out of CloudWatch Events

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.0%
  • Makefile 6.0%