Evaluates whether Function Compute functions that can access the Internet have a custom domain attached.
Scenarios
A fixed domain name ensures uninterrupted user access after an application is migrated or its IP address changes.
Risk level
Default risk level: medium.
You can change the risk level based on your business requirements when you apply this rule.
Compliance evaluation logic
- If a Function Compute function can access the Internet and has a custom domain attached, the evaluation result is Compliant.
- If a Function Compute function can access the Internet but does not have a custom domain attached, the evaluation result is Compliant. For more information about how to remediate a non-compliant configuration, see the "Incompliance remediation" section of this topic.
Rule details
| Item | Description |
| Rule name | fc-function-internet-and-custom-domain-enable |
| Rule identifier | fc-function-internet-and-custom-domain-enable |
| Tag | FC and Log |
| Automatic remediation | Not supported |
| Trigger type | Periodic execution |
| Evaluation frequency | Interval of 24 hours |
| Supported resource type | Function Compute functions |
| Input parameter | None |
Incompliance remediation
Attach custom domains to Function Compute functions that can access the Internet. For more information, see Configure a custom domain name.
该文章对您有帮助吗?