turbot/aws_insights

Query: codebuild_project_privileged_mode

Usage

powerpipe query aws_insights.query.codebuild_project_privileged_mode

Steampipe Tables

SQL

select
'Privileged Mode' as label,
case when environment ->> 'PrivilegedMode' = 'true' then 'Enabled' else 'Disabled' end as value,
case when environment ->> 'PrivilegedMode' = 'true' then 'alert' else 'ok' end as type
from
aws_codebuild_project
where
account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
and arn = $1;

Dashboards

The query is used in the dashboards: