Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
/ NestCamToSlack Public archive

An AWS Lambda function to capture a jpg from a nest cam and post it to slack

License

Notifications You must be signed in to change notification settings

bombbomb/NestCamToSlack

Repository files navigation

NestCamToSlack

An AWS Lambda function to capture a jpg from a nest cam and post it to slack

You need to provide two environment variables:

  • SLACK_CHANNEL The slack channel you want to post to.
  • S3_BUCKET The S3 Bucket where you'd like to post pics!
  • HOOK_URL A Slack Incoming Webhook URL
  • CAM_URL Your Nest Snapshot URL

RipSecrets

We implement pipeline secret scanning on all pull request events to prevent credentials from being merged. If the pipeline scanner detects a secret in your changed files it will gate the pull request and you will need to purge the found credential from your code and re-open the PR. To prevent getting gated by this tool and as best practice you should install the secret scanner locally in a pre-commit hook to prevent the secret from ever being committed to the repo in the first place. You can find documentation on how to set it up locally here
Ripsecrets has ways to bypass secret scanning although we should not be ignoring secrets that turn up in the scans. If something is out of your control and blocking the pipeline you can bypass it in one of the following ways

  1. Adding "# pragma: allowlist secret" to the end of the line with the secret.
  2. Adding the specific secret underneath the "[secrets]" block in .secretsignore
  3. Adding the filepath to ignore the whole file aboove the "[secrets]" block in .secretsignore

About

An AWS Lambda function to capture a jpg from a nest cam and post it to slack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published