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


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

Is your enviroment 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 ID SNYK-CC-00329
  • credit Snyk 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
}