🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/redesignhealth/codebuild-slack-notifier

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/redesignhealth/codebuild-slack-notifier

v0.0.0-20180925170629-64264db80db5
Source
Go
Version published
Created
Source

codebuild-slack-notifier

AWS lambda function to send Slack notifications for CodeBuild events

Install

Create a new app for your slack team with the following scopes: channels:history channels:read channels:write channels:write:bot

A valid Slack oauth token needs to be stored as a secure string in the SSM parameter store as /codebuild-slack-notifier/slack_token.

aws ssm put-parameter --name "/codebuild-slack-notifier/slack_token" --value "xoxp-XXXXX" --type SecureString --overwrite

To configure the channels that will be notified for a particular build:

aws ssm put-parameter --name "/codebuild-slack-notifier/<YOUR BUILD NAME>_channels" --value "channel1,channel2" --type SecureString --overwrite

Edit the region in serverless.yml to your region

Then run

npm install
npm run deploy

With AWS credentials that have access to read from SSM and deploy a lambda.

FAQs

Package last updated on 25 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts