More Info:

Tracing should be enabled for your AWS Lambda functions in order to gain visibility into the functions execution and performance.

Risk Level

Low

Address

Operational Maturity, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Lambda Functions Should Have Tracing Enabled” for AWS using the AWS console, follow the below steps:

  1. Open the AWS Lambda console.
  2. Select the Lambda function for which you want to enable tracing.
  3. Click on the “Configuration” tab.
  4. Scroll down to the “Debugging and error handling” section.
  5. Under “Debugging and error handling”, click on the “Edit” button.
  6. In the “Edit function” page, scroll down to the “Tracing” section.
  7. Under “Tracing”, select the “Active” option.
  8. In the “Tracing mode” drop-down, select the “AWS X-Ray” option.
  9. Click on the “Save” button at the top of the page to save the changes.

Once the above steps are completed, tracing will be enabled for the selected Lambda function in AWS.

Additional Reading: