---
title: Object Storage buckets should have versioning enabled
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Object Storage buckets should have
  versioning enabled
---

# Object Storage buckets should have versioning enabled
 
## Description{% #description %}

Object versioning should be enabled for Oracle Cloud Infrastructure (OCI) Object Storage buckets. Object versioning is enabled at the bucket level and is disabled by default upon creation. Versioning directs Object Storage to automatically create an object version each time a new object is uploaded, an existing object is overwritten, or when an object is deleted.

This rule checks the `versioning` configuration of OCI buckets and fails when buckets do not have versioning enabled. Versioning provides additional integrity of your data by maintaining multiple versions of objects, which helps with data lifecycle protection and management.

## Remediation{% #remediation %}

To enable versioning for your OCI Object Storage bucket, configure the versioning setting to `Enabled` during bucket creation or update an existing bucket. For guidance on configuring Object Storage bucket versioning, refer to the [Object Storage Versioning](https://docs.oracle.com/iaas/Content/Object/Tasks/usingversioning.htm) section of the Oracle Cloud Infrastructure Documentation.
