turbot/aws_compliance

Query: codebuild_project_s3_logs_encryption_enabled

Usage

powerpipe query aws_compliance.query.codebuild_project_s3_logs_encryption_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when not (logs_config -> 'S3Logs' ->> 'EncryptionDisabled')::bool then 'ok'
else 'alarm'
end as status,
case
when not (logs_config -> 'S3Logs' ->> 'EncryptionDisabled')::bool then title || ' S3Logs encryption enabled.'
else title || ' S3Logs encryption disabled.'
end as reason
, region, account_id
from
aws_codebuild_project;

Controls

The query is being used by the following controls: