turbot/gcp_compliance

Query: project_service_container_scanning_api_enabled

Usage

powerpipe query gcp_compliance.query.project_service_container_scanning_api_enabled

Steampipe Tables

SQL

select
name as resource,
case
when state = 'ENABLED' then 'ok'
else 'alarm'
end as status,
case
when state = 'ENABLED'
then name || ' container scanning API is enabled.'
else name || ' container scanning API is disabled.'
end as reason
, location as location, project as project
from
gcp_project_service
where
name = 'containerscanning.googleapis.com';

Controls

The query is being used by the following controls: