turbot/gcp_compliance

Query: compute_instance_template_ip_forwarding_disabled

Usage

powerpipe query gcp_compliance.query.compute_instance_template_ip_forwarding_disabled

SQL

select
self_link resource,
case
when instance_can_ip_forward then 'alarm'
else 'ok'
end as status,
case
when instance_can_ip_forward then title || ' IP forwarding enabled.'
else title || ' IP forwarding disabled.'
end as reason,
location as location,
project as project
from
gcp_compute_instance_template;

Controls

The query is being used by the following controls: