turbot/gcp_compliance

Query: project_service_cloudasset_api_enabled

Usage

powerpipe query gcp_compliance.query.project_service_cloudasset_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 || ' Cloud Asset API is enabled.'
else name || ' Cloud Asset API is disabled.'
end as reason
, location as location, project as project
from
gcp_project_service
where
name = 'cloudasset.googleapis.com';

Controls

The query is being used by the following controls: