X-ray tracing is disabled for Lambda function Affecting Lambda service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
Monitoring/ Logging

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
  • Snyk IDSNYK-CC-00329
  • creditSnyk Research Team

Description

Amazon X-Ray tracing is not enabled for Lambda function.

How to fix?

Set the tracing_config.mode attribute to Active.

Example Configuration

resource "aws_lambda_function" "example" {
  tracing_config {
    mode = "Active"
  }
  # other required fields here
}