turbot/aws_insights

Query: cloudwatch_groups_for_codebuild_project

Usage

powerpipe query aws_insights.query.cloudwatch_groups_for_codebuild_project

SQL

select
c.arn as cloudwatch_log_group_arn
from
aws_codebuild_project as p
left join aws_cloudwatch_log_group c
on c.name = logs_config -> 'CloudWatchLogs' ->> 'GroupName'
where
c.arn is not null
and p.arn = $1;