cisagov / cyhy-system

Cyber Hygiene system and overall documentation/issue tracking
Creative Commons Zero v1.0 Universal
6 stars 0 forks source link

Store stakeholder CyHy reports in AWS S3 #118

Open mcdonnnj opened 1 month ago

mcdonnnj commented 1 month ago

💡 Summary

We should store any CyHy stakeholder reports in AWS S3 instead of in an EBS volume attached to the reporter instance.

Motivation and context

Storing the reports in S3 would allow the following advantages:

Implementation notes

We will need to create a new bucket to store reports (and this could probably be extended to store any reports in the CyHy environment). The reporter instance profile will need to be updated to allow PutObject permissions to this new bucket. I believe we would like a transition period where reports are copied from the EBS volume attached to the reporter instance to the new S3 bucket. At some future point the cisagov/cyhy-reports logic should be changed to upload directly to the bucket.

Acceptance criteria

How do we know when this work is done?

mcdonnnj commented 1 month ago

We might consider just mounting the S3 bucket to the local filesystem as a final state using mountpoint.