Ensure OSS Bucket Versioning is enabled

The versioning state of a bucket applies to all objects in the bucket. If you enable versioning for a bucket, you can recover any previous version of an object in the bucket when you accidentally overwrite or delete the object.

Risk Level: medium
Platform: Alicloud
Spectral Rule ID: TFALCLD023

REMEDIATION

set versioning.status to 'Enabled'

versioning {
- enabled = "Suspended"
+ status = "Enabled" 
}

Read more: