fc-service-log-enable

更新时间:
复制 MD 格式

Evaluates whether logging is enabled for Function Compute. If logging is enabled, the evaluation result is Compliant.

Scenarios

Use this rule to verify that logging is enabled for Function Compute, supporting operation monitoring, fault diagnostics, performance tuning, and security auditing.

Risk level

Default risk level: medium.

You can change the risk level based on your business requirements.

Compliance evaluation logic

  • If the logging feature is enabled for Function Compute, the evaluation result is Compliant.

  • If the logging feature is not enabled for Function Compute, the evaluation result is Non-compliant.

Rule details

Item

Description

Rule name

fc-service-log-enable

Rule identifier

fc-service-log-enable

Tag

FC and Log

Automatic remediation

Not supported

Trigger type

Configuration change

Supported resource type

Function Compute

Input parameter

None

Non-compliance remediation

Enable logging for Function Compute and store function invocation logs in Simple Log Service. For more information, see Configure the logging feature.