Checks whether the Bucket ACL parameter of each Object Storage Service (OSS) bucket is set to Private or the bucket policy of each OSS bucket allows access only from specified IP addresses. If so, the evaluation result is Compliant.
This rule applies when you need to configure a bucket policy for an OSS bucket based on the principle of least privilege (PoLP). This helps reduce security risks that may be caused by excessive permissions.
Default risk level: low.
When you apply this rule, you can change the risk level based on your business requirements.
Compliance evaluation logic
- If the Bucket ACL parameter of each OSS bucket is set to Private or the bucket policy of each OSS bucket allows access only from specified IP addresses, the evaluation result is Compliant.
- If the Bucket ACL parameter of an OSS bucket is set to Public Read/Write, the evaluation result is Incompliant. If the bucket policy of each OSS bucket allows access from all IP addresses, the evaluation result is also Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.
|OSS, Bucket, and BucketPolicy
|Supported resource type
Configure a bucket policy that allows only access from specified IP addresses to an OSS bucket. For more information, see Tutorial: Share data across departments based on bucket policies.