# How to resolve Sprinto check for enabling versioning on AWS S3 buckets

### About:

Sprinto Check: AWS S3 bucket should be versioned

This Sprinto check verifies that versioning is enabled for your Amazon S3 (Simple Storage Service) buckets, which allows you to maintain multiple versions of objects stored in those buckets.

### Purpose:

Enabling versioning for S3 buckets is primarily to protect against accidental overwrites, deletions, or modifications of data. With versioning enabled, you can easily recover previous versions of objects, ensuring data integrity and providing an additional layer of protection against data loss or corruption.

### How to fix

Follow the below steps to resolve the Sprinto check:

### Before you begin:

* Ensure you have administrator privilege on the AWS account to modify configuration on AWS S3.

### Verifying versioning on S3 buckets:

1. Log in to the[ AWS Console](https://aws.amazon.com/console/) using your credentials.
2. Navigate to the AWS S3 service.
3. Select the S3 bucket from the list to verify versioning.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72099129050/original/uP-C_k1JC8JhiN-SEyRUk4SmAXqdTPgVHQ.png?1716443703" alt="" width="563"><figcaption></figcaption></figure>
4. Select the Properties tab and review the versioning status from the Bucket Versioning section.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72099129049/original/fnTcUpEi1kBBpEGt_tVbSI7pHVVZ0oWGDg.png?1716443703" alt="" width="563"><figcaption></figcaption></figure>
5. If the status is Suspend versioning, click Edit and enable bucket versioning.
6. Repeat the above steps for all S3 buckets that store organization's critical data.

Sprinto detects the configuration change and sets the check status to “Passing.”

Contact [Sprinto support](mailto:www.support@sprinto.com) if you have any queries related to the check or need assistance.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/aws/how-to-resolve-sprinto-check-for-enabling-versioning-on-aws-s3-buckets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
