Benchmark: Cloud Functions IAM Policy Shared Access
This benchmark answers the following questions:
- Are any Cloud Functions sharing IAM access with untrusted users, groups, domains, or service accounts?
 
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-perimeterStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Cloud Functions IAM Policy Shared Access.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_cloud_functionsSnapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_cloud_functions --share