> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-lightsail-bucket-object-versioning-is-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Lightsail bucket Object Versioning is disabled

### Synopsis

| Field               | Value                                              |
| ------------------- | -------------------------------------------------- |
| Rule Type           | Detection                                          |
| Finding Type        | AWS Lightsail bucket Object Versioning is disabled |
| Finding ID          | 60001532                                           |
| Generates a Finding | This detection rule also generates a finding       |
| Severity            | Low                                                |
| Category            | CONFIGURATION                                      |
| Cloud Providers     | AWS                                                |
| Platform Module     | CSPM                                               |
| Asset Types         | AWS\_LIGHTSAIL\_STORAGE\_BUCKET                    |

### Description

AWS Lightsail buckets lacking object versioning are susceptible to data loss and unauthorized modification. Disabling this feature removes the ability to revert to previous versions of objects after accidental deletion or malicious alteration.

Lightsail buckets provide object storage, allowing data access from anywhere. Object versioning creates version history for every object stored. Without versioning, accidental deletion or malicious overwrites result in permanent data loss, severely impacting data integrity and potentially leading to business disruption or data breaches. Attackers could exploit this misconfiguration to permanently delete or modify critical data.

To mitigate this risk, enable object versioning on all AWS Lightsail buckets, this ensures data recoverability, protecting against accidental or malicious actions and mitigating the risk of significant data loss.

Regularly review bucket configurations to ensure object versioning remains active. Implement robust access control mechanisms.

### Remediation

1. Sign in to the Lightsail console <https://lightsail.aws.amazon.com/>
2. In the left navigation pane, choose 'Storage'
3. Under 'Buckets', select the reported bucket
4. Under the 'Versioning' section, toggle the versioning feature to enabled
5. In the Enable Versioning pop-up, click on 'Yes,enable'.


---

# 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://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-lightsail-bucket-object-versioning-is-disabled.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.
