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

ItemDescription
Rule namefc-function-custom-domain-and-cert-enable
Rule identifierfc-function-custom-domain-and-cert-enable
TagFC and Log
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyEvery 24 hours
Supported resource typeFunction Compute functions
Input parameterNone

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.