We need a check that looks for public S3 read/write permissions and automatically revokes these when found. This check would look for the following public permissions:
Bucket list objects
Bucket write objects (This is high severity)
Bucket read permissions
Bucket write permissions (This is high severity)
For the high severity permissions we should explicitly detail the customer should manually audit the bucket and it's objects to ensure that is has not been compromised.
This automation workflow can follow a similar pattern to the one for Exposed Access Keys linked below:
https://github.com/aws/Trusted-Advisor-Tools/tree/master/ExposedAccessKeys
Let me know what you think about this proposed check.