DoSomething / infrastructure

🐄 DoSomething.org's infrastructure, managed by Terraform.
MIT License
3 stars 2 forks source link

Add Papertrail archive bucket. #263

Closed DFurnes closed 4 years ago

DFurnes commented 4 years ago

What's this PR do?

This pull request adds an S3 bucket where we can keep our own archive of our Papertrail logs. This is could be useful if we ever need to search further than the four-week window included in our plan (via Athena), or if we ever need to reference logs older than a year (say, to ensure a breach didn't occur if we found a security hole).

How should this be reviewed?

This sets up a new bucket to store these zipped archive files, roughly following Papertrail's setup guide. This bucket should be private & only allow write access to Papertrail's AWS account ID.

Any background context you want to provide?

🎋

Relevant tickets

References Pivotal #173253029.

Checklist