turbot/steampipe-mod-aws-compliance

Control: Ensure that ACM certificates are not in failed state

Description

This control ensures that ACM certificates are not in failed state.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.acm_certificate_no_failed_certificate

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
certificate_arn as resource,
case
when status in ('VALIDATION_TIMED_OUT', 'FAILED') then 'alarm'
else 'ok'
end as status,
title || ' status is ' || status || '.' as reason
, region, account_id
from
aws_acm_certificate;

Tags