Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: MEDIUM
Categories:
Resource type:
objectstorage_bucket_versioning_enabledProvider: Oracle Cloud (OCI)
Service:
objectstorageSeverity: MEDIUM
Categories:
resilienceResource type:
BucketWhat this check verifies
OCI Object Storage buckets are assessed for versioning being set toEnabled, indicating prior object versions are retained when updates or deletions occur.
Risk
No versioning lets overwrites or deletions permanently remove data, harming availability and integrity. Malicious or accidental actions, automated jobs, or malware can wipe or corrupt objects without rollback, enabling ransomware-style encryption and large-scale data loss.Recommendation
Enable bucket versioning (Enabled) for data that needs recovery. Apply least privilege to delete and overwrite actions, use retention rules or legal holds for critical data, and add lifecycle policies to manage older versions-providing defense in depth against destructive changes.
Remediation
- CLI
- Terraform
- Dashboard steps
oci os bucket update —namespace-name <NAMESPACE> —bucket-name <BUCKET_NAME> —versioning Enabled
References
- https://docs.oracle.com/en-us/iaas/Content/Object/home.htm
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/oci/OCI-ObjectStorage/enable-versioning.html
Where this check fires
This check runs on every scheduled scan against your Oracle Cloud (OCI) account. Findings appear at Cloud Security → Findings filterable byCheck ID = objectstorage_bucket_versioning_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Oracle Cloud (OCI) checks