compliance.tf

Cloud Storage buckets should prohibit anonymous and public access

Cloud Storage buckets are assessed for anonymous or public access. The control validates the bucket's IAM policy, which is recommended not to allow anonymous or public access, so that bucket contents are not readable by unauthenticated users.

What this control checks

Cloud Storage buckets should prohibit anonymous and public access

Framework mappings

The clauses this control is mapped to in each framework.

SOC 2

  • CC6.1 The entity implements logical access security software, infrastructure, and architectures over protected information assets to protect them from security events to meet the entity's objectives

PCI DSS v4.0

  • 1.3.1: Network access to and from the cardholder data environment is restricted.
  • 2.2.5: System components cannot be compromised by exploiting insecure services, protocols, or daemons
  • 3.5.1.3: Primary account number (PAN) is secured wherever it is stored.
  • 7.2.1: Access to system components and data is appropriately defined and assigned.
  • 7.2.2: Access to system components and data is appropriately defined and assigned.
8 more clauses
  • 7.2.5: Access to system components and data is appropriately defined and assigned.
  • 7.2.6: Access to system components and data is appropriately defined and assigned.
  • 7.3.1: Access to system components and data is managed via an access control system(s).
  • 7.3.2: Access to system components and data is managed via an access control system(s).
  • 7.3.3: Access to system components and data is managed via an access control system(s).
  • A1.1.2: Multi-tenant service providers protect and separate all customer environments and data.
  • A1.1.3: Multi-tenant service providers protect and separate all customer environments and data.
  • A3.4.1: Logical access to the cardholder data environment is controlled and managed.

ISO/IEC 27001:2022

  • A.8.12 Data leakage prevention

NIST SP 800-53 Rev 5

  • AC-5 Separation Of Duties
  • AC-6: Least Privilege
  • Access Enforcement (AC-3)
  • Media Access (MP-2)

NIST Cybersecurity Framework v2.0

  • GV.SC-05: Requirements to address cybersecurity risks in supply chains are established, prioritized, and integrated into contracts and other types of agreements with suppliers and other relevant third parties.
  • ID.AM-07: Inventories of data and corresponding metadata for designated data types are maintained.
  • PR.DS-01

CIS GCP Benchmark v3.0.0

  • 5.1 Ensure That Cloud Storage Bucket Is Not Anonymously or Publicly Accessible

CIS GCP Benchmark v4.0.0

  • 5.1 Ensure That Cloud Storage Bucket Is Not Anonymously or Publicly Accessible

BSI C5:2025

  • COS-02.01B Specific security requirements are designed, published and provided for establishing connections within the cloud service provider's network. The security requirements define for the cloud service provider's area of responsibility: - In which cases the security zones are to be...
  • CRY-04.01AS The cloud service provider has established procedures and technical measures for state-of-the-art encryption and authentication for the transmission of all data.
  • CRY-04.01B The cloud service provider has established procedures and technical measures for state-of-the-art encryption and authentication for the transmission of cloud service customer data and cloud service derived data both to or by the cloud service provider over public networks. The cloud...
  • CRY-10.01AC For the secure storage of cryptographic keys, the cloud service provider uses a suitable software or hardware security module.
  • HR-01.01B The cloud service provider identifies which roles within the organisation can access cloud service customer data, cloud service derived data, cloud service provider data, account data or system components under the cloud service provider's responsibility that provide the cloud service...
3 more clauses
  • IAM-10.01B The cloud service provider ensures that access to its internal data and system functions is controlled and restricted to authorised personnel.
  • IAM-10.02B The cloud service provider establishes processes and technical controls to manage and verify access permissions within its internal systems.
  • PS-03.02B The security measures are designed to detect and prevent unauthorised access so that the information security of the cloud service is not compromised.

CIS GCP Benchmark v1.2.0

  • 5.1 Ensure that Cloud Storage bucket is not anonymously or publicly accessible

CIS GCP Benchmark v1.3.0

  • 5.1 Ensure that Cloud Storage bucket is not anonymously or publicly accessible

CIS GCP Benchmark v2.0.0

  • 5.1 Ensure that Cloud Storage bucket is not anonymously or publicly accessible

HIPAA Security Rule 2003

  • 164.308(a)(1)(ii)(B) Risk management
  • 164.308(a)(4)(i) Information access management
  • 164.312(a)(1) Access control

NIST Cybersecurity Framework v1.0

  • PR.AC-4: Access permissions and authorizations are managed, incorporating the principles of least privilege and separation of duties.

PCI DSS v3.2.1

  • Limit access to system components and cardholder data to only those individuals whose job requires such access

Tool mappings

Use these identifiers to cross-reference this control across tools, reports, and evidence.

  • Compliance.tf Control: storage_bucket_not_publicly_accessible
  • Powerpipe Control: gcp_compliance.control.storage_bucket_not_publicly_accessible
  • Prowler Check: cloudstorage_bucket_public_access
  • Trivy Check: GCP-0001

Last reviewed: 2026-10-10

View all Google Cloud controls →

On this page

Ask AI about this

Help improve this page