turbot/gcp_compliance

Query: cloudfunction_function_vpc_connector_enabled

Usage

powerpipe query gcp_compliance.query.cloudfunction_function_vpc_connector_enabled

SQL

select
self_link resource,
case
when vpc_connector is null or vpc_connector = '' then 'alarm'
else 'ok'
end as status,
case
when vpc_connector is null or vpc_connector = '' then name || ' VPC connector disabled.'
else name || ' VPC connector enabled.'
end as reason
, location as location, project as project
from
gcp_cloudfunctions_function;

Controls

The query is being used by the following controls: