Account does not block public sharing of EBS snapshots

Severity
High
Service
EC2
Check ID
EBS_SNAPSHOT_PUBLIC_ACCESS_NOT_BLOCKED

What this check finds

EBS snapshot block public access is set to "unblocked" for this account, so any snapshot can be shared publicly. The per-snapshot check only sees snapshots that exist today; this default governs every snapshot created from now on, including by automation nobody is watching.

Passing looks like: Account blocks public EBS snapshot sharing.

How to fix it

Enable snapshot block public access.

AWS CLI

  1. aws ec2 enable-snapshot-block-public-access --state block-all-sharing

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

EC2 → EC2 Dashboard → Data protection and security → Block public access for EBS snapshots → Edit.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to Account does not block public sharing of EBS snapshots
FrameworkControls
NIST SP 800-53 Rev5 (Moderate)
  • AC-3 Access Enforcement
  • SC-7 Boundary Protection
NIST Cybersecurity Framework 2.0
  • PR.AA-05 Access permissions and authorizations are enforced with least privilege
  • PR.IR-01 Networks and environments are protected from unauthorized logical access and usage
ISO/IEC 27001:2022 Annex A
  • A.5.15 Access control
  • A.8.20 Networks security

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More EC2 checks

All EC2 checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only