turbot/steampipe-mod-aws-compliance

Query: codebuild_report_group_export_encryption_at_rest_enabled

Usage

powerpipe query aws_compliance.query.codebuild_report_group_export_encryption_at_rest_enabled

SQL

select
arn as resource,
case
when not (export_config -> 'S3Destination' -> 'EncryptionDisabled')::bool then 'ok'
else 'alarm'
end as status,
case
when not (export_config -> 'S3Destination' -> 'EncryptionDisabled')::bool then title || ' export encryption at rest enabled.'
else title || ' export encryption at rest disabled.'
end as reason
, region, account_id
from
aws_codebuild_report_group;

Controls

The query is being used by the following controls: