> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/gcp/how-to-resolve-sprinto-check-for-restricting-public-access-from-gcp-cloud-storage-buckets.md).

# How to resolve Sprinto check for restricting public access from GCP cloud storage buckets

About:

Sprinto check: Ensure That Cloud Storage Bucket Is Not Anonymously or Publicly Accessible\
The following Sprinto check gets activated when any of your cloud storage buckets that you classified as "Production" on your Sprinto account have open public access. To resolve this check, you need to remove public access to such cloud storage buckets. Once updated, Sprinto detects the changes and sets the check status to "Passing" on your Sprinto app.

#### Purpose:

This Sprinto check aims to safeguard the integrity and confidentiality of data stored in cloud storage buckets by configuring access permissions appropriately.&#x20;

### How to resolve this check:

Follow the below applicable steps to resolve this check:

#### Before you begin

* Ensure you have administrator privileges on the GCP account where you wish to make configuration changes.

#### Updating via. GCP control panel

1. Log in to [GCP Console](https://www.google.com/aclk?sa=l\&ai=DChcSEwjYmd2CiZ6GAxUqLIMDHX1UAfkYABAAGgJzZg\&ase=2\&gclid=Cj0KCQjw6auyBhDzARIsALIo6v8a4FI-x12LRVjGWHNBGptmX3i0kbcLnB3kXrWgHKx90qrK11xvQAsaAtl_EALw_wcB\&sig=AOD64_3Gmzi8N63mvfFy-YhRTybtDlQKRw\&q\&nis=4\&adurl\&ved=2ahUKEwiQv9aCiZ6GAxWOxzgGHepdA6YQ0Qx6BAgGEAE) using your credentials.
2. Navigate to the Cloud Storage service.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72098845595/original/3NZhAHYgfoFfTEIB1A71r5paIe8S1qOcCA.png?1716307917" alt="" width="563"><figcaption></figcaption></figure>
3. Select any bucket from the list and select the Permission tab.
4. Use the filter fields "Principal: allUsers" and "Principal:allAuthenticatedUsers" to find any bucket with public access.<br>

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72098846081/original/mAo9lUN33BPu5_8R4jhfAAnVI-IRQ1Ua9w.png?1716308076" alt="" width="563"><figcaption></figcaption></figure>
5. If you find any result from the above filters, click the delete icon and remove the assigned roles.

Sprinto will detect the configuration change and set the check status to "Passing."

Contact Sprinto support if you have any queries related to the check or need assistance.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/gcp/how-to-resolve-sprinto-check-for-restricting-public-access-from-gcp-cloud-storage-buckets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
