turbot/steampipe-mod-aws-compliance

Control: ACM certificates should have transparency logging enabled

Description

Ensure ACM certificates transparency logging is enabled as certificate transparency logging guards against SSL/TLS certificates issued by mistake or by a compromised certificate authority.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.acm_certificate_transparency_logging_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.acm_certificate_transparency_logging_enabled --share

SQL

This control uses a named query:

select
certificate_arn as resource,
case
when type = 'IMPORTED' then 'skip'
when certificate_transparency_logging_preference = 'ENABLED' then 'ok'
else 'alarm'
end as status,
case
when type = 'IMPORTED' then title || ' is imported.'
when certificate_transparency_logging_preference = 'ENABLED' then title || ' transparency logging enabled.'
else title || ' transparency logging disabled.'
end as reason
, region, account_id
from
aws_acm_certificate;

Tags