turbot/aws_compliance

Query: codebuild_project_logging_enabled

Usage

powerpipe query aws_compliance.query.codebuild_project_logging_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when logs_config -> 'CloudWatchLogs' ->> 'Status' = 'ENABLED' or logs_config -> 'S3Logs' ->> 'Status' = 'ENABLED' then 'ok'
else 'alarm'
end as status,
case
when logs_config -> 'CloudWatchLogs' ->> 'Status' = 'ENABLED' or logs_config -> 'S3Logs' ->> 'Status' = 'ENABLED' then title || ' logging enabled.'
else title || ' logging disabled.'
end as reason
, region, account_id
from
aws_codebuild_project;

Controls

The query is being used by the following controls: