Updated on 2025-08-25 GMT+08:00

Storage Class Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

obs-bucket-storageClass-check

Identifier

obs-bucket-storageClass-check

Description

If the storage class of an OBS bucket does not match with any of the specified storage classes, this bucket is noncompliant.

Tag

obs

Trigger Type

Configuration change

Filter Type

obs.buckets

Configure Rule Parameters

specifiedStorageClass: bucket storage classes. The value must be an enum, such as ["STANDARD","WARM","COLD","DEEP_ARCHIVE"].

Applicable Scenario

As the Internet develops, there is a need for more storage classes to meet the requirements of different storage scenarios and cost management. For details, see Storage Classes.

Solution

You can modify storage classes for noncompliant OBS buckets based on Configuring a Storage Class

Rule Logic

  • If the storage class of an OBS bucket matches with one of the specified storage classes, the bucket is compliant.
  • If the storage class of an OBS bucket does not match with any of the specified storage classes, this bucket is noncompliant.