Ensure that active tracing is enabled for your Amazon Lambda functions in order to gain visibility into the execution and performance of the functions. With the tracing feature enabled, Amazon activates Lambda support for AWS X-Ray, a service that collects data about requests that your functions perform, which provides tools that you can use to view, filter, and gain insights into the collected data in order to identify issues and opportunities for optimization.
This rule can help you with the following compliance standards:
- NIST4
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
excellence
AWS X-Ray can provide tracing and monitoring capabilities for your Lambda functions. With active tracing mode enabled, you can save time and effort debugging and operating your functions as the X-Ray service support allows you to rapidly diagnose errors, identify bottlenecks, slowdowns and timeouts, by breaking down the latency for your Lambda functions.
Audit
To determine if active tracing is enabled for your Amazon Lambda functions, perform the following operations:
Remediation / Resolution
To enable active tracing for your existing Amazon Lambda functions and make use of the AWS X-Ray support, perform the following operations:
References
- AWS Documentation
- AWS Lambda FAQs
- What Is AWS X-Ray?
- Using AWS Lambda with AWS X-Ray
- AWS Command Line Interface (CLI) Documentation
- lambda
- list-functions
- get-function
- update-function-configuration
- iam
- attach-role-policy
- AWS Blog(s)
- AWS X-Ray Update – General Availability, Including Lambda Integration
- AWS Lambda Support for AWS X-Ray
- CloudFormation Documentation
- AWS Lambda resource type reference
- Terraform Documentation
- AWS Provider
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Tracing Enabled
Risk Level: Medium