Block public access settings should be enabled for Amazon EBS snapshots
Flags Regions where block public access for EBS snapshots is off. Without it, any snapshot can be shared publicly, by intent or by mistake, and its data is then open to every AWS account. Evaluated only in Regions where this account owns EBS snapshots.
- service
- EC2
- severity
- High
- scope
- evaluated in every region
How to fix it
- Can break clients: Block all public access, which both routes set, also makes snapshots already shared publicly unavailable outside the account; Block new public sharing leaves them shared.
In the console
EC2 → Settings → Data protection and security → Block public access for EBS snapshots → Manage
- Block public access
- Selected, with Block all public access or Block new public sharing (either passes)
With the AWS CLI
aws ec2 enable-snapshot-block-public-access --state block-all-sharing --region <region>With Terraform
resource "aws_ebs_snapshot_block_public_access" "this" {
state = "block-all-sharing"
}
See which of your accounts this check is failing on.
Book a live scan