turbot/gcp_compliance

Query: cloudfunction_function_no_ingress_settings_allow_all

Usage

powerpipe query gcp_compliance.query.cloudfunction_function_no_ingress_settings_allow_all

SQL

select
self_link resource,
case
when ingress_settings = 'ALLOW_ALL' then 'alarm'
else 'ok'
end as status,
case
when ingress_settings = 'ALLOW_ALL' then name || ' ingress settings is set to allow all.'
else name || ' ingress settings is not set to allow all.'
end as reason
, location as location, project as project
from
gcp_cloudfunctions_function;

Controls

The query is being used by the following controls: