diff --git a/README.md b/README.md index ef50a67..2912176 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ Snyk allowed us a custom limit of 5000 unique key-value pairs that can be used as tags. This scheduled lambda first clears out any orphaned tags, then counts up the remaining tags in use on Snyk projects. The lambda runs every day, and sends an email to the security team if that number is higher than 4500. The number of tags is logged, and also registered as a -cloudwatch datapoint. Cloudwatch will use the `stage` dimension `DEV` or`INFRA`, depending on whether the code was run locally or on AWS, respectively. +cloudwatch datapoint. Cloudwatch will use the `stage` dimension `DEV` or `INFRA`, depending on whether the code was run locally or on AWS, respectively. + +### Architecture +![Architecture](docs/images/snyk-tag-monitor.png) ### Running locally Before running the code locally you will need: diff --git a/docs/images/snyk-tag-monitor.png b/docs/images/snyk-tag-monitor.png new file mode 100644 index 0000000..2189f82 Binary files /dev/null and b/docs/images/snyk-tag-monitor.png differ