AWS Config Rule: Lambda Function X-Ray Tracing Enabled

LAMBDA_TRACING_ENABLED

Eduardo Van Cauteren

Last Update 4 maanden geleden

Description: This rule checks whether X-Ray is enabled or not for a particular Lambda function. The rule will be marked as NON_COMPLIANT if a function is found without tracing enabled.


Trigger type: Configuration changes


AWS Region: All supported AWS regions


How to Resolve Manually 

This rule checks if X-Ray tracing is enabled for a given Lambda function. The rule will be marked as non-compliant if a function is found with tracing disabled.


In order to resolve this, head on over to the AWS Lambda service then go to Functions. Once there, browse for the function you want to remediate and click on its name to open the properties screen.

Click on the Configuration tab and then on Monitoring and operations tools menu and finally click on the Edit button to enable X-Ray active tracing. Check the following screenshot as reference:


How to Resolve with StackZone

You can resolve non-compliant resources with StackZone by enabling the Remediation to this AWS Config Rule.


This remediation will ensure that X-Ray tracing is automatically enabled for the functions out of compliance.


You can enable this by heading over to the Provisioning Module in the StackZone Console. From there, go to Baseline Services > AWS Regional Config Rules > Development and enable Lambda Function X-Ray Tracing Enabled Remediation

Frequently Asked Questions

Q: Why are some of my Lambda Functions not automatically remediated?


A: You may find some functions with status 'Action execution failed'. This is because there should be a Trust Relationship policy of the Lambda Execution Role. Ensure that the following statement is present in the Lambda's Execution Policy.


Want to know more about StackZone and how to make your cloud management simple and secure?

Check our how it works section with easy to follow videos or just create your own StackZone Account here

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us