{
  "Provider": "aws",
  "CheckID": "s3_account_level_public_access_blocks",
  "CheckTitle": "Check S3 Account Level Public Access Block.",
  "CheckType": [
    "Data Protection"
  ],
  "ServiceName": "s3",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:s3:::bucket_name",
  "Severity": "high",
  "ResourceType": "AwsS3Bucket",
  "Description": "Check S3 Account Level Public Access Block.",
  "Risk": "Public access policies may be applied to sensitive data buckets.",
  "RelatedUrl": "",
  "Remediation": {
    "Code": {
      "CLI": "aws s3control put-public-access-block --public-access-block-configuration BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true --account-id <account_id>",
      "NativeIaC": "https://docs.bridgecrew.io/docs/bc_aws_s3_21#cloudformation",
      "Other": "https://github.com/cloudmatos/matos/tree/master/remediations/aws/s3/s3control/block-public-access",
      "Terraform": "https://docs.bridgecrew.io/docs/bc_aws_s3_21#terraform"
    },
    "Recommendation": {
      "Text": "You can enable Public Access Block at the account level to prevent the exposure of your data stored in S3.",
      "Url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html"
    }
  },
  "Categories": [],
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": ""
}
