All Products
Search
Document Center

Cloud Config:oss-bucket-name-regex-match

Last Updated:Jun 16, 2026

Evaluates whether Object Storage Service (OSS) bucket names match a specified regular expression pattern.

Scenarios

Resource names are often used for classification in IT management, such as permission management and internal accounting. This rule helps you quickly identify OSS buckets whose names do not meet your naming requirements.

Risk level

Default risk level: low.

You can change the risk level when you apply this rule.

Compliance evaluation logic

  • If each OSS bucket name matches the specified regular expression, the evaluation result is compliant.
  • If an OSS bucket name does not match the specified regular expression, the evaluation result is non-compliant. To correct the non-compliant configuration, seeNon-compliance remediation.

Rule details

Item Description
Rule name oss-bucket-name-regex-match
Rule ID oss-bucket-name-regex-match
Tag OSS, Bucket, and ResourceName
Automatic remediation Not supported
Trigger type Configuration change
Supported resource type OSS bucket
Input parameter pattern

Non-compliance remediation

To set an OSS bucket name that matches the specified regular expression, seeCreate buckets.