turbot/aws_compliance

Query: codebuild_project_environment_privileged_mode_disabled

Usage

powerpipe query aws_compliance.query.codebuild_project_environment_privileged_mode_disabled

Steampipe Tables

SQL

select
arn as resource,
case
when environment ->> 'PrivilegedMode' = 'true' then 'alarm'
else 'ok'
end as status,
case
when environment ->> 'PrivilegedMode' = 'true' then title || ' environment privileged mode enabled.'
else title || ' environment privileged mode disabled.'
end as reason
, region, account_id
from
aws_codebuild_project;

Controls

The query is being used by the following controls: