If you can access the custom domain name that is bound to a function in Function Compute over the Internet, and a certificate is uploaded for the function, the evaluation result is Compliant.
Scenarios
To enhance data security, you can enable HTTPS for functions in Function Compute, and upload an SSL certificate to encrypt the transmitted website data.
Risk level
Default risk level: medium.
When you apply this rule, you can change the risk level based on your business requirements.
Compliance evaluation logic
- If you can access the custom domain name that is bound to a function in Function Compute over the Internet, and a certificate is uploaded for the function, the evaluation result is Compliant.
- If the function in Function Compute is not bound to a custom domain name, the evaluation result is Non-compliant. If you can access the custom domain name that is bound to the function in Function Compute over the Internet, but no certificate is uploaded for the function, the evaluation result is Non-compliant. For more information about how to remediate a non-compliant configuration, see Non-compliance remediation.
Rule details
Item | Description |
---|---|
Rule name | fc-function-custom-domain-and-cert-enable |
Rule identifier | fc-function-custom-domain-and-cert-enable |
Tag | FC and Log |
Automatic remediation | Not supported |
Trigger type | Periodic execution |
Evaluation frequency | Every 24 hours |
Supported resource type | Function Compute functions |
Input parameter | None |
Non-compliance remediation
Make sure that you can access the custom domain name that is bound to a function in Function Compute over the Internet, and that you upload a certificate for the function. For more information, see Configure a custom domain name.