Checks whether CDN domain names that use OSS origins have the Origin Info set to OSS Domain with a valid OSS domain name format.
Use cases
When you use an OSS origin domain name, set the Origin Info to OSS Domain so that Alibaba Cloud OSS classifies back-to-origin traffic from CDN as Origin Traffic, which is billed at a lower rate.
An OSS domain name must end with aliyuncs.com or aliyun-inc.com.
Risk level
Default risk level: High.
You can customize the risk level of this rule.
Compliance evaluation logic
-
A CDN domain name is Compliant if its Origin Info is set to OSS Domain and the origin domain name uses a valid OSS domain name format.
-
A CDN domain name is Incompliant if its Origin Info is set to OSS Domain but the origin domain name does not use a valid OSS domain name format. For remediation steps, see Remediation.
Rule details
|
Parameter |
Description |
|
Rule name |
Align the origin configuration for CDN domain names of the OSS Domain type |
|
Rule identifier |
cdn-domain-oss-source-check |
|
Tag |
CDN, Domain |
|
Automatic remediation |
Not supported |
|
Trigger type |
Periodic |
|
Evaluation frequency |
Every 24 hours |
|
Supported resource type |
CDN domain name |
|
Input parameter |
None |
Remediation
If a CDN domain name has Origin Info set to OSS Domain, specify the origin domain name in a valid OSS format. For detailed instructions, see Add a domain name.