Skip to content

pabloli84/sd_alerts_to_msteams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send Google Cloud Monitoiring (former Stackdriver) Alerts to MS Teams

Build Status

This app allows to redirect messages from Google Monitoring Alerts to MS Teams channel via channel connector webhok.

You need specify following variables

Variable name Description
MS_TEAMS_WEBHOOK MS Teams connector webhook
SD2TEAMS_MODE Operational mode, default Dev, for production use Prod

How to encrypt MS_TEAMS_WEBHOOK variable for Cloud Build

echo -n https://outlook.office.com/webhook/<...> /<...>/<...> | gcloud kms encrypt \
 --ciphertext-file=- \
 --plaintext-file=- \
 --location=us-central1 \
 --keyring=sd2teams-secrets \
 --key=sd2teams-secrets | base64

Then put provided value to cloudbuild.yaml into secertetEnv in secrets section.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages