turbot/aws_compliance

Query: lambda_function_tracing_enabled

Usage

powerpipe query aws_compliance.query.lambda_function_tracing_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when tracing_config ->> 'Mode' = 'PassThrough' then 'alarm'
else 'ok'
end as status,
case
when tracing_config ->> 'Mode' = 'PassThrough' then title || ' has tracing disabled.'
else title || ' has tracing enabled.'
end as reason,
region,
account_id
from
aws_lambda_function;

Controls

The query is being used by the following controls: