Skip to main content

OSS Bucket Versioning Enabled

ID: rule:aliyun:oss-bucket-versioning-enabled
Severity: medium

Description

OSS bucket should have versioning enabled to protect against accidental deletion or overwriting.

Reason for Violation

Versioning is not enabled for the OSS bucket, which increases the risk of data loss.

Recommendation

Enable versioning for the OSS bucket by setting VersioningConfiguration.Status to Enabled.

Resource Types

  • ALIYUN::OSS::Bucket