Open S3 buckets

Description

S3 buckets should not be made public to the Internet.

Open Policy Agent Rule

{
  "rego": "import data.helpers\n\nR_0014 {\n\thelpers.isS3Bucket\n\thelpers.isPublic\n}",
  "managed": true,
  "name": "Open S3 buckets",
  "severity": "MEDIUM",
  "description": "S3 buckets should not be made public to the Internet",
  "enabled": true,
  "id": "f33719bc-f28f-401a-9491-2639a1a4c204",
  "refId": "R-0014"
}