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_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.acm_certificate_transparency_logging_enabled --shareSQL
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_idfrom  aws_acm_certificate;