turbot/aws_compliance

Query: secretsmanager_secret_automatic_rotation_enabled

Usage

powerpipe query aws_compliance.query.secretsmanager_secret_automatic_rotation_enabled

SQL

select
arn as resource,
case
when rotation_rules is null then 'alarm'
else 'ok'
end as status,
case
when rotation_rules is null then title || ' automatic rotation not enabled.'
else title || ' automatic rotation enabled.'
end as reason
, region, account_id
from
aws_secretsmanager_secret;

Controls

The query is being used by the following controls: